Re: Can psp "read" the html field value?
Christoph Zwerschke <[email protected]> Sun, 31 Jan 2010 16:56:49 +0100
| Newsgroups | gmane.comp.python.webware |
|---|---|
| Message-ID | <[email protected]> |
Am 31.01.2010 11:01 schrieb HS WAI:
> I am new to python server pages.
> Can psp "read" the html field value
> ...
> <input type="hidden" id="selected" name="selected" value="0">
> <%
> # Read/Get the above hidden field value
> # Perform some task
> #re-write the hidden field value
> %>
I don't understand exactly what you want, but maybe this?
<% compute hidden_value %>
<input type="hidden" id="selected" name="selected"
value="<%= hidden_value%>">
Or do you want to get the hidden value from a submitted form? You get it
like all other form fields with req.field('name_of_field').
-- Christoph
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com