I'm assuming that you're having some type of summary list to select from
that takes you to the details page (or something like that)...
I've had the same issue, I have done some weird things to keep this all in a
single form and evaluate the numerous form fields passed to come up with the
one id that actually was selected.  Another way that is a little simpler, is
to create a form for each of the rows in your summary list... you would just
have the complete form information with the hidden form field assigned the
userid in each form.

that would make for a lot of forms potentially (I've limited my display to
10 records with a next/previous setup) - a heavier document, but it works.

just an idea...
later - je

-----Original Message-----
From: Milks, Jim [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 11, 2000 9:50 AM
To: '[EMAIL PROTECTED]'
Subject: More elegant way of passing URL variables?


Hi,
I am dynamically generating a list of customers, on which a user can click
to go to a detailed page. To do this, I am putting the customerID into a URL
variable in the A HREF path. But the client doesn't want to see the value in
the address bar, as they consider it a security risk.

What would be a better solution? A hidden FORM field for each item, and have
the HREF call Javascript which posts the form? The problem with that us I
will get all of the form fields in the detail page, unless the JS passes a
value to indicate the field I want, but hen I essentially have the same
problem....

Any input appreciated.

James
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to