At 4:18 PM -0600 1/17/01, Vani Kolli wrote:
>Hi all,
>
>Can anyone help me in doing the following.
>
>i have a page which has a form with 20 fields.
>When a user submits this form i want check one of the field against the
>database and then give an message.
>Based on user's response if it's yes then i should insert all the form
>values into database otherwise
>he should be directed to the same page for corrections.
>
>Right now i am doing is, after submitting the form i check against the
>database and then give a confirm (javascript function)
>box and based on the answer i go to the end page where i insert data or send
>back to the original page.
>
>Now i want to know is..
>Can i use the form field values directly in the end page without passing
>thru the between page as hidden fields. If yes how??
Use session variables to maintain state between pages.
>And secondly whatever value i get from the javascript, can i use this value
>in cf. If yes how??
You can set the value of a form field with JavaScript before
submitting the form
>
>any help on this would be appreciated.
>
>Vani
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists