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


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>