The tabs are only to separate and simplify the user interface. All fields on the tabs belong to one object.
Therefore I save the data to DB when the user presses the SAVE button.
When she/he changes the current tab, nothing is saved to the DB, only a submit is performed.

Currently I switched to a clientside solution: all tabs are rendered therefore they will be validated as well. Probably I will use this solution because of lack of time :|

BR,
Norbi

----- Original Message ----- From: "Ron Piterman" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, November 05, 2005 12:56 PM
Subject: Re: tabbed form validation


Hi Norbert -
well it depends on how you implement the tabs, when do you save the data aso -

if you dump the data to the database on each Tab's submit, than you must do so also when switching tabs , but there are many many possiblities there - its hard to tell -
how is the workflow generally going?
Cheers,
Ron



ציטוט Norbert Sándor:
Hi,

I have a Form for editing large amount of data. To be more user friendly I divided the fields to separate tabs. The problem is that because only 1 tab page is rendered at a time (the currently selected one), fields on other pages are not validated.
This may lead to database exceptions because of the invalidated data.

Do you have any idea what is the best solution for this problem?

BR,
Norbi


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to