The Adaptavist Group LogoDocumentation

Input Fields

The input field provides access to velocity to capture logged-in users' information and adds this as the value for the field.

  1. Create your Form using the Forms for Confluence macro.
  2. Add the Forms - Input Field macro to the form.
  3. Set a Name for the field.
    1. Optional: Set a Label for the field; this will appear next to the field.
    2. Optional: Set a Description for the field
    3. Optional: Set a Default Value for the field - This includes velocity values with access to some velocity value fields
    4. Optional: Set the Validation
    5. Optional: Set the Required Parameter - Ensure that users must supply a value for this field
    6. Optional: Set Field Width - Defines the horizontal width occupied by the field in the form
    7. Optional: Set Label Width - Defines the horizontal width occupied by the label associated with the field
    8. Optional: Set CSS Class
    9. Optional: Set CSS Style
  4. Save the macro to see a placeholder image of the field on the saved page.
  5. Save the page to see the final field on your form.

Using Velocity Values with the Input Field

The input field provides access to velocity to capture logged-in users' information and adds this as the value for the field. You can directly call the following values, by simply entering them into the field:

  • $user.name
  • $user.fullName
  • $user.email

Search documentation

Start typing to search the docs.