J
jimt
I'm passing variables between forms via hidden input fields. I read the
variables via a for each object loop. The code is working on the redirect
page but only because I'm using a select statement to assign the values to
the appropriate field names (e.g if the second variable's name (item) is
"mapno" then the case select 2 reads mapno = request.form(field)). This
method requires that I know the order of the field names and the names of the
field names (which I've done via a debug script) in order to set up the
correct (same) field name for the receiving page.
Not an ideal method. Is there a way to grab the field/item name and use it
on the left side of the variable assignment statement (eg
request.form("item") = request.form(field))
Thanks
Jim T.
variables via a for each object loop. The code is working on the redirect
page but only because I'm using a select statement to assign the values to
the appropriate field names (e.g if the second variable's name (item) is
"mapno" then the case select 2 reads mapno = request.form(field)). This
method requires that I know the order of the field names and the names of the
field names (which I've done via a debug script) in order to set up the
correct (same) field name for the receiving page.
Not an ideal method. Is there a way to grab the field/item name and use it
on the left side of the variable assignment statement (eg
request.form("item") = request.form(field))
Thanks
Jim T.