Email Validation on custom widget

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2020 02:26 AM
I created a custom widget in which i created custom field "email" by a html code, so now i want to apply a validation so it accept only valid emails, so where i should write the script i tried all the method can someone help me?
Labels:
- Labels:
-
Service Portal Development
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2020 06:26 AM
If you have a custom widget then you may be better off using the AngularJS email validation, which you can find documented here: https://docs.angularjs.org/api/ng/input/input%5Bemail%5D