How To Insert The State_Code Instead The State_Description?

Hi, in the customer registration process how can I save (in the database) the state_code instead the state_description?
Thanks in advance.
Regards. :-)

Hi, in the customer registration process how can I save (in the database) the state_code instead the state_description?
Thanks in advance.
Regards. :-)

State code is saved in the database if the states are defined for the selected country on the Administration -> Shipping & taxes -> States page in the admin panel:

http://demo.cs-cart.com/admin.php?dispatch=states.manage