Page tree
Skip to end of metadata
Go to start of metadata

Playground and DEMO space

This is a playground and demo space for ConfiForms and ConfiDoc addons developed and supported by Vertuna LLC

Most pages provide a storage format for the demo, so you can use the free add-on from Atlassian Confluence Source Editor to import this configuration into your Confluence and see it in action


This is a simple demo to demonstrate how the Field Definition rule works when a "user picker" field get's the value (showing a checkbox field which is initially hidden)

As it uses the "user picker" - this demo will not work for anonymous users accessing this site (security issue to prevent the user's lookups from unattended users)

You can copy the solution to your Confluence to see this working.

Type username

 

Storage format

<ac:structured-macro ac:macro-id="0032bb88-9473-42f5-8d7a-00298516959e" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="enableAudit">true</ac:parameter>
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="66fad626-12e2-40b7-89a5-05309ed18d28" ac:name="confiform-entry-register" ac:schema-version="1">
        <ac:parameter ac:name="embedded">true</ac:parameter>
        <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
        <ac:rich-text-body>
          <p> </p>
        </ac:rich-text-body>
      </ac:structured-macro>
      <ac:structured-macro ac:macro-id="d0220c4c-9fd9-4e3a-8c2d-817254a01597" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">driverDevComplete</ac:parameter>
        <ac:parameter ac:name="fieldLabel">driverDevComplete</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="ffb9e7f8-de15-44da-9adf-86645def3402" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">driverDeveloper</ac:parameter>
        <ac:parameter ac:name="fieldLabel">driverDeveloper</ac:parameter>
        <ac:parameter ac:name="type">user</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="25cd6e28-9082-4c06-b933-c7f0a565307a" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">driverDeveloper:[empty]</ac:parameter>
        <ac:parameter ac:name="fieldName">driverDevComplete </ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">driverDeveloper</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="2b97b2a3-d80d-4087-9d41-44ebae144092" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">!driverDeveloper:[empty]</ac:parameter>
        <ac:parameter ac:name="fieldName">driverDevComplete </ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">driverDeveloper</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

  • No labels