Description
This example shows how to use the Run macro from Run Self-Service Reports for Confluence to configure the user form in Confluence. With the help of an organized form editor, quickly create the form with the required fields, and add buttons with custom button text to enhance the form usability.
Requirements
Steps
Create a page named Request product demo in a space accessible to the desired audience.
Click Save to save the new page.
Edit the Request product demo page.
Select Insert more content > Other macros from the top menu.
In the search box type 'Run' and select Run with a user form and parameters from the macro suggestions.
Click Save settings.
To edit the macro, select the RUN macro on the page and click Edit.
Under Field Settings, add fields to build the form. To add fields, click Add field.
...
Macro browser input
Select this macro
Macro name | Run with a user form and parameters |
Macro syntax | {Run with a user form and parameters} |
Configure macro
Consider a Confluence page which includes the macro Run with a user form and parameters. To configure the macro, follow the macro parameter configuration and the steps below.
Macro parameter | Value |
---|---|
Field settings > Form rows | Add fields to build the form |
Display Settings > Buttons > Show run button | Enabled |
Display Settings > Buttons > Show a reset button | Enabled |
Display Settings > Buttons > Show a clear button | Enabled |
Edit the macro, and under Field Settings, add the required field types and provide the field details to build the form. To add fields, click Add field.
Info |
---|
To know more about adding fields, field settings and display settings, refer Run macro parameters. |
2. Under Display settings > Buttons, enable the buttons and provide the button text for Reset and Clear.
...
3. The form configured is as shown below:
...
4. The form actions, Submit, Reset and Clear, are as illustrated below.
Form actions | Description | Illustration |
---|---|---|
Submit | The Submit button allows you to submit the field values. The Run macro will render the newly entered values and replace the old values with the new ones. The Run output displays the values rendered. | |
Reset | The Reset button allows the user to reset all the field values.
| |
Clear | The Clear button allows the user to clear the input provided for all the form fields.
|
Info |
---|
To know more about Submit, Reset, and Clear parameters, refer to Run macro parameters. |