Versions Compared

Key

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

We have a form with 2 fields to hold the "branch" and a status with checkbox (field name: yesno)

ConfiForms Form Definition
formNamef

 

branchBranchfalse[1=Branch 1|2=Branch 2|3=Branch 3|]select

yesnoYes or noyesnoCheck the field when the parameters are OKcheckbox

 

Listing all the records

ConfiForms TableView
formNamef

branch

yesno

 

Listing only the ones with not OK answers

ConfiForms TableView
filteryesno:false
formNamef

branch

yesno

 

Using filter by branch and showing only not ok OK records

ConfiForms Form Filter Control
filterIdforfil
filterConditionyesno:false
formNamef

branch

ConfiForms TableView
filtercreated:<0
filterIdforfil
enableFilterSupporttrue
formNamef

branch

yesno

Storage format

Code Block
<ac:structured-macro ac:macro-id="fcd1c7da-0c29-49b0-8c06-c4f64b4a0205" 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="2f94b633-e2c6-4cde-8b1d-5c45f09b6fc0" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:rich-text-body>
        <p> </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="df8d8b80-b8e0-42d8-8b79-620af04ea254" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">branch</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Branch</ac:parameter>
        <ac:parameter ac:name="values">false[1=Branch 1|2=Branch 2|3=Branch 3|]</ac:parameter>
        <ac:parameter ac:name="type">select</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="76b3b068-23ee-48a9-91a5-c155d7cc58b9" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">yesno</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Yes or no</ac:parameter>
        <ac:parameter ac:name="values">yes</ac:parameter>
        <ac:parameter ac:name="extras">no</ac:parameter>
        <ac:parameter ac:name="fieldDescription">Check the field when the parameters are OK</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Listing all the records</p>
<ac:structured-macro ac:macro-id="c2bad637-ba5b-415f-bbd8-a74abb2c161f" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="c7a5f89f-446a-40a8-bcc3-c88858804f88" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">branch</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="64a31788-b761-4099-b68a-84e3eb4b9f77" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">yesno</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Listing only the ones with<strong> not OK</strong> answers</p>
<ac:structured-macro ac:macro-id="b6ca9bc5-cbb4-4eef-bfcf-accb5a55d432" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="filter">yesno:false</ac:parameter>
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="befe709b-f24c-4035-82c3-11e44af7d67a" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">branch</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="a88836ba-e549-4537-ab8d-6b747038585d" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">yesno</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Using filter by branch and showing only<strong> not OK</strong> records<ac:structured-macro ac:macro-id="4eb71f8b-5773-4e09-8ac0-99b6dc4b60d9" ac:name="confiform-entry-filter" ac:schema-version="1">
    <ac:parameter ac:name="filterId">forfil</ac:parameter>
    <ac:parameter ac:name="filterCondition">yesno:false</ac:parameter>
    <ac:parameter ac:name="formName">f1</ac:parameter>
    <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <ac:rich-text-body>
      <p>
        <ac:structured-macro ac:macro-id="40431217-0445-4d88-9085-ff930c768473" ac:name="confiform-field" ac:schema-version="1">
          <ac:parameter ac:name="fieldName">branch</ac:parameter>
        </ac:structured-macro>
      </p>
    </ac:rich-text-body>
  </ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="be16f2be-3704-40d3-b8d5-0a7d0b7ef0d1" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="filter">created:&lt;0</ac:parameter>
  <ac:parameter ac:name="filterId">forfil</ac:parameter>
  <ac:parameter ac:name="enableFilterSupport">true</ac:parameter>
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="55a609a4-220c-44d0-bdc3-6441fae05e8f" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">branch</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="f244d3cc-5920-4a74-8b27-64e26c6f7820" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">yesno</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>