-
Notifications
You must be signed in to change notification settings - Fork 636
Validation
terwey edited this page May 4, 2012
·
3 revisions
Some ideas for integrating a validation framework into QuickDialog.
- Text length
- Maximum length (also prevent more typing)
- Minimum length
- Numeric only
- int
- float
- Alphabetic only
- Uppercase only
- Lowercase only
- Email address
- URL scheme
- Should support validating if the URL meets an RFC
- Perhaps even build it does a quick Reachability check to see if the URL works?
There are lots of way to show an error however I believe 2 ways are the most used and most appreciated by users.
- Color the whole cell
- If it's accepted, color it green* or leave it white (*or whatever color the developer had set)
- If it's wrong, color it red* (*or whatever color the developer had set)
- Small icon
- A small icon at the end of the cell indicating if it's accepted or wrong (checkmark or cross)