nathanvda / cocoon

Dynamic nested forms using jQuery made easy; works with formtastic, simple_form or default forms
http://github.com/nathanvda/cocoon
MIT License
3.08k stars 383 forks source link

Nested Form not visible in Edit Page #594

Closed apjanvekar closed 3 years ago

apjanvekar commented 3 years ago

Hi Nathan,

I am having a Parent form but and one child form.

TemplateCode => Parent Form.

ChildTemplate => ChileForm.(This is a nested form which belongs to Parent Form)

Issue is while save record with no data in ChildTemplate, form is not getting displayed under edit page as it gets displayed in New Page.

So i just want a blank data to be appeared for ChildTemplate form when there is no data in ChildTemplate form so that user can enter records in edit mode.

Please Help.

nathanvda commented 3 years ago

Hi @apjanvekar, this is a good introduction, but very vague for me to help you find an error.

I do not understand the relations or the explicit behaviour that fails or is wanted.

Please show me the

I am assuming you have an empty form that is displayed when creating a new TemplateCode, but if you do not fill any of the nested forms, the intermediate levels are not saved? Is that correct?

nathanvda commented 3 years ago

Closed due to inactivity.