I am not sure how to do this and need a little help.
I have been using some script for a Tabbed Interface I found on the net. The script example and process can be seen at the link below:
I have incorporated that script as a form to where each tab is page of the form. The reason I have used this script is because someone can fill out each page and click the tabs at the top to go to the next page or any page without refreshing the page. This way they can click the tabs at random and go back and forth between pages and everything they entered is still there before they click “submit” to submit the pages to a database. My question is how to pass a variable that is entered into a text field on the first page to the other pages. Such as if someone enters an ID number in the ID field that was created on the first page it needs to be passed to the ID field in the other pages without having to refresh the whole thing. If you check out the script example above you will notice that all the frames load when page is opened or refreshed, they are just on top of each other and brought to the front with their corresponding tab that is clicked.
I have tried a few scripts that normally work for passing variables but I cannot get them to work. If any one could assist me I would appreciate it. I can email a zip file of a 2 page test form I have been testing on to get the variable to pass from the 1st page to the 2nd page. Thanks in advance for the assistance.
I have been using some script for a Tabbed Interface I found on the net. The script example and process can be seen at the link below:
I have incorporated that script as a form to where each tab is page of the form. The reason I have used this script is because someone can fill out each page and click the tabs at the top to go to the next page or any page without refreshing the page. This way they can click the tabs at random and go back and forth between pages and everything they entered is still there before they click “submit” to submit the pages to a database. My question is how to pass a variable that is entered into a text field on the first page to the other pages. Such as if someone enters an ID number in the ID field that was created on the first page it needs to be passed to the ID field in the other pages without having to refresh the whole thing. If you check out the script example above you will notice that all the frames load when page is opened or refreshed, they are just on top of each other and brought to the front with their corresponding tab that is clicked.
I have tried a few scripts that normally work for passing variables but I cannot get them to work. If any one could assist me I would appreciate it. I can email a zip file of a 2 page test form I have been testing on to get the variable to pass from the 1st page to the 2nd page. Thanks in advance for the assistance.