Hi I’m a newbie on grails, im having a little problem now, i created an app which has a Log-in function. I need to set up the constraints where the username registered should not have a ‘space’ before the desired username, i don’t know how to configure that on my constraints, please help.. thanks a lot!
Share
There is two ways, use a regex constraint like:
or use custom validator: