server validation for removing html tag from text field component
I am using http://localhost:4503/libs/foundation/components/form/text/text.jsp which has sling:resourceSuperType pointing to foundation/components/form/defaults/field
I need to chage the validation that would throw any error from server validation if any html tag is feed say <script> </script> on the text field
please let me know how to acheive it
currently i see 2 parameter added in the form field
required Boolean true
requiredMessage String Please enter name
server validation for removing html tag from text field component
Thanks,