Results 1 to 5 of 5
Mar 22, 2007, 02:10 #1
- Join Date
- May 2006
- 0 Post(s)
- 0 Thread(s)
JS suitable for display/hiding of form sections ?
I've written a very long market research survey which is divided into 6 sections. I began by using PHP to manage the display of each section but it soon became very complex trying to pass the session variables of each page to the next page before submitting the form. Now I'm thinking of a different approach but my JS is rubbish
What I need to achieve:
- when the page loads, only "Section 1" should be visible
- links at the bottom of the section allow the user to go back to the previous section or on to the next section
- the page should never refresh
What I've got so far:
Here's a basic script which allows me to hide/show a section when the user clicks links. Great, this is just what I need as there's no page refresh. Am I going in the right direction to find a solution to this ? Should I (and is it possible ??) now amend the script to achieve the above points ?