Form Validation: How to Use a Page Bookmark? |
[eluser]Glowball[/eluser]
I have a page with a form far at the bottom of the page. When it goes through its validation, I'd like the resulting page to scroll down to the bottom, like so: http://www.mysite.com/page#bottom How do I set this up? I want it to go there no matter what, if the submission passes validation or not. Thanks!
[eluser]Nick Husher[/eluser]
Have you tried the following in your view? Code: <?=form_open('page#bottom') ?>
[eluser]Glowball[/eluser]
That's it! Thanks for the quick help, it works perfectly. |
Welcome Guest, Not a member yet? Register Sign In |