It seems like a mix-up of two different phrases:
* "Cómo se escribe su nombre?" This is the correct way to ask "How do you spell your name?" in Spanish.
* "Cómo se llama?" This translates to "What is your name?".
It's possible the intended phrase was one of these.