I requesting for the custom validation for CC field . I was tried by JS . Not getting. Kindly have look at the attached file and give me solution
By default it was taking " test@test" mail id as correct input.Sample accepted email format:john.doe@example.comjohn@doe-example.comjohn.doe@example.gov.org
Hello @Dinesh murugan
Refer this link:
https://www.outsystems.com/forums/discussion/65806/how-to-add-email-validation-for-enter-valid-email-on-input/
I hope this help
Thanks
Hi Dinesh,
You can use regex pattern which we have inside the outsystem in-built function such as:
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ this you have to pass in pattern.
or you can make your own regex pattern also.
Hope this helps you!!!!
Regards,
Rajat
As per the HTML5 standard (https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address), test@test is a valid email and hence EmailAddressValidate()will return true.
Created a sample application using both EmailAddressValidate() and Javascript based validation. https://siya.outsystemscloud.com/TestEmailValidation/ValidateEmail
OML attached
Why do you need a custom validation? Why is EmailAddressValidate not sufficient?
Thank you @Siya