Is this practiced at all or is there a more elegant solution? The essence is as follows. There is a specific set of fields in which information about an object (for example, a room) is collected. Near the link "add room". In the form there is another set of the same fields with the same names. How to correctly write the names of the fields in this form and how to process them correctly on the server?

    1 answer 1

    The answer to your question is here . In short, for field names there is no requirement for uniqueness, just later, when parsing these fields, you can refer to them as an array.