Leakyradiator
Technical User
I am using two forms to collect data. On the first form I collect name, address, etc. information. The action page for the first form inserts the data and uses a cflocation to send to 2nd form. On the second form I want the user to be able to add as many categories as he wants into the database, but each one has to be in a separate record. The second form has two fields, the category, and two radio buttons answering the question "do you want to add another category? yes/no". The "action" of the form page points to itself. If the user clicks no, the action page will insert the data and say the process is complete. If the user clicks Yes, I want the data inserted, the page to present the data entered, and set up the form for the next category. If the user inputs three times, I want all three categories to be presented.
I hope this is clear. I know I've seen somewhere forms that use themselves as their own action pages, but can't find it. The trouble for me is in figuring out how the form determines whether it's being accessed from the first form, or form itself. Any guidance is greatly appreciated.
Thanks.
I hope this is clear. I know I've seen somewhere forms that use themselves as their own action pages, but can't find it. The trouble for me is in figuring out how the form determines whether it's being accessed from the first form, or form itself. Any guidance is greatly appreciated.
Thanks.