[4.2] - Validation onblur of field - Portal

Posted by IramK on 22-Nov-2016 06:19


Is there a way I can have some validation on a field when the user loses focus/tabs out of the field rather than on submit for Portal pages? Kindly let me know.



All Replies

Posted by IramK on 22-Nov-2016 08:55

Any suggestions on this one?

Posted by IramK on 24-Nov-2016 03:41

This behavior currently works in the New UI pages but not in portal pages. Any possible solutions for this one?

Posted by Mohammed Siraj on 01-Dec-2016 00:28

Client-side validation framework has been built into NUI pages leveraging HTML5 validity constraints & KendoUI Validation utilities, to ensure cross browser consistent behavior.

The same is not available on portal pages as of now. You may consider using client-side JS and HTML5 validty constraints for custom client-side solution for replicating same behavior. However, without KendoUI utilities there will be major cross browser inconsistencies to address. Even though you can include KendoUI library for portal pages, applying it as client-side override without platform support will require siginifcant changes and will not recommend the same as it may also pose code readability and maintenance related challengs.

Request you to file an enhancement for this requirement.

Posted by IramK on 01-Dec-2016 04:06

Hello [mention:78c86023544844079dc6455a4a7a4d57:e9ed411860ed4f2ba0265705b8793d05] ,

Any possible JavaScript client-side validation you'd suggest?



Done that. Thanks.

This thread is closed