I am passing session variables but I don't want the "Submit" to register as a variable
would you be able to help me with an if statement to fix this?
i would much appreciate that
"Submit" variable
Moderator: General Moderators
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
Change your submit buttom to:
Code: Select all
<input type="button" name="Button" value="Submit" onClick="document.form_name.submit()">If you have no need for the Submit button to pass a variable, remove it's name attribute.
Code: Select all
<input type="submit" value="Submit" onclick="this.disabled=true; this.form.submit();" />