Forums
This topic is locked
passing form field info via a text link on a form
Posted 05 Jun 2003 17:38:37
1
has voted
05 Jun 2003 17:38:37 Daniel Chacon posted:
I have a form for our loss prevention folks. There is a main form whichneeds to be completed. One this form there is plenty of space for 1 subject
information. I have created additional pages to allow them to add extra
subjects, witnesses or merchandise information. Currently if you need more
space for a witness, you click on a link that takes you to a form with more
space under the witness section. How can i pass the case number(which will
be the unique id between all records) via this link that i have going to the
extra space?? I know how to capture form fields when submitting your form to
the next page in a set, but how can i capture the case number and pass it
via the link IF they click on it??
Ex.
Page 1
Case Number = 1234
Name = John
Store = 3
Police case number = 344565
Click here for additional Witness(takes them to Page 2 below)
Page 2 (inserts record into Witness Table)
Hidden Field Case Number = <%=Request("casenumber"%>
Witness Name = Suzy
Phone Number = 555-555-5555
Address = 1234 Home Lane
once they enter the additional witness information, they can close that page
and continue with the main form. But i need to be able pass the case number
between pages because that is going to be the link between all records in
the tables.
--------------------
This is not helping,,,, i have the first page.. which is a form... IF they
need to add additional info to a section they will click a link... since
they have NOT submitted the first page yet...i cannot request info from the
form fields since it hasnt been pass on(correct)...
Example...
First name:
Last name:
Case Number:
click here to add additional subject info:
Address:
Crime:
Submit Form....
If they need to add more info on this case, they have a link to take them to
extra space, but since they have not submitted the form, how can i capture
the case number and pass it to the next page via a link and not a submit
button....
Replies
Replied 05 Jun 2003 19:15:23
05 Jun 2003 19:15:23 Rammy Nasser replied:
Create a session varaible