triggering error messages after data edits
triggering error messages after data edits
- Subject: triggering error messages after data edits
- From: Drew Thoeni <email@hidden>
- Date: Tue, 6 Jan 2004 19:28:42 -0500
In the registration screen I'm writing there are a good number of edits
being applied to the user's input. I hate bad data. I also hate making
the user guess at what the problem may be so I want to give specific
feedback, such as and error marker (say, a small graphic) and a clear
message (say "Zip code should be five digits).
Having enough WO experience to know there's likely a better way, I'm
trying to avoid a series of variables like:
protected boolean isFirstNameCorrect = true;
protected String firstNameErrorMsg;
protected boolean isLastNameCorrect = true;
protected String lastNameErrorMsg;
How is this best handled in WO?
Drew
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.