Grails g:tags
does not support inline pattern validation with dollar ($) sign. You can validate the field with jQuery. But is there any solution for the inline g:tag
support for dollar sign with grails?
It supports $
sign with escape character \
so you need to use it like \$
Example of <g:field ............. />
<g:field name="abc" type="text" pattern=".*([.,/])\$" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With