Hi, Wednesday, October 2, 2002, 12:21:29 PM, you wrote: JB> OK Tom - that script worked beautiful.
JB> there are a few different applications that I need this for, and I'm JB> wondering if you can either help me with the coding, or refer me to a JB> webpage that can get me started in the right direction. JB> I need to collect a value that will be used in a query. (assuming this is JB> pretty easy - just use the value listed in post for this form) JB> I also need an OK / Cancel option that I can use a die with if the cancel, JB> or proceed if they select OK. JB> when I use this java script does this reload the page, and go back to the JB> top, or does it simply set the $_POST value? As it is it will submit the form if a value is entered and they press ok, if it is null or they press cancel it does nothing. If you don't want it to submit just drop the form1.submit() line and it will just set the value of the hidden field. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php