1.) User has to fill out a form --> create is initialized (concerning 3 tables)
2.) As a result, if at 1.) everything went right, the user gets a second form, where he has to fill out some further fields --> update on some of the tables of 1.)
The problem is now, that I want to use ajax validation on the fields of the second form. Especially the fields should be treated as “required” … but in the first form, one of the creates goes on the same table, so there the fields shouldn’t be required (because the user doesn’t get these fields).
Filling out the fields at 1.) with dummy values isn’t really the solution I want to take, because in the database it would be a lot cleaner to leave these fields empty, if e.g. the user cancels the operation after posting the first form.