Page 2 of 2

Re:

Posted: 8 Mar 2017 8:34
by Amod Gokhale
Gukalov wrote:Simplier to delete spaces before checking:
if string:hasAlpha(string::replaceAll(Control:getText(), " ", "")) then

But to check if entering name is correct you need something more sirious than just letters&spaces)))
"A m o d Go kh ale" ?!)))

Perfect!!!!!. I used this solution. Don't know how to mark this as accepted answer here. If you are on stack ( kindly update... i have posted tr as well and will mark it as accepted )

Posted: 8 Mar 2017 8:36
by Amod Gokhale
Hi Harrison,

Thanks for your detail reply, it worked and prevents numbers.

For now went with solution provided by Gukalov as it fits with current system requirement.