Mailing List Archive

Form Variables
This is a multi-part message in MIME format.

------=_NextPart_000_0064_01C0756F.21DFD230
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm generating a hyperlink using the following code:

<a href=3D"[area href=3Dtournament form=3D"id=3D[item-param =
id]"]">[item-param name]</a>

And attempting to retrieve the id parameter on the target page using the =
following code:

id =3D [value id]<br>

But there is no value. If I retrieve the session id using the following =
code:

id =3D [value mv_session_id]<br>

I am successfully retrieving the session id. If anyone has any =
suggestions as to why I am unable to retrieve my parameters I would =
greatly appreciate your thoughts. I can see the 'id' parameter in the =
URL so I know it is being formed correctly.

Thanks again for any input.

Tom

------=_NextPart_000_0064_01C0756F.21DFD230
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm generating a hyperlink using the =
following=20
code:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &lt;a href=3D"[area=20
href=3Dtournament form=3D"id=3D[item-param id]"]"&gt;[item-param=20
name]&lt;/a&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>And attempting to retrieve the id =
parameter on the=20
target page using the following code:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; id&nbsp;=3D [value=20
id]&lt;br&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>But there is no value.&nbsp; If I =
retrieve the=20
session id using the following code:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;id =3D [value=20
mv_session_id]&lt;br&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am successfully retrieving the =
session id.&nbsp;=20
If anyone has any suggestions as to why I am unable to retrieve my =
parameters I=20
would greatly appreciate your thoughts.&nbsp; I can see the 'id' =
parameter in=20
the URL so I know it is being formed correctly.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks again for any =
input.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Tom</FONT></DIV></BODY></HTML>

------=_NextPart_000_0064_01C0756F.21DFD230--
Form Variables [ In reply to ]
"Thomas McAlees" <tmcalees@discgolfcentral.com> writes:

> I'm generating a hyperlink using the following code:
>
> <a href="[area href=tournament form="id=[item-param id]"]">[item-param name]</a>
>
> And attempting to retrieve the id parameter on the target page using the following code:
>
> id = [value id]<br>
>
> But there is no value. If I retrieve the session id using the following code:
>
> id = [value mv_session_id]<br>
>
> I am successfully retrieving the session id. If anyone has any
suggestions as to why I am unable to retrieve my parameters I would greatly
appreciate your thoughts. I can see the 'id' parameter in the URL so I know
it is being formed correctly.

Use at least 3 characters length for form element names/database fields.
Otherwise the IC abbrevs for form elements
mv_session_id=id
will hit you.

Cioa
Racke

--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
Form Variables [ In reply to ]
Racke, thanks for the response. But I tried changing the form variable from
'id' to 'tourid' and I'm still unable to access the value on the target
page. Any other suggestions? Is there another way to pass parameters to a
target page?

Thanks,

Tom

----- Original Message -----
From: "Stefan Hornburg" <racke@linuxia.de>
To: <interchange-users@lists.akopia.com>
Sent: Wednesday, January 03, 2001 10:53 AM
Subject: Re: [ic] Form Variables


"Thomas McAlees" <tmcalees@discgolfcentral.com> writes:

> I'm generating a hyperlink using the following code:
>
> <a href="[area href=tournament form="id=[item-param id]"]">[item-param
name]</a>
>
> And attempting to retrieve the id parameter on the target page using the
following code:
>
> id = [value id]<br>
>
> But there is no value. If I retrieve the session id using the following
code:
>
> id = [value mv_session_id]<br>
>
> I am successfully retrieving the session id. If anyone has any
suggestions as to why I am unable to retrieve my parameters I would greatly
appreciate your thoughts. I can see the 'id' parameter in the URL so I know
it is being formed correctly.

Use at least 3 characters length for form element names/database fields.
Otherwise the IC abbrevs for form elements
mv_session_id=id
will hit you.

Cioa
Racke

--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---

_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
Form Variables [ In reply to ]
"Thomas McAlees" <tmcalees@discgolfcentral.com> writes:

> Racke, thanks for the response. But I tried changing the form variable from
> 'id' to 'tourid' and I'm still unable to access the value on the target
> page. Any other suggestions? Is there another way to pass parameters to a
> target page?

Hmm, probably you have to use either [cgi tourid] or
[value-extended tourid].

Bye
Racke

--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
Form Variables [ In reply to ]
Quoting Thomas McAlees (tmcalees@discgolfcentral.com):
> Racke, thanks for the response. But I tried changing the form variable from
> 'id' to 'tourid' and I'm still unable to access the value on the target
> page. Any other suggestions? Is there another way to pass parameters to a
> target page?

Use [cgi tourid] unless you have done a "return" action or other
action that updates the user session. [cgi ....] will always
give back the transitory value from the URL on the current page.

--
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Nature, to be commanded, must be obeyed. -- Francis Bacon