Copied to clipboard

Flag this post as spam?

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


  • yashasvi 27 posts 105 karma points
    Oct 17, 2017 @ 07:37
    yashasvi
    0

    validation on client side in Form

    Hi In contact form I want to client side validation (Without MVC). There is mandatory / Regex option which is work only when we submit my form . Is there option or trick by which I can do validation on Onblur, Onfocus, or when typing anything.

    Please suggest what is better option and how to use it.

  • Martin Aguirre 42 posts 210 karma points
    Oct 17, 2017 @ 11:30
  • yashasvi 27 posts 105 karma points
    Oct 17, 2017 @ 18:31
    yashasvi
    0

    Hi Martin,

    Thanks for the reply as I am a naive user of Umbraco. so I little bit confuse of config file . Is it available on the cloud (don't know the location)or we can get it only after downloading the code? And how we validate an email id (as an example) on the client side by this code.

    Please suggest. Thanks in advance.

  • Martin Aguirre 42 posts 210 karma points
    Oct 18, 2017 @ 12:02
    Martin Aguirre
    0

    Hi Yashasvi

    I dont used the Cloud version, but i supose that the "web.config file remains in the root directory.

    Related to the js file, you must referer in the view and check that its installed in the Scripts folder.

Please Sign in or register to post replies

Write your reply to:

Draft