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

Please note, all the examples here are provided without any obligation and may or may not be incomplete or may have bugs, and we provide NO SUPPORT for these examples and demos.


<ac:structured-macro ac:macro-id="70b4cfd5-fa9e-4011-8b15-5516a72e5466" ac:name="confiform-entry-register" ac:schema-version="1">
  <ac:parameter ac:name="overrideSaveButtonLabel">Save and Send</ac:parameter>
  <ac:parameter ac:name="formName">survey</ac:parameter>
  <ac:parameter ac:name="embedded">true</ac:parameter>
  <ac:rich-text-body>
    <h2>Please fill in the survey</h2>
    <table>
      <tbody>
        <tr>
          <th>Question 1</th>
          <td>
            <ac:structured-macro ac:macro-id="1ede11c1-79a9-4d3e-b5db-daec3ccd5089" ac:name="confiform-field" ac:schema-version="1">
              <ac:parameter ac:name="fieldName">question1</ac:parameter>
            </ac:structured-macro> </td>
        </tr>
        <tr>
          <th colspan="1">Question 2</th>
          <td colspan="1">
            <ac:structured-macro ac:macro-id="274c7177-977f-4cee-b666-1e7705ed360a" ac:name="confiform-field" ac:schema-version="1">
              <ac:parameter ac:name="fieldName">question2</ac:parameter>
            </ac:structured-macro>
          </td>
        </tr>
        <tr>
          <th colspan="1">Question 3</th>
          <td colspan="1">
            <ac:structured-macro ac:macro-id="1b1dbc95-634e-4f42-afff-ed137661047d" ac:name="info" ac:schema-version="1">
              <ac:rich-text-body>
                <p>You can have completely own layout</p>
              </ac:rich-text-body>
            </ac:structured-macro>
            <p> </p>
            <p>
              <ac:structured-macro ac:macro-id="b59199d5-438c-43c0-a11e-62843b0c01f1" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question31</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="671f8e37-a8e5-4d85-bd85-021c8f1478f9" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question32</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="442790fc-e335-426c-8e75-5f9d3987659b" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question33</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="c0495d30-7e60-4149-a384-f932ce96b08c" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question34</ac:parameter>
              </ac:structured-macro>
            </p>
          </td>
        </tr>
        <tr>
          <th colspan="1">Question 4</th>
          <td colspan="1">
            <p>please type numeric values</p>
            <p>
              <ac:structured-macro ac:macro-id="beccbe66-681f-4cc8-b6be-2964d022f9f5" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question41</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="5a47790a-9bc9-44f7-9815-bc4d08b49ce2" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question42</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="a2f85a9d-ae90-48a6-a92e-9ba5c713efae" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question43</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="fa46f81f-dbd8-4edb-8364-d32b4728ec68" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question44</ac:parameter>
              </ac:structured-macro>
            </p>
          </td>
        </tr>
        <tr>
          <th colspan="1">Question 5</th>
          <td colspan="1">
            <p> <ac:structured-macro ac:macro-id="78c00a46-1155-47ab-9687-1f18e354b803" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question5</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="ae484bbc-f7cd-481c-923b-cf81a136eebe" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question5CheckAll</ac:parameter>
              </ac:structured-macro> select all</p>
          </td>
        </tr>
        <tr>
          <th colspan="1">Question 6</th>
          <td colspan="1">
            <p> <ac:structured-macro ac:macro-id="7f17244c-d73b-4bc8-a5ee-9cbcad1969b0" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question6</ac:parameter>
              </ac:structured-macro> &lt; - as multi-select dropdown (as example)</p>
            <p>
              <ac:structured-macro ac:macro-id="56275ceb-296f-45b0-829c-3dfbfd76dcc6" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question6CheckAll</ac:parameter>
              </ac:structured-macro> click to select everything</p>
          </td>
        </tr>
        <tr>
          <th colspan="1">Question 7</th>
          <td colspan="1">
            <ac:structured-macro ac:macro-id="ccd64382-0c3d-416c-a015-1107475c0ad6" ac:name="confiform-field" ac:schema-version="1">
              <ac:parameter ac:name="fieldName">question7</ac:parameter>
            </ac:structured-macro>
          </td>
        </tr>
        <tr>
          <th colspan="1">Question 8</th>
          <td colspan="1">
            <p>
              <ac:structured-macro ac:macro-id="cdeef11d-841c-4c06-b4b6-ffe7f0b82cf9" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question8</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="e4f2b832-1102-4303-afba-f3c03c61434d" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question9</ac:parameter>
                <ac:parameter ac:name="withLabel">true</ac:parameter>
              </ac:structured-macro>
            </p>
            <p>
              <ac:structured-macro ac:macro-id="80f46530-87bc-426d-b9b9-a744c2d743f2" ac:name="confiform-field" ac:schema-version="1">
                <ac:parameter ac:name="fieldName">question10</ac:parameter>
                <ac:parameter ac:name="withLabel">true</ac:parameter>
              </ac:structured-macro>
            </p>
          </td>
        </tr>
      </tbody>
    </table>
  </ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="1de695be-fe49-49b5-afa2-a61e188cbe74" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">survey</ac:parameter>
  <ac:rich-text-body>
    <p> </p>
    <p>
      <ac:structured-macro ac:macro-id="743d7201-3ba6-4898-8e23-9f3689cf2ea9" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question1</ac:parameter>
        <ac:parameter ac:name="fieldLabel">1st question</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="8b35f660-e61e-47c5-addc-091aede95338" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question2</ac:parameter>
        <ac:parameter ac:name="fieldLabel">2nd question</ac:parameter>
        <ac:parameter ac:name="fieldDescription">Numeric value please</ac:parameter>
        <ac:parameter ac:name="type">number</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="dd23a2d8-79ed-4369-b80e-20db875c339b" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">Only numbers</ac:parameter>
        <ac:parameter ac:name="values">^\d{1}</ac:parameter>
        <ac:parameter ac:name="action">Validation rule</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro>
      <ac:structured-macro ac:macro-id="e12eb76c-7712-43be-ad63-27419de77627" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:&gt;4 OR question2:&lt;0</ac:parameter>
        <ac:parameter ac:name="fieldName">Not more than 4 and more than 0</ac:parameter>
        <ac:parameter ac:name="action">Validation rule</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="a8f95c69-b009-410a-91cf-92fc86f9dd91" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:&gt;4 OR question2:&lt;0 OR question2:[empty]</ac:parameter>
        <ac:parameter ac:name="fieldName">question31,question32,question33,question34</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="eac563d9-5d5b-4cd2-9ec8-2b54aa13f8dc" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:1</ac:parameter>
        <ac:parameter ac:name="fieldName">question31</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="f6700538-63f6-402e-8074-710148ca881e" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:1</ac:parameter>
        <ac:parameter ac:name="fieldName">question32,question33,question34</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p> </p>
    <p>
      <ac:structured-macro ac:macro-id="4329b570-ed94-476d-a6a0-60e7959d986f" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:2</ac:parameter>
        <ac:parameter ac:name="fieldName">question31,question32</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="d85a4656-8f90-4100-86cb-5547334e6fa1" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:2</ac:parameter>
        <ac:parameter ac:name="fieldName">question33,question34</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p> </p>
    <p>
      <ac:structured-macro ac:macro-id="9bb0667d-4ba5-4421-b64a-779e7446f8b5" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:3</ac:parameter>
        <ac:parameter ac:name="fieldName">question31,question32,question33</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="e803f56f-03c3-452c-9750-2a2366d5dccb" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:3</ac:parameter>
        <ac:parameter ac:name="fieldName">question34</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p> </p>
    <p>
      <ac:structured-macro ac:macro-id="a5a23bed-c4ad-45db-bc5b-06c80aaa9f8a" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question2:4</ac:parameter>
        <ac:parameter ac:name="fieldName">question31,question32,question33,question34</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p>
      <ac:structured-macro ac:macro-id="df14862b-1bd9-42d8-85ee-a150d9540b7e" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question31</ac:parameter>
        <ac:parameter ac:name="fieldLabel">3rd question1</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="0265491f-f507-40c4-bf02-e5ebea68acdd" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question32</ac:parameter>
        <ac:parameter ac:name="fieldLabel">3rd question2</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="f7787df9-9826-4a69-94c3-8dd8ee1c98c8" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question33</ac:parameter>
        <ac:parameter ac:name="fieldLabel">3rd question3</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="6cbb106d-d468-4d2e-932c-116b42e355b7" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question34</ac:parameter>
        <ac:parameter ac:name="fieldLabel">3rd question4</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="d12c59d5-4215-45b4-a000-3562b1e98bc7" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question41</ac:parameter>
        <ac:parameter ac:name="fieldLabel">4nd question1</ac:parameter>
        <ac:parameter ac:name="type">number</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="1c1253cd-2e15-44cd-8a26-02f70ab7d349" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question42</ac:parameter>
        <ac:parameter ac:name="fieldLabel">4nd question2</ac:parameter>
        <ac:parameter ac:name="type">number</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="a7244e59-f01f-45e3-8a8f-c7368cb38786" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question43</ac:parameter>
        <ac:parameter ac:name="fieldLabel">4nd question3</ac:parameter>
        <ac:parameter ac:name="type">number</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="7cb17cfd-b650-4992-b7c1-c104922b8e6d" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question44</ac:parameter>
        <ac:parameter ac:name="fieldLabel">4nd question4</ac:parameter>
        <ac:parameter ac:name="type">number</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="9a7bb4a6-87f5-48aa-b4fd-36d1253c04f4" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question5</ac:parameter>
        <ac:parameter ac:name="fieldLabel">5nd question</ac:parameter>
        <ac:parameter ac:name="values">false[1=choice1|2=choice2|3=choice3|4=choice4|5=choice5|]</ac:parameter>
        <ac:parameter ac:name="type">checkbox_group</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="8a94de62-0dc4-4467-bc15-14de4be2f1a0" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question5CheckAll</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Select All</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="3de8f13f-a4f2-4d81-9863-30d3bcf1219a" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question5CheckAll:true</ac:parameter>
        <ac:parameter ac:name="values">question5=1&amp;question5=2&amp;question5=3&amp;question5=4&amp;question5=5</ac:parameter>
        <ac:parameter ac:name="action">Set value</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question5CheckAll</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="a39c00cc-650e-45be-96d7-d46e0d429640" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question6</ac:parameter>
        <ac:parameter ac:name="fieldLabel">6nd question</ac:parameter>
        <ac:parameter ac:name="values">false[1=choice1|2=choice2|3=choice3|4=choice4|5=choice5|6=choice6|]</ac:parameter>
        <ac:parameter ac:name="type">multi</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="dfdb26dd-61f9-4493-927b-f760c0c4a0c2" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question6CheckAll</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Select All</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="1af54c8e-0fbd-4d05-a678-2a188c534a59" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question6CheckAll:true</ac:parameter>
        <ac:parameter ac:name="values">question6=1&amp;question6=2&amp;question6=3&amp;question6=4&amp;question6=5&amp;question6=6</ac:parameter>
        <ac:parameter ac:name="action">Set value</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question6CheckAll</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="a3fe6e97-eb98-4a1e-ae91-521697673eb9" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question7</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Question 7</ac:parameter>
        <ac:parameter ac:name="values">false[yes=Yes|no=No no no|]</ac:parameter>
        <ac:parameter ac:name="type">radio_group</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="5974ad3a-f68f-4ff0-9c73-5ed790e85b4f" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question8</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Question 8</ac:parameter>
        <ac:parameter ac:name="values">false[c1=choice1|ch2=choice2|]</ac:parameter>
        <ac:parameter ac:name="type">select</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="5cf7bc8a-5201-4294-9b91-716d5a9fdec4" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question8:ch2</ac:parameter>
        <ac:parameter ac:name="fieldName">question9</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question8</ac:parameter>
        <ac:parameter ac:name="withReverseRule">true</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="142c33f8-a94e-4506-8260-4eea133a6982" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question9</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Question 9</ac:parameter>
        <ac:parameter ac:name="values">false[yes=Yes|no=Nope|]</ac:parameter>
        <ac:parameter ac:name="type">radio_group</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="31d1907f-50df-40a9-9a6a-6cfe6c3aa86c" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">question9:yes</ac:parameter>
        <ac:parameter ac:name="fieldName">question10</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">question9</ac:parameter>
        <ac:parameter ac:name="withReverseRule">true</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="fc992fbf-ffbf-4d4f-9929-2feaefd880db" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">question10</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Question 10</ac:parameter>
        <ac:parameter ac:name="values">false[yes=Yes|no=No no no|]</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

  • No labels