Hi @Ronnie09
the name field is a unique value to identify a field. Giving two fields the same name and making them both editable would make a weird issue. Ideally, it should have a different name.
However if a business requirement wants to have two fields, the best way is to make another field disabled and make one field enabled so that only one field can be filled at a time. Another field would fetch the same value.
Regards,
Arpit Varshney