Welcome Guest, Not a member yet? Register   Sign In
Form Validation: How to Use a Page Bookmark?
#1

[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!
#2

[eluser]Nick Husher[/eluser]
Have you tried the following in your view?
Code:
<?=form_open('page#bottom') ?>
#3

[eluser]Glowball[/eluser]
That's it! Thanks for the quick help, it works perfectly.




Theme © iAndrew 2016 - Forum software by © MyBB