Forum OpenACS Development: Help on use of ad_form.

Collapse
Posted by Frank Zhang on
How to use the value that the user input in the text field of a form biult by ad_form.

For example,
if i got something like this:

ad_form -name new_form -form {

{name:text(text) {label "Name"} {html { size 20 }} {value {$name}}}

And I want the page display the value of the filled name when user clicked submit button.
Like, I input "Tom" in the text field, and after I click submit button, the page will display

Your name is Tom.

How to do this?
Thanks very much.

Collapse
Posted by Jade Rubick on
Tom, I would recommend the developer tutorial:

https://openacs.org/doc/current/tutorial.html

and look at the learning section of the site.