• Resolved rotertal

    (@rotertal)


    Hello to the best WP-Plugin!

    I have two forms (each has two fields) embedded on one site:

    1st form [CP_CALCULATED_FIELDS id=”1″]: fieldname1 and fieldname2
    2nd form [CP_CALCULATED_FIELDS id=”2″]: fieldname1 and fieldname2

    Is it possible to refer to these fields on the same WP-Page, like in a text. I know I could embedd an html field within the forms but I need these fieldnames in other contents of the page.

    Kind regards!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @rotertal

    Yes, that’s possible. For example, assuming you want to display the fieldname1 and fieldname2 values in form A into two tags on the page (outside the form) with the class names container-a and container-b, respectively, the fields fieldname1 and fieldname2 in form B into the tags with the class names container-c and container-d respectively.

    Insert a calculated field in form A as an auxiliary, you can configure it as hidden by ticking a checkbox in its settings, and enter the equation:

    (function(){
    fbuilderjQuery('.container-a').html(fieldname1);
    fbuilderjQuery('.container-b').html(fieldname2);
    })()

    And insert a calculated field in form B and enter the equation:

    (function(){
    fbuilderjQuery('.container-c').html(fieldname1);
    fbuilderjQuery('.container-d').html(fieldname2);
    })()

    Best regards.

    Thread Starter rotertal

    (@rotertal)

    …. thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.