Hi everyone,
Does anybody know how to add a validation to check if the email has a valid format for example it must have @ sign following with .com etc.
Hi @bssienes,
if I remember correctly there already is some validation set up.
But you can add some more validation for sure.
You need to create a content snippet Account/Register/PageCopy the correct spelling is important.
Set it to HTML and write you code in the HTML.
<script>
$(document).ready(function(){
//Your code here
});
</script>
You can add as much validation as you want.
If you want to display some hints etc. you can try using the :after element (Sometimes it's working sometimes not, couldn't figure out yet when it does and when not) or you can use the jQuery .inserAfter() Method to add some text directly below the input field which has a unique id or a css selector.
--------------------------------------------------------------------------------------
Hope that helps.
If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.
Fubar
69
Super User 2025 Season 1
oliver.rodrigues
49
Most Valuable Professional
Jon Unzueta
43