Forum Moderators: phranque
I've run into a problem... let me describe what I have so far:
A person fills out a field on page1, and hits enter, thus taking the information he filled out into the field on page2, ready to be processed on the next form (clicking page2's submit button will now process the information submitted).
What I want to achieve, is to have page 2's submit button automatically detect that the information was brought from page1, and if so, click the submit button for the person. (not everyone will get to this page by page1, so those who dont, need not have submit clicked).
I'm hoping for a solution in PHP, or javascript... preferably not in asp or cgi.
Thanks a lot guys!
-- Brett
Using PHP have it pass to another function that finishes the form off when the require variables are set to true. Say for instance a page that says thanks for your submission or submission successful.
http://dev.princetonunited.com/mynuke/mpn188_final_7/html/index.php
In the upper right hand corner, you have the option to search the business directory. This is really a function of another page, but I want to make everything as quick and convenient as possible... so I have it up there. Now do you see what I'm talking about?
-- Brett
Have you thought about setting the same script as the form action for both of your forms. You can then handle the info depending on which form it came from.