I have two forms on my page. The top form contains three dropdown list boxes. The reason for this is that the second drop down is dynamically populated after the first has been chosed. Same for the third but based on the second. The bottom form contains three text boxes. What happens is if the user skips the three dropdown boxes and starts filling out the text boxes, then returns to the drop down boxes, anything they have already typed in the text boxes is lost and reset with their initial values. Is there a way that when the top form autosubmits based on the javascript:
that the data can be read from the lower textboxes and be stored, either session varibles, post/get array or anything else? I am asking for a starting point or suggestion hence no real code, however if you like/need I can provide code. Thanks.
PS. I have considered this may be possible in Javascripts but wanted to see if php offered a relativly quick/simple way to do this.
Code:
onchange="this.form.submit()"
that the data can be read from the lower textboxes and be stored, either session varibles, post/get array or anything else? I am asking for a starting point or suggestion hence no real code, however if you like/need I can provide code. Thanks.
PS. I have considered this may be possible in Javascripts but wanted to see if php offered a relativly quick/simple way to do this.