Versions Compared

Key

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

This demo shows how to use a dynamic label field which uses the data from itself to suggest choices

ConfiForms Form Definition
formNamef

sashINLINE

 

risktestTest[8945684|f|risktest|true|false]false[]dynamicselect

 

Choices in a field so far

ConfiForms TableView
formNamef

risktest



Source

Code Block
<ac:structured-macro ac:macro-id="b39b281c-54a6-4a34-80b7-0335d0f2e588" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="c0cef49c-d14a-408c-8c20-121b7f536fd0" ac:name="confiform-entry-register" ac:schema-version="1">
        <ac:parameter ac:name="restrictions">sash</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="8b838d84-4307-411c-a39a-38c7d8204f0b" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">risktest</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Test</ac:parameter>
        <ac:parameter ac:name="values">[8945684|f1|risktest|true|false]</ac:parameter>
        <ac:parameter ac:name="extras">false[]</ac:parameter>
        <ac:parameter ac:name="type">dynamicselect</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

Warning

You will need to change the "8945684" to your page ID