• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
triggering error messages after data edits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: triggering error messages after data edits
      • From: Alexander Spohr <email@hidden>
  • Prev by Date: Storing Credit Card Data
  • Next by Date: Re: Storing Credit Card Data
  • Previous by thread: Re: Storing Credit Card Data
  • Next by thread: Re: triggering error messages after data edits
  • Index(es):
    • Date
    • Thread