In my project I have different pages. All pages have a textbox in a search form. When I enter text in the search form textbox and as long as I stay on the same page, the contents of the text box stays available. When I go to a different page, the text box is empty again. This is of course very logic, but I don't want his. I would like that the text box of the other page also contains the same text I entered in the text box on the first page.
I have read http://webpy.org/form and I have tried to use 'value=' etc. I understand the concept, but I can't use my 'search terms' of the first page as a 'value' for the textbox on the other page (AttributeError!). My search form details: my_notnull = form.Validator("verplicht veld!", bool) myform = form.Form( form.Textbox("adres", my_notnull), ) <form action="/" name="main" method="post"> $if not form.valid: <p class="error">Probeer opnieuw:</p> <table border=0px> <td align="left" valign="top">$:form.render()</td> <td align="left" valign="top"> <input type="submit" value="Zoeken" /> </td> </table> </form> Hopefully I explained my 'problem' well enough Mark -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
