Just an additional note - it seems that this only occurs if values (e.g. dropdowns) are included and the value appears to contain an open "{" without a closing one like fieldconditions has
It looks like this is a reported issue the fix is to change a line of code in one of the views:
In the backoffice Settings > Partial Views > Forms > Scripts (or Views > Partials > Scripts.cshtml in Visual Studio), line 10, change the line to the following:
Forms SyntaxError: JSON.parse: end of data while reading object contents at line 1 column 2 of the JSON data
Using UmbracoForms.Package.4.1.4 & Umbraco version 7.3.3.
I get this error on all the forms on the site
SyntaxError: JSON.parse: end of data while reading object contents at line 1 column 2 of the JSON data
Is there a fix to this?
Just an additional note - it seems that this only occurs if values (e.g. dropdowns) are included and the value appears to contain an open "{" without a closing one like fieldconditions has
It looks like this is a reported issue the fix is to change a line of code in one of the views:
In the backoffice Settings > Partial Views > Forms > Scripts (or Views > Partials > Scripts.cshtml in Visual Studio), line 10, change the line to the following:
Basically single quotes not double for the value attribute.
Sorry for the late reply.
It worked.
Views -> Partials -> Forms -> Script.cshtml
Thank you very much Michael.
is working on a reply...