You could use onChange to combine the values into a new value “US-90210”, saved within a hidden field on a key added as part of the form, then validate on that hidden field with a regex covering both formats. see: https://showbox.onl/, https://vidmate.onl/ & https://mobdro.onl/ .