[SOLVED] Button sets amper var - what am I missing?
Trying to do this in the GUI without hand coding HTML.
Working with an HTML Doc as a parameter screen in the top panel of a portal page (Buttons and Date Range as shown below). The bottom panel of the page is a simple chart (not shown).
The idea; 1.Set the dates 2.Select a button and refresh the portal page, the button sets a variable indicating which option was clicked on, costs or counts.
Mechanics; 1. Edit boxes for the date range. These are working fine, passing the variables in the refresh. 2. Buttons, each having a button_onclick event. The onclick javascript sets a variable using a hidden input tied to a variable (as shown below) to set a variable. On the refresh, the chart picks up that variable. 3. Chart has a DECODE and sets the aggregation FIELD.