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 (or through the bundled in ConfiForms storage editor) to import this configuration into your Confluence and see it in action

To import examples from the storage format on Confluence Cloud please see this page

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.

Show the fields when "Yes" is selected


 

<ac:structured-macro ac:macro-id="3bc18a1e-cb16-4fad-8c21-dd6befb162e0" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="34e5ffa6-0fd5-4939-afde-7ee10b4fd0fb" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="embedded">true</ac:parameter>
      <ac:rich-text-body>
        <p> </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="160a11fa-6967-4f7a-8bbc-2ed9582430c6" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">iscontest</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Is there a contest?</ac:parameter>
        <ac:parameter ac:name="values">false[yes=Yes|no=No|]</ac:parameter>
        <ac:parameter ac:name="type">select</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="7021e9eb-c993-4123-ad0b-0e7e3b01502b" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">name</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Contest name</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="3fe9ff99-c696-4c2d-aa70-4ce6a61630e0" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">startDate</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Start Date</ac:parameter>
        <ac:parameter ac:name="type">date</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="b61e33c6-e34d-4ef0-877b-c351addc27d6" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">endDate</ac:parameter>
        <ac:parameter ac:name="fieldLabel">End date</ac:parameter>
        <ac:parameter ac:name="type">date</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="ef338a52-a3a3-47e2-af25-c69890e50df3" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">iscontestmultiphase</ac:parameter>
        <ac:parameter ac:name="fieldLabel">.Does the contest have multiple phase?</ac:parameter>
        <ac:parameter ac:name="values">false[yes=Yes|no=No|]</ac:parameter>
        <ac:parameter ac:name="type">select</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="463cfb95-4320-4b45-926a-b53130e016c9" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">howMany</ac:parameter>
        <ac:parameter ac:name="fieldLabel">How many</ac:parameter>
        <ac:parameter ac:name="fieldDescription">2 by default... and this is set by the rule</ac:parameter>
        <ac:parameter ac:name="type">number</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="b1431efc-db6c-4a5f-a55c-fd6d62dcff65" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">iscontest:yes</ac:parameter>
        <ac:parameter ac:name="fieldName">name,startDate,endDate,iscontestmultiphase</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">iscontest</ac:parameter>
        <ac:parameter ac:name="withReverseRule">true</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="deeff1c8-1971-4215-ab84-67c9ecce0006" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">iscontestmultiphase:yes</ac:parameter>
        <ac:parameter ac:name="fieldName">howMany</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">iscontestmultiphase</ac:parameter>
        <ac:parameter ac:name="withReverseRule">true</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="263f8c2e-cd51-4231-a37d-0c61921ad55d" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">iscontestmultiphase:yes</ac:parameter>
        <ac:parameter ac:name="fieldName">howMany</ac:parameter>
        <ac:parameter ac:name="values">howMany=2</ac:parameter>
        <ac:parameter ac:name="action">Set value if empty</ac:parameter>
        <ac:parameter ac:name="actionFieldName">iscontestmultiphase</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p>
  <br/>
  <span> </span>
</p>

  • No labels