Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: How to RE-Display Form when error in data found?

$
0
0
Re: How to RE-Display Form when error in data found?
Web Connection 5.0
Re: How to RE-Display Form when error in data found?
Jul. 21, 2013
04:40 pm
3U50ZQZAYShow this entire thread in new window
Gratar Image based on email address
From:Roy M
To:Rick Strahl
Thanks Rick ... I'll give this some attention


Have you gone through the demos in the help file, or the videos? All of those demos basically post back to themselves and display error information.

If you use the Web Controls, this is all automatically handled by the two way databinding controls and using the Page's DataBind() and Unbind() methods.

+++ Rick ---



Listmates;

When a user hits the save button and the validation routine runs, detecting something not right, what is the best strategy to redisplay the user the form with corrective instructions?

One thought comes to mind is to display an error page with all the issues found, and instruct the user to hit the back button to get to the form and retry ... this seems ... a little user unfriendly ...

I do have validation routines running via Jquery that put in dates, Money and phones etc ... that makes sure fields are populated ... but ... for example ... a date field ... we expect to see mm/dd/yy or some fashion of it ... but the user overwrites the drop down selector and types Nov 11, 2013 ...

I want to catch this on the server side ... redisplay the data form with all the data they had previously typed in.

I am using WCS file ... I guess I could put some smarts in the wcs file the recovers the posted variables and redisplay.

Any thoughts would be appreciative




Viewing all articles
Browse latest Browse all 10393

Trending Articles