• Resolved vel123

    (@vel123)


    HI,
    I wan to check the dropdown down value using if condition in the thankyou page. For example, fieldname1 has 2 dropdown value 4 & 6. If 4 was selected in the calculation page i should show some image in the thankyou page, same if 6 was selected means need to show different image in the thankyou page. How to do this?
    Very Urgent, please reply immediately

    https://www.ads-software.com/plugins/calculated-fields-form/

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

    (@codepeople)

    Hi,

    The conditions should be defined in the public form and not in the thank you page. For example, if you insert hidden fields in the form, that depend of the option selected, or even simpler, if you insert a calcualted field whose value would be the URL to the image, and it is based on the option selected in the DropDown field, for example if it is the fieldname2, in the thank you page should be inserted the tag:

    [CP_CALCULATED_FIELDS_RESULT]
    <img src="<%fieldname2_value%>" />
    [/CP_CALCULATED_FIELDS_RESULT]

    Best regards.

    Thread Starter vel123

    (@vel123)

    Hi, Thanks
    But img src showing as empty in the thank-you page.

    <img ”=”” src=”” /></p><p><img src=”>

    Plugin Author codepeople

    (@codepeople)

    Hi,

    I’ve sent you only an example, you should use the corresponding name of the field in your form. Could you send me the link to your form, and indicate the structure of the shortcodes in the thank you page, please?

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Check if condition in the thankyou page’ is closed to new replies.