Question
I am wondering if there are any detailed instructions on how to create new topics from forms just like the one used to create these support questions. This is pretty close to what I want but am not exactly sure how to make it work, where you have one form and it creates title, free text and table. I am studying the form that is on this page, but don't quite get it. I also am wondering if there is a way to put some of the info from the html form into the web form that would be loaded with the topic template?
Environment
--
XochipalaValdez - 26 Mar 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
See
TWikiTemplates for the basic instructions of how to create topics using an html form.
To populate the
TWikiForms fields with input from the html form, simply define an html element with the name attribute set to the name of the field you want to fill in, as in the following examples:
<input type="text" name="LeadPerson" size="30" value="%WIKIUSERNAME%" />
<input type="hidden" name="EntryDate" value="%DATE%" />
Note: If the form field name has a space in it, simply remove these in naming the html form element. For example, the target field for the second example above could be named "EntryDate" or "Entry Date".
--
LynnwoodBrown - 27 Mar 2007