I have several forms on one page - the top set is a 'chained select' which (with javascript) auto submits when a select box item is clicked - so the user can jump to categories / subcategories (to an abritrary level)

At the bottom of the page is a user input form with a couple of text fields

The problem is that if the user fills in the text fields and then decides to change categories their text entries disappear

Is there any way to get the field values from that bottom form if it is not submitted itself?
More javascript kludgery?

I've tried putting it all into one form but the autosubmit stops working (and if I dump the js and have several (differently named) submit buttons the id variables are getting messed up)
maybe combining the forms is the best way??

its a pita as I'm on final checkthroughs on this project and just noticed the problem!

    ok I think I fixed the problem of combining the forms - the mess up was the js issue of onChange='submit()' getting confused with several submit buttons called 'submit' - renaming them SUBMIT stops the js errror and does submit the form -
    but I would like to know if there is a php centric solution

      Write a Reply...