skyrun
Active Member
i have 2 custom buttons (added via custom template) on http://www.skyrun.com/skyforce/test/leads/form/3/
on f2.1, i could see if the form was submitted via one of these buttons by looking at $_REQUEST[buttonname] (or tried $_POST or ['buttonname']) in php validation scripts and if they were set to TRUE, that was the button pressed. but in f3.1, these variables are not set.
i think it's an HTML-standard thing that the variable gets set, so i suspect the form is being submitted via some other technique (js?) which is bypassing the setting of these variables. and if so, how can i tell what button is pressed?
tried with 'save on enter' being yes and no. same issue.
on f2.1, i could see if the form was submitted via one of these buttons by looking at $_REQUEST[buttonname] (or tried $_POST or ['buttonname']) in php validation scripts and if they were set to TRUE, that was the button pressed. but in f3.1, these variables are not set.
i think it's an HTML-standard thing that the variable gets set, so i suspect the form is being submitted via some other technique (js?) which is bypassing the setting of these variables. and if so, how can i tell what button is pressed?
tried with 'save on enter' being yes and no. same issue.