I have an application in Symfony with tabs and load asynchronous with Ajax, so that I can use two forms in the application at a time. I have a form to register users and another to update user data. In the update form, Symfony2 generated form therethrough to create users (UserType), so the id of the elements of forms are the same.

On the other hand I have a function to validate form elements, but when it validates one of these forms, validates the other also to have the same id elements, so no validating each form done right.

For example, using Twig
`{{form_row (edit_form.name)}}` generates me an input with `id = "user_name"` and I need to modify it to the update form as `id = "update_user_name"`.

Is there any way to change the id attribute in that time?