append "&eventid=str(variable_name)"  to the url in the link
The hidden field is not sent unless the form is submitted.
If you use the link - you send the data appended to the url

"Hansan" <none> wrote in message
news:[EMAIL PROTECTED]
> Hi.
>
> Sorry forgot to post a "non-working" example
>
> That could be
> print "<a href=script.py?id=", variable,  "'>", "some text"  <input
> type=hidden name="eventid" value='''+str(variable_name)+'''>'''</a>"
>
> I know that it isnt very creative, but I am having a hard time getting
html
> to work together with python.
>
> When the link "some text" is clicked I want to send both the first
variable
> called variable and the second one(variable_name) to the script
(script.py)


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to