Child pages
  • Configuration snippets

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Various forms configurations

  1. Simple form with 3 fields: text, textarea and user field
    Image Added
    Configuration in the editor
    Image Added
    Storage format for you to import

    Expand
    Code Block
    <ac:structured-macro ac:macro-id="27a53aa2-bc57-43c5-b6df-566cbada8e7a" ac:name="confiform" ac:schema-version="1">
      <ac:parameter ac:name="formName">simpleForm</ac:parameter>
      <ac:rich-text-body>
        <p>
          <ac:structured-macro ac:name="confiform-field-definition" ac:schema-version="1">
            <ac:parameter ac:name="fieldName">mytextfield</ac:parameter>
            <ac:parameter ac:name="fieldLabel">My Text Field</ac:parameter>
            <ac:parameter ac:name="type">text</ac:parameter>
          </ac:structured-macro>
        </p>
        <p>
          <ac:structured-macro ac:name="confiform-field-definition" ac:schema-version="1">
            <ac:parameter ac:name="fieldName">textAreaField</ac:parameter>
            <ac:parameter ac:name="fieldLabel">My textarea field</ac:parameter>
            <ac:parameter ac:name="type">textarea</ac:parameter>
          </ac:structured-macro>
        </p>
        <p>
          <ac:structured-macro ac:name="confiform-field-definition" ac:schema-version="1">
            <ac:parameter ac:name="fieldName">theUser</ac:parameter>
            <ac:parameter ac:name="fieldLabel">User</ac:parameter>
            <ac:parameter ac:name="type">user</ac:parameter>
          </ac:structured-macro>
          <ac:structured-macro ac:name="confiform-entry-register" ac:schema-version="1">
            <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
            <ac:rich-text-body>
              <p> </p>
            </ac:rich-text-body>
          </ac:structured-macro>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>