
Brian Read - 2007-07-12 09:26:22
I am trying to add a button to my form which abandons the processing and return the user to an earlier form, I am using this:
<form method = "Link" Action = "control_panel.php">
<input name="cancel" type="submit" dir="ltr" lang="en" value="Cancel" xml:lang="en" />
</form>
where "control_panel.php" is an earlier form.
It correctly sidesteps the writing to the database, but still applies the validation rules, which means an "empty" form cannot be abandoned until the formatting rules are conformed.
I presume it is the "local" javascript which is invoked.
cheers
Brian
PS thanks for the "premium" mode - it makes the site much more useuable.