Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Luke Phelan 14 posts 85 karma points c-trib
    Dec 02, 2015 @ 01:20
    Luke Phelan
    0

    Invalid HTML Markup - Umbraco Forms

    Hi,

    I am using Umbraco Forms (4.1.4) with Umbraco 7.3.0 for a couple of forms on a client website. There seems to be an issue with the generated HTML, in particular one of the hidden fields. This is the problematic line:

    <input type="hidden" id="values_b4e248e02f744cc785183baad003319d" value="{"f6718dda-0e45-48f9-bf8f-ecfe8a500a9e":"","fdd314cb-96ca-4131-e5f6-75e46a1dbfe2":"","c9204231-7756-4e10-cb50-60870fb4bb73":"","ea2031ae-cf0b-47db-acf3-4ffc39c71f9a":"","956c7ce0-f14b-48a8-8117-1fb8e5330f98":"","d69e4ea5-4957-4b27-f572-cae872e2dc75":""}" />
    

    As you can see, the " the JSON data and the surrounding value attribute are conflicting, causing invalid HTML and the following console error:

    Console error

    Has anyone else experienced this?

    I haven't tested the form yet, as we don't have the rest of the workflow confirmed, but will this affect performance?

    Is this something I can fix myself by changing my form, or is it an issue with version I'm using?

    Cheers

    Luke

Please Sign in or register to post replies

Write your reply to:

Draft