I also face the same dilema.  I have a "Save" button on my forms that
validates and commits the data.  When the button is pressed, the entire form
is validated and notifes the user of any errors.  If the app is exited in
any way before the "Save" button is pressed, TOO BAD!  If there's a better
solution, I'd also like to hear it.

-Ken

> ----------
> From:         Scott Johnson (Bellevue)[SMTP:[EMAIL PROTECTED]]
> Reply To:     Palm Developer Forum
> Sent:         Thursday, August 09, 2001 5:22 PM
> To:   Palm Developer Forum
> Subject:      RE: Validating turn off in Sat Forms
> 
> > From: Peter Epstein [mailto:[EMAIL PROTECTED]]
> > It's really a violation of the overall UI of the Palm to
> > do validation when the user tries to exit your application.
> 
> So what is the recommendation?  Keep the user's un-validated data in a
> sort
> of unsaved state so they can return to it later?  That *would* give the
> cool
> illusion of "suspending" the app as-is when switching away.
> 
> If so, what happens if the user HotSyncs without ever returning to the app
> to finish saving/validating the pending record?  Is it discarded?  (Not so
> good.)  Is it somehow validated during HotSync with the user alerted to
> any
> errors?  (Even possible?)  Is it just sent to the server unvalidated,
> potentially causing an enterprise application server to run its own
> validation check and reject the record for being invalid?  Then if the
> server rejects the record, won't the user find it un-Zen-like that the
> device didn't mention the problem earlier before the HotSync?  This can
> get
> messy.
> 
> -slj-
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to