Anthony Trotter
|
Posted: 05/18/2001, 11:52 PM |
|
Anyone know how to...
I am trying to populate a form field with a
querystring variable when my registration form
loads. What I can't figure out is the correct
syntax to use and what Event to use it in
CodeCharge.
When I hand code, I usually:
<input type="text" name="ref_id" value="<%
if NOT (Request.QueryString("refby") = "")
then
Response.Write
Request.QueryString("refby")
else
Response.Write ""
end if %>">
Any help is appreciated.
|
|
|
Anthony Trotter
|
Posted: 05/19/2001, 1:16 AM |
|
I figured it out and much to my surprise, it was
VERY simple. For
those that want to know, here it is:
Click Form Properties -> Click the input tab ->
Click Add Paramater,
complete the fields for your parameter
(querystring) -> Check Transfer
to pass the parameter to the page for posting.
That's all.
"Anthony Trotter" <support@worldnetcity.com> wrote
in messagenews:9e557t$n3$1@mail.tankhill.com...
> Anyone know how to...
>
> I am trying to populate a form field with a
> querystring variable when my registration form
> loads. What I can't figure out is the correct
> syntax to use and what Event to use it in
> CodeCharge.
>
> When I hand code, I usually:
>
> <input type="text" name="ref_id" value="<%
> if NOT (Request.QueryString("refby") = "")
> then
> Response.Write
> Request.QueryString("refby")
> else
> Response.Write ""
> end if %>">
>
> Any help is appreciated.
>
>
>
>
>
>
>
>
>
|
|
|
|