> The good news seems that one could validate server-side data 
> using ajax call to send the form data but the down side seems 
> to be the UI err presentation part, when there's data problem 
> one would prompt/alert user about it, the js alert function 
> is one way, write some sort of msg and make it VISIBLE on top 
> of the problematic field is another (I like this approach 
> better, btw, fairly easily done), popup is sometimes deemed 
> annoying (alert is popup).  What's your thought?

First, this has nothing to do with AJAX or server-side validation, really.
Your options for notifying the user of an error are no different with AJAX
than they would be with any sort of client-side validation.

That said, I don't think there's one single approach that would always be
best. I think that different forms may have different optimal ways of
notifying the user. Sometimes the best approach would be to simply change
the appearance of the field, and perhaps set focus on that field. Other
times, the best approach might be to show the user a list of errors.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305210
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to