WordPress.org

Ready to get started?Download WordPress

Forums

Fast Secure Contact Form
[resolved] Escape comma with /, not working (3 posts)

  1. scottdaris
    Member
    Posted 3 years ago #

    I have a long list of world time zones in a dropdown menu and the escape comma technique to separate each value with an actual comma by using /, is not working. I've triple-checked my syntax and everything looks fine. Any ideas? Btw, if anyone needs a simplified (believe it or not) time zone list, here it is, using the /, separators (that still aren't working):

    Your Time Zone,Choose your time zone:;(GMT -12:00) Eniwetok/, Kwajalein;(GMT -11:00) Midway Island/, Samoa;(GMT -10:00) Hawaii;(GMT -9:00) Alaska;(GMT -8:00) Pacific Time (US + Canada);(GMT -7:00) Mountain Time (US + Canada);(GMT -6:00) Central Time (US + Canada)/, Mexico City;(GMT -5:00) Eastern Time (US + Canada)/, Bogota/, Lima;(GMT -4:00) Atlantic Time (Canada)/, Caracas/, La Paz;(GMT -3:30) Newfoundland;(GMT -3:00) Brazil/, Buenos Aires/, Georgetown;(GMT -2:00) Mid-Atlantic;(GMT -1:00) Azores/, Cape Verde Islands;(GMT) London/, Western Europe/, Lisbon/, Casablanca;(GMT +1:00) Brussels/, Copenhagen/, Madrid/, Paris;(GMT +2:00) Kaliningrad/, South Africa;(GMT +3:00) Baghdad/, Riyadh/, Moscow/, St. Petersburg;(GMT +3:30) Tehran;(GMT +4:00) Abu Dhabi/, Muscat/, Baku/, Tbilisi;(GMT +4:30) Kabul;(GMT +5:00) Ekaterinburg/, Islamabad/, Karachi/, Tashkent;(GMT +5:30) Bombay/, Calcutta/, Madras/, New Delhi;(GMT +5:45) Kathmandu;(GMT +6:00) Almaty/, Dhaka/, Colombo;(GMT +7:00) Bangkok/, Hanoi/, Jakarta;(GMT +8:00) Beijing/, Perth/, Singapore/, Hong Kong;(GMT +9:00) Tokyo/, Seoul/, Osaka/, Sapporo/, Yakutsk;(GMT +9:30) Adelaide/, Darwin;(GMT +10:00) Eastern Australia/, Guam/, Vladivostok;(GMT +11:00) Magadan/, Solomon Islands/, New Caledonia;(GMT +12:00) Auckland/, Wellington/, Fiji/, Kamchatka

  2. Mike Challis
    Member
    Plugin Author

    Posted 3 years ago #

    Sorry for the error in my documentation. It is supposed to be a backslash, not a forward slash. I just tested it and it works perfect, thanks for catching it.
    This (the documentation) will be fixed in version 2.9.7

    Your Time Zone,Choose your time zone:;(GMT -12:00) Eniwetok\, Kwajalein;(GMT -11:00) Midway Island\, Samoa;(GMT -10:00) Hawaii;(GMT -9:00) Alaska;(GMT -8:00) Pacific Time (US + Canada);(GMT -7:00) Mountain Time (US + Canada);(GMT -6:00) Central Time (US + Canada)\, Mexico City;(GMT -5:00) Eastern Time (US + Canada)\, Bogota\, Lima;(GMT -4:00) Atlantic Time (Canada)\, Caracas\, La Paz;(GMT -3:30) Newfoundland;(GMT -3:00) Brazil\, Buenos Aires\, Georgetown;(GMT -2:00) Mid-Atlantic;(GMT -1:00) Azores\, Cape Verde Islands;(GMT) London\, Western Europe\, Lisbon\, Casablanca;(GMT +1:00) Brussels\, Copenhagen\, Madrid\, Paris;(GMT +2:00) Kaliningrad\, South Africa;(GMT +3:00) Baghdad\, Riyadh\, Moscow\, St. Petersburg;(GMT +3:30) Tehran;(GMT +4:00) Abu Dhabi\, Muscat\, Baku\, Tbilisi;(GMT +4:30) Kabul;(GMT +5:00) Ekaterinburg\, Islamabad\, Karachi\, Tashkent;(GMT +5:30) Bombay\, Calcutta\, Madras\, New Delhi;(GMT +5:45) Kathmandu;(GMT +6:00) Almaty\, Dhaka\, Colombo;(GMT +7:00) Bangkok\, Hanoi\, Jakarta;(GMT +8:00) Beijing\, Perth\, Singapore\, Hong Kong;(GMT +9:00) Tokyo\, Seoul\, Osaka\, Sapporo\, Yakutsk;(GMT +9:30) Adelaide\, Darwin;(GMT +10:00) Eastern Australia\, Guam\, Vladivostok;(GMT +11:00) Magadan\, Solomon Islands\, New Caledonia;(GMT +12:00) Auckland\, Wellington\, Fiji\, Kamchatka

  3. scottdaris
    Member
    Posted 3 years ago #

    Thanks, Mike. I have never seen such fast and thorough support from anyone! And I'm a little embarrassed I didn't just try the other slash.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic