2 deleted 50 characters in body
source | link

I have a content type Project and it has a more than 100 fields in the node form. The form fields are grouped in different section and category. I tried to use a field_group module to group and categories in different sections, but when I add more than 20 groups field I got a problem in field arrangement and save the changes in form display. Also, i am facing difficulty to theme the form as per the design.

So, is it possible to define template suggestions for node add and edit form by content type and add an individual form element in the form template, where I can define my own HTML structure?

Eg: from--project.html.twig some things like this, and able to add individual form elements in the form template.

<form{{ attributes }}>
 {{ form.title }}
 {{ form.field_project_description }}
</form>

Would be great if anyone helps me to shout out this issues. Thank youThanks for any help.

I have a content type Project and it has a more than 100 fields in the node form. The form fields are grouped in different section and category. I tried to use a field_group module to group and categories in different sections, but when I add more than 20 groups field I got a problem in field arrangement and save the changes in form display. Also, i am facing difficulty to theme the form as per the design.

So, is it possible to define template suggestions for node add and edit form by content type and add an individual form element in the form template, where I can define my own HTML structure?

Eg: from--project.html.twig some things like this, and able to add individual form elements in the form template.

<form{{ attributes }}>
 {{ form.title }}
 {{ form.field_project_description }}
</form>

Would be great if anyone helps me to shout out this issues. Thank you.

I have a content type Project and it has a more than 100 fields in the node form. The form fields are grouped in different section and category. I tried to use a field_group module to group and categories in different sections, but when I add more than 20 groups field I got a problem in field arrangement and save the changes in form display. Also, i am facing difficulty to theme the form as per the design.

So, is it possible to define template suggestions for node add and edit form by content type and add an individual form element in the form template, where I can define my own HTML structure?

Eg: from--project.html.twig some things like this, and able to add individual form elements in the form template.

<form{{ attributes }}>
 {{ form.title }}
 {{ form.field_project_description }}
</form>

Thanks for any help.

1
source | link

How to define template suggestions for node add and edit form by content type?

I have a content type Project and it has a more than 100 fields in the node form. The form fields are grouped in different section and category. I tried to use a field_group module to group and categories in different sections, but when I add more than 20 groups field I got a problem in field arrangement and save the changes in form display. Also, i am facing difficulty to theme the form as per the design.

So, is it possible to define template suggestions for node add and edit form by content type and add an individual form element in the form template, where I can define my own HTML structure?

Eg: from--project.html.twig some things like this, and able to add individual form elements in the form template.

<form{{ attributes }}>
 {{ form.title }}
 {{ form.field_project_description }}
</form>

Would be great if anyone helps me to shout out this issues. Thank you.