Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
ConfiForms Form Definition
formNamef

INLINE

 

choicechoicefalse[1=go to google|2=go to yahoo|]checkbox_group

choice:1Run JavaScriptonCreatedchoice:2Run JavaScriptonCreated

 

Storage format

Code Block
<ac:structured-macro ac:macro-id="d561f1ee-004f-4ceb-bac2-54af2ba690d5" 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="f95032bd-16bf-4bf0-a349-a0db2df3ea24" ac:name="confiform-entry-register" ac:schema-version="1">
        <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="732ffb10-fc8d-4bec-be12-91e5c7627be2" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">choice</ac:parameter>
        <ac:parameter ac:name="fieldLabel">choice</ac:parameter>
        <ac:parameter ac:name="values">false[1=go to google|2=go to yahoo|]</ac:parameter>
        <ac:parameter ac:name="type">checkbox_group</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="81ad6bf0-6d76-4141-a81e-1b298b9e5846" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="condition">choice:1</ac:parameter>
      <ac:parameter ac:name="action">Run JavaScript</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:rich-text-body>
        <ac:structured-macro ac:macro-id="206eee92-5726-4118-ae32-5424f2721350" ac:name="noformat" ac:schema-version="1">
          <ac:plain-text-body><![CDATA[document.location = 'https://google.com';]]></ac:plain-text-body>
        </ac:structured-macro>
      </ac:rich-text-body>
    </ac:structured-macro>
    <ac:structured-macro ac:macro-id="9389be5c-4f34-429c-902a-1ec00b3f76ff" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="condition">choice:2</ac:parameter>
      <ac:parameter ac:name="action">Run JavaScript</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:rich-text-body>
        <ac:structured-macro ac:macro-id="b5ebfc3c-02e1-4656-b6fa-b43b8f8733ad" ac:name="noformat" ac:schema-version="1">
          <ac:plain-text-body><![CDATA[document.location = 'https://yahoo.com';]]></ac:plain-text-body>
        </ac:structured-macro>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>