• Resolved hilmanfajrian

    (@hilmanfajrian)


    Hi,
    I have difficulties to pass result to another page (Thank You page). I put [CP_CALCULATED_FIELDS_RESULT fields=”fieldnameXX”] on Thank You page but is not working.

    This is the scenario by order.

    1. Form/Fields ID = 8
    2. User fills calculation form on Page X contains ‘fieldname1’, ‘fieldname2’, and ‘fieldname3’ as calculation result. ‘fieldname3’ is hidden.
    3. User click submit button to direct to Page Y (Thank You page) that contains result aka ‘fieldname3’.

    So what is the code to put on Page Y (Thank You page) and button on Page X?

    Thank you.

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

    (@codepeople)

    Hello @hilmanfajrian,

    What version of the plugin are you using?
    Are you submitting the form, or redirecting the user from a link?

    These features are available only in the Professional, Developer and Platinum versions of the plugin, and the form must be submitted.

    You can use any of the following alternatives:

    
    [CP_CALCULATED_FIELDS_RESULT fields="fieldname3"]
    

    – or –

    
    [CP_CALCULATED_FIELDS_RESULT]
    <%fieldname3 separator={{: }}%>
    [/CP_CALCULATED_FIELDS_RESULT]
    

    Best regards.

    Thread Starter hilmanfajrian

    (@hilmanfajrian)

    Ouch, I am using free version. So it’s clear now that I can’t use RESULT code.

    One more question:
    How to hide certain fields when I embed the form in page/post using [CP_CALCULATED_FIELDS] code?

    Plugin Author codepeople

    (@codepeople)

    Hello @hilmanfajrian,

    There are different alternatives, the method to use will depend on the project’s requirements.

    – The basic one: Use hidden fields instead other control type.

    – If you have created your form, but you don’t want to replace the current fields with hidden fields, simply enter the special class name: hide into the attribute “Add CSS Layout Keywords” in the settings of those fields you want hide.

    – If you want that some fields be hidden, until some choice into a radio button, checkbox or dropdown field be selected, or until some specific results be returned by an equation, then you should define dependencies between the fields. More information about dependencies, visiting the following link: https://cff.dwbooster.com/documentation#dependencies

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Passing result to Thank You Page’ is closed to new replies.