• Resolved clonemykey

    (@clonemykey)


    I’m experiencing some odd behavior. We created a price calculator form for a new website. In order to get it display properly on mobile we cloned it and styled it differently. We also changed the order of some of the elements. We have a Free Shipping banner that is only suppose to appear under certain circumstances. It works as expected on the desktop version but does not on the mobile. We’re using the code below.

    (fieldname9>=10 && fieldname27<=9) ? ACTIVATEFIELD(33) : IGNOREFIELD(33);

    Any ideas on what the issue could be? With cloning the form I feel like this shouldn’t happen.

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

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

    (@codepeople)

    Hello @clonemykey

    I see you are using autoptimize for optimizing and caching your website. So, probably you’re checking a cached version of the website on mobiles.

    Please, check your page again but passing to it the autoptimize parameter: ?ao_noptimize=1

    Best regards.

    Thread Starter clonemykey

    (@clonemykey)

    Hello,

    Thanks. I tried that and it does not solve the issue :/

    – Bryan

    Plugin Author codepeople

    (@codepeople)

    Hello @clonemykey

    I’ve checked the source code of your page, and it does not include some tags generated by the plugin. What is the version number of your copy of the plugin?

    Best regards.

    Thread Starter clonemykey

    (@clonemykey)

    We’re using Version 1.0.452

    Plugin Author codepeople

    (@codepeople)

    Hello @clonemykey

    The issue is causes because there are multiple forms with the same fields’ names on the page. Please, try the following code while I implement a definitive solution:

    
    (fieldname9>=10 && fieldname27<=9) ? getField(33).jQueryRef().closest('.fields').show() : getField(33).jQueryRef().closest('.fields').hide();
    

    Best regards.

    Thread Starter clonemykey

    (@clonemykey)

    Hello,

    Thank you, this code works!

    Regards,

    • This reply was modified 3 years, 7 months ago by clonemykey.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Equation only works on Desktop version’ is closed to new replies.