FieldGroup and field that isn't supposed to be saved

I use FieldGroup to validate and save a form. This form has a field that has two purposes:

  1. It must be filled
  2. When it’s filled, another field appears underneath.

On successful FieldGroup#committ I want to save the model to the database. However I can’t because this field doesn’t have corresponding property in the model. Having a lot of such fields on the form, the submit button click handler would have to call
commit()
on a lot of fields and this looks ugly.

I need something like FieldGroup but that is able to handle such fields.

Any thoughts?

I’m not sure I understand your use case and what the problem really is. Could you give a short example? Where should the data from the added field go?