Sign in to Community
Sign in to view all badges
In a custom input form, we have a text field. Here we need to avoid few special characters like @ $ % etc.,
How can i make it possible?
Thanks and regards,
You can check on form save/close with:
<check expr="@textField not like '%@%' and ..."><error>Invalid character</error></check>
To replace *all* special characters with '_', at a schema level, use dataPolicy="identifier" on the attribute- no form work needed.