It’s not necessary. There is no reason to send a hidden name field out to the client, because you already have it on the server.
If you don’t supply the name field to the client, there’s nothing for the client to see, nothing that can be changed, and nothing to be validated.