• Resolved michaelrieder

    (@michaelrieder)


    Hi CodePeople

    I have two forms on one page. Is it possible to get the result of form A fieldname1 as a fieldvalue (fieldname2) in form B? e.g. fieldname2 == form_A.fieldname1

    Best Regards Michael

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @michaelrieder

    Yes, that’s possible. Insert form “A” shortcode with a unique class name, Ex.

    [CP_CALCULATED_FIELDS id="1" class="form-a"]

    Then in the calculated field fieldname2 in form “B”, enter the equation:

    getField(fieldname1|n, '.form-a').val()

    Our plugin replaces the fields’ names in the equations with their values before evaluating them. The |n modifier tells the plugin you are referring to the field’s name directly instead of its value.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Use result in another form’ is closed to new replies.