jsakalos
11 May 2007, 4:03 PM
Sorry if I'm asking the question already answered here. I've done my best to search and I've found various client/server-side validations but none of them gives me the answer.
Question:
We have a record in an EditorGrid backed up by some database table. Some of the fields are required some not. Now, user starts the editing let's say of a newly created blank record and fills in value in one field. Upon the enter press or lost focus the editing stops but record as a whole is still invalid.
My idea is to automatically start editing of the next required field until all required fields are filled in and allow user to save record only after that. (Not talking about server-side validation that's different story, quite easy to do.)
Has anybody solved a similar problem?
Question:
We have a record in an EditorGrid backed up by some database table. Some of the fields are required some not. Now, user starts the editing let's say of a newly created blank record and fills in value in one field. Upon the enter press or lost focus the editing stops but record as a whole is still invalid.
My idea is to automatically start editing of the next required field until all required fields are filled in and allow user to save record only after that. (Not talking about server-side validation that's different story, quite easy to do.)
Has anybody solved a similar problem?