|
META TOPICPARENT |
name="WebHome" |
|
|
- With
WEBFORMS enabled, an extra button is added to the edit view. If the topic doesn't have a Form, an Add Form button appears at the end of the topic. If a Form is present, a Change button appears in the top row of the Form. The buttons open a screen that enables selection of a form specified in WEBFORMS , or the No form option.
|
|
> > | Including Forms in New Topics |
|
- A default Form Template (new topics get this default form) can be provided by creating the
WebTopicEditTemplate topic in a web and adding a form to it. Initial Form values can be set there.
- Additionally a new topic can be given a Form using the
formtemplate parameter in the URL. Initial values can then be provided in the URLs or as form values:
|
|
-
- checkbox:
namevalue=1 , ex: ?ColourRed=1 . Boxes with a tick must be specified.
|
|
< < | Including Forms in New Topics
When you create a new topic in a web that has the WEBFORMS Preferences variable set, an Add Form button appears at the bottom of the page. You can start all new topics with forms enabled, and pre-select a form if there's more than one available:
- Edit the WebTopicEditTemplate topic, adding the name of an available Form.
- Create a new topic to check - the Form should appear with values set.
- Click Change to switch or remove Forms.
A form embedded in a topic also appears in a new topic. This is done by specifying the formtemplate parameter in the URL. |
| Setting Up Multiple Form Options
- The optional
WEBFORMS variable defines alternative forms that can be selected by pressing Change in edit mode.
|