How to escape colon : in select field label?
-
I want a new user to register their timezone when registering. I’ll use a select field with labels and different values. The separate values format should be like label:value, but this causes issues for me, because in the time it uses a colon (:) and so it thinks the label stops after (GMT-12 and value starts at 00) International… etc
E.g:
(GMT-12:00) International Date Line West:Etc/GMT+12
(GMT-11:00) American Samoa:Pacific/Pago_Pago
(GMT-11:00) Midway Island:Pacific/MidwayIs there any way to escape the first colon?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to escape colon : in select field label?’ is closed to new replies.