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
[closed] Go to top of page after submit
Started 16 years ago by matthewbowdengmailcom | 2 posts |
-
How do I automatically go to the top of my page after submitting my form. I have a long form and it just looks like the form has disappeared once I have submitted it. I need some sort of targeted link back to top of page ...
Great app by the way - love every aspect of it.
Posted 16 years ago # -
Hi Matthew,
This is some sort of a bug indeed. Which will be fixed for the next version.
Here's how to fix it:1) Open this file: includes/view-functions.php
2) Search around line 1656, you should find this code:
<form id="form_{$form->id}" class="appnitro" {$form_enc_type} method="post" action="{$_SERVER['PHP_SELF']}">
3) Replace that line with this code:
<form id="form_{$form->id}" class="appnitro" {$form_enc_type} method="post" action="#main_body">
4) Upload the new file
That should fix the problem.
ThanksMachForm Founder
Posted 16 years ago #
Topic Closed
This topic has been closed to new replies.