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.


This demo shows how the data could be copied from one form to another using "Set value" Field Definition Rule

 

Showing the data over form2 and only own fields. The value for author2 field is copied from form 1, author field. This means that changing the field value in form 1 for field author will NOT change the field in form 2

Pick from

Author field copied from form2

Form 3 JRR Tolkien
Form 3 JRR Tolkien
Form 3 JRR Tolkien
ABC123 Mike Thompson
M JC
test robbie
Big Book Bob Smith
JRR Tolkien JRR Tolkien
JRR Tolkien JRR Tolkien
Yes Ken Jones
loadme-author Author1-author
JRR Tolkien JRR Tolkien
tesyload testy
Big Book Bob Smith
March 13th 2018 Test MN
ABC123 Mike Thompson
Form 3 JRR Tolkien
222
Form 3 JRR Tolkien
Lenin.V.I lenin
Robert L. Hilliard Robert L. Hilliard
JRR Tolkien JRR Tolkien
bb b
ABC123 Mike Thompson
ABC123 Mike Thompson
1223 qwer
0830 test 0830
HS01 HS
Form 3 JRR Tolkien
Jacoby and Meyers Bob Dole
Loading myself Myself
a Form 3
ze zeus
Maskara János
clark Jill Disney
aaa Marx
loadme-author Author1-author
yyy yy
loadme authorTEST
fs ganz-fink mc

 

Storage format

<ac:structured-macro ac:macro-id="24adbb2a-9287-47ae-804e-a311d97dafd4" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">form12</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="703fb3ca-cf33-4b3b-a596-8bcbb8091123" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="registrationButtonLabel">Register author</ac:parameter>
      <ac:rich-text-body>
        <p> </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="068634b7-659d-4913-baf8-ceea9e514d0a" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">author</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Author</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="185d25d8-3f76-40b4-a457-14f400144d81" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">loadme</ac:parameter>
        <ac:parameter ac:name="fieldLabel">loadme</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="db83cd79-8b78-43b9-9092-83698a9fdeae" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">form22</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="82142611-df8b-4c3b-8ce9-b75d94311dad" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="registrationButtonLabel">Register form 2</ac:parameter>
      <ac:rich-text-body>
        <p> </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="25d6a3d5-cd44-46aa-953c-1d8c5b433e98" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">pickFrom</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Pick from</ac:parameter>
        <ac:parameter ac:name="values">[11862871|form12|loadme|true||]</ac:parameter>
        <ac:parameter ac:name="type">smartselect</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="68d42b33-94b0-4322-9d9b-890739f2d79a" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">author2</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Author2</ac:parameter>
        <ac:parameter ac:name="type">read_only</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="ce2ac4d1-7f11-467d-8372-a1c4507b47d1" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">author2=pickFrom.author</ac:parameter>
        <ac:parameter ac:name="values">author2=[entry.pickFrom.author]</ac:parameter>
        <ac:parameter ac:name="action">Set value</ac:parameter>
        <ac:parameter ac:name="actionFieldName">pickFrom</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Showing the data over form2 and only own fields. The value for author2 field is copied from form 1, author field. This means that changing the field value in form 1 for field author will NOT change the field in form 2</p>
<ac:structured-macro ac:macro-id="ec068312-e1f4-49ad-9724-bb57343b0456" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">form22</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="36a134c6-f49c-4d27-b24a-13fc0b0ad993" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">pickFrom</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="6c4e893b-1b7c-43b3-aaa6-a3903611aaba" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="overrideLabel">Author field copied from form2</ac:parameter>
        <ac:parameter ac:name="fieldName">author2</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

 

 

 

  • No labels