• Resolved Hyrules

    (@hyrules)


    Hi,

    I’m trying to use some conditions for my forms but there seems to be a bug where the element _wpcf7_options does not seem to be having a valid json (not sure if this is related but there is a space in the form_id tag name at the beginning right after the second double quote) :

    
    <input type="hidden" name="_wpcf7cf_options" value="{" form_id":11790,"conditions":[],"settings":{"wpcf7cf_settings_saved":"1","notice_dismissed":"","animation":"yes","animation_intime":"200","animation_outtime":"200"}}"="">

    Here is the error I have in chrome dev tool console.

    VM3670:1 Uncaught SyntaxError: Unexpected end of JSON input
        at JSON.parse (<anonymous>)
        at HTMLDivElement.<anonymous> (scripts.js?ver=1.4.1:20)
        at Function.each (jquery.js?ver=1.12.4:2)
        at a.fn.init.each (jquery.js?ver=1.12.4:2)
        at scripts.js?ver=1.4.1:11
        at scripts.js?ver=1.4.1:356

    Any help would be appreciated. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unexpected end of json’ is closed to new replies.