Can we put validation at edittext form
Just some thoughts:
It should be possible to add a new parameter to the <$edit-text> widget eg: "validate-format", which contains a regexp that describes the format, which is expected. .. The advantage of regexp'ses is, that they have "super powers" ... but ... the disadvantage is, that they get complicated very fast and are not suitable for every user.
A second possibility would be to create something like the "date-format" see: http://tiddlywiki.com/#DateFormat to describe, what is expected. The advantage here is, it's simpler for users but exponentially more work to implement. .. Since we would need to create a "new validation language" first, that fits our needs.
---------
So how does your input look like and how can we describe it, so that a validation mechanism can check it?
have fun!
mario
Thanks for fast reply. Sorry have other thing to do. So basicly I want to make a form for registration. It would be nice to have some validation to make the input accurate and reliable. See attachment for detail.
I just want to make the input for the name only accept character and few symbol just like database.
The problem is, that the implementation isn't user-friendly and there is no docs.
It defines "black-list" characters. IMO you need a "white-list". ... But I'm not sure, which chars you want to allow. ...