Copied to clipboard

Flag this post as spam?

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


  • Patrick 1 post 71 karma points
    Apr 17, 2019 @ 06:04
    Patrick
    0

    Is jquery for forms necessary

    Hi there,

    we are having an argument with our agency whether or not jquery is necessary in order for forms to work as described here:

    https://our.umbraco.com/documentation/Add-ons/UmbracoForms/Developer/Prepping-Frontend/

    In the link above it sounds like these 3 jquery dependencies are necessary - however, the forms created so far seem to work without it.

    Can you umbraco clarify the situation on this, and if they are needed - what for?!

    Many Thanks in advance

  • louisjrdev 107 posts 344 karma points c-trib
    Apr 17, 2019 @ 09:26
    louisjrdev
    0

    2 Things that immediately spring to mind would be the:

    • Field Validation - Requires jQuery validate
    • Multi-step / page forms
  • Jonathan Distenfeld 105 posts 618 karma points
    Apr 18, 2019 @ 11:44
    Jonathan Distenfeld
    0

    In the documentation it says:

    • jQuery (Javascript library) -> is needed for plugins to work
    • jQuery validate (jQuery plugin that provides client side form validation)
    • jQuery validate unobtrusive. (Add-on to jQuery Validation that provides unobtrusive validation via data-* attributes)

    So a clear answer would be: Yes, you need jQuery to make Umbraco Forms work properly without getting errors.

    If you wish to use Umbraco Forms without validation, you would need to customize the umbracoforms.js. Otherwise you will get errors like this:

    enter image description here

    -Jonathan

  • Matthew Wise 271 posts 1373 karma points MVP 5x c-trib
    Apr 20, 2019 @ 21:52
    Matthew Wise
    1

    Depends how much effort you want to put in removing it :) I know of https://github.com/elglogins/Umbraco-Forms-Without-Jquery which removes the jQuery requirement no idea how well it works though.

    Matt

  • apload-gmbh 39 posts 109 karma points
    Nov 04, 2022 @ 13:35
    apload-gmbh
    0

    And what do you think about the slim version of jQuery? Is this enough for Umbraco forms?

Please Sign in or register to post replies

Write your reply to:

Draft