Required Fields in custom form

While working with forms, in primero there were many forms already created and it has certain module that while creating custom forms I didn’t find them, like e.g. in basic identity form there are Required form fields (first name, last name, etc.) but while creating the custom form I don’t find any such module to set a particular field as the mandatory or the required field ! .I have to set some fields in my form as required form field how to set those fields while creating custom forms

You can do this in the configuration bundle but not the UI. Take a look at

1 Like