Div |
---|
|
On this page Table of Contents |
---|
maxLevel | 2 |
---|
exclude | On this page |
---|
type | flat |
---|
separator | | |
---|
|
|
...
- User interaction - a user inputs data into the fields
- Using Pre-defined variables
- Including request parameters
Any text in the macro body that begins with $ immediately followed by a key found in the replace parameter list (see Field types for details) will be replaced by the value. Typically, values will be provided by a user submitting a form from the page based on the replace parameter. When defining field types, default values may be specified.
...
Table plus |
---|
border | 0 |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
columnAttributes | style="border:0;width=5%;",style="border:0;width=65%;",style="border:0;width=30%;max-width=30% !important;" |
---|
id | steps_table |
---|
enableSorting | false |
---|
enableHighlighting | false |
---|
|
| Insert the run macro on a Confluence pageCreate a Confluence page that will eventually contain the form you would like presented to users within your organization. - Create a page named Incredible Form in a space accessible to the desired audience.
- Click Save to save the new page.
| |
| | Edit the Incredible Form page and: - Select Other macros from the top menu.
In the search box type "Run" and select "Run with a user form and parameters" - Click the Run macro from the list of available macros.
| Image Modified
|
| | - Click on "+Add my first field"
- Under form element, let's select the text field type.
- Let's set the value of the unique field key to "text-1pet".
- The field label will be visible to the user, so let's use "Name of your first pet".
- We can leave the field value empty. This is where we could provide a default value or example.
- Next, let's add another example To make things interesting, let's add one more field to our form. Let's capture the users birth year.
- Within the form element, select the date field type.
- Set the value of the field key to "dob".
- Set the field label to "Year of birth".
- Let's define the date format as "YYYY". This will automatically add form validation on the value entered by users to ensure it conforms.
| Image Added |
| Image Added |
|
|
|