Copied to clipboard

Flag this post as spam?

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


  • Tom Norwood 29 posts 60 karma points
    Dec 02, 2015 @ 17:55
    Tom Norwood
    0

    Turn off form validation in Javascript

    Hi!

    Is there a way to disable the Umbraco Forms validation using JavaScript? I don't want to disable validation for a single field, it needs to disable for all the fields. This is so I can have a Save button that saves the partially entered information and a Next button which will do validation and then save and redirect to another page.

    I'm running a nightly build of Umbraco Forms: http://nightly.umbraco.org/UmbracoForms/nightlies/UmbracoForms.Files.4.2.0-WIP.Build.65.zip

    With Umbraco 7.2.6

    Thanks!

    Tom

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 04, 2015 @ 23:51
    Dennis Aaen
    0

    Hi Tom,

    You can find the documentation for Umbraco Forms, here https://our.umbraco.org/documentation/Products/UmbracoForms

    For your questions about how to disable validation for all the fields. Try to see this documentation. https://our.umbraco.org/documentation/Products/UmbracoForms/Editor/Creating-a-form/Form-Settings/

    I think that you could use the option to hide the the field validation labels, and when you hit the the next button you could write some javascript that shows the validations labels that shows if fields not are filled out correctly.

    Hope I have understand your question correctly and this can help you further.

    /Dennis

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies