DonWolli
Posts: 93
|
Posted: 01/25/2013, 10:44 AM |
|
I have a quite long data record and i want to divide the insert/modify form into logical tabs like tab1 is personal data, tab2 is contact data etc.
but how can i do that with ccs?
when i make one form on each tab with insert/modify the database will throw errors because must fields are empty ....
best regards
Wolfgang
---------------------------------------------------
Joachim Uersfeld - wir denken an Dich
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon) |
|
|
Lucius
Posts: 220
|
Posted: 01/25/2013, 10:55 AM |
|
Hi,
I had the same task some time ago - step by step wizard that user fills, that on final step saves the data entered to one or more tables.
There is no way to do this out-of-the box with CCS as far as I know, sorry.
What I did is in a nutshell, on every step put a Record (empty) on each step page, with a insert button to "save" the data.
Then on Before Insert I would save the data to cookies on each step.
Last step would take the data from cookies and save it via custom SQL.
This is much more work than normal CCS enabled grid/records, as you also need to check if for example in step 3, all required fields from steps 1 & 2 are filled. Provide user with go back button, etc...
|
|
|
|