Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
We have set up a Umbraco form and would like to use Umbraco to compare the two email addresses (Customer email and Customer confirm email field) and signal if the second one is different from the first one.
What’s the best approach for it?
Thanks
Without going hard into custom validation and backend code most sites just do Javascript based solutions so you can be more dynamic.
It all depends on your code setup and what Javascript framework you use but on the most basic level your code is..
if (document.getElementById('email1').value != document.getElementById('email2').value) { alert('Those emails don\'t match!'); return false; } else { return true; }
is working on a reply...
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.
Continue discussion
Umbraco Forms add custom validation
Hi
We have set up a Umbraco form and would like to use Umbraco to compare the two email addresses (Customer email and Customer confirm email field) and signal if the second one is different from the first one.
What’s the best approach for it?
Thanks
Without going hard into custom validation and backend code most sites just do Javascript based solutions so you can be more dynamic.
It all depends on your code setup and what Javascript framework you use but on the most basic level your code is..
is working on a reply...
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.