xsl-list
[Top] [All Lists]

RE: submit button and passing values

2002-11-21 03:25:55
Use <form method="post"> ... etc

Gertjan Assies
webdeveloper


-----Original Message-----
From: Mandeep S Dhadda 
[mailto:m(_dot_)s(_dot_)dhadda(_at_)derby(_dot_)ac(_dot_)uk] 
Sent: Thursday, November 21, 2002 11:17 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] submit button and passing values

Hello,

I need help with the following:

I have submit button which should go to the URL, which the corresponds
to
the :
<xsl:value-of select="UrlTag"/>

Some code:

<form><xsl:attribute name="action"><xsl:value-of
select="UrlTag"/></xsl:attribute>
        <input type="hidden" name="name"><xsl:attribute
name="value"><xsl:value-of
select="nameTag"/></xsl:attribute></input>
        <input type="submit" value="Go To Link"></input>
</form>

Also I am passing a hidden value to the URL, when the button is pressed,
which the person should not able see in the URL such as the POST method.

Any Suggestions guys...



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>