Click to See Complete Forum and Search --> : How do I send a value to a form with a strurl?


doug123
12-17-2006, 01:54 PM
Hi,

I've looked around the web for a way to control a strurl value in a form.
Example: I want to send info in a strurl such as:

http:example.com/form.shtml?field1=1&field2=2

Then on the form, "<field1 value=1>", and "<field2 value=2>",
and if there is no strurl info sent such as http://example.com/form.shtml

field1 value="", field2 value=""

Regards,

Douglas

ray326
12-17-2006, 09:25 PM
Fields and values are one way. I.e., they go from the form to its action. The only way to prefill a form is to create the value= attributes on the fly as the page is created.

doug123
12-17-2006, 09:31 PM
Hi,

Thanks for the reply. I believe that this can be done via SSI/environmental variables, but have not been able to find the correct way of doing it.
Such as a srturl and elseif directive.

Regards,

Douglas