I want to generate a form dynamically based on field descriptions in an array. Let's say an event with several participants, and the user may create some dynamic fields for each event. I am using an EAV Model with two classes FormFieldDescription which described the fields for each event, and FormFieldValue, which stores the value for each event and participant:
When the user creates a participant, I want EA to display a form with the static fields, and the dynamic fields. I managed to display the dynamic fields using a CollectionField, however it looks ugly:
I would like to know a way to display them like regular fields, being able to configure them based on FormFieldDescription. Is it possible?
Hello,
I want to generate a form dynamically based on field descriptions in an array. Let's say an event with several participants, and the user may create some dynamic fields for each event. I am using an EAV Model with two classes
FormFieldDescription
which described the fields for each event, andFormFieldValue
, which stores the value for each event and participant:When the user creates a participant, I want EA to display a form with the static fields, and the dynamic fields. I managed to display the dynamic fields using a
CollectionField
, however it looks ugly:I would like to know a way to display them like regular fields, being able to configure them based on
FormFieldDescription
. Is it possible?