This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
How do I Clear Fields?
Started 16 years ago by waitz | 3 posts |
-
I would like to add a button for clearing the fields in a form. How can I do that?
Posted 16 years ago # -
Hi,
You should edit "view-functions.php" to do that, goto around line 1760 and you will find this code :
<input id="saveForm" class="button_text" type="submit" name="submit" value="{$button_text}" />
replace with
<input id="resetForm" class="button_text" type="reset" name="reset" value="reset" /> <input id="saveForm" class="button_text" type="submit" name="submit" value="{$button_text}" />
MachForm Support
Posted 16 years ago # -
Great, thanks
Posted 16 years ago #
Reply
You must log in to post.