Skip to main content
October 11, 2016
Answered

Zip code field validation

  • October 11, 2016
  • 1 reply
  • 557 views

Hello,

My question is simple: is it possible to have two countries check for the zip code field?

Ex: zip(country=uk) --> zip(or(country=uk,country=fr))

In my case clients can be French (fr) or Belgian (be).

Thanks in advance,

Tom

This topic has been closed for replies.
Correct answer AadeshSingh

Hi tomb66427613​,

Please be informed there is no such coding option to setup the fields.

However you can try this:

Add radio button (0= country1, 1= country2) and make it required, then add two text fields that will get activated when once of the radio button is activated with validation setup for the country and add the below conditions:

This might be of some help.

Feel free to reach us back if you have any query or concern.

Regards,

Aadesh

1 reply

AadeshSingh
Community Manager
AadeshSinghCommunity ManagerCorrect answer
Community Manager
October 12, 2016

Hi tomb66427613​,

Please be informed there is no such coding option to setup the fields.

However you can try this:

Add radio button (0= country1, 1= country2) and make it required, then add two text fields that will get activated when once of the radio button is activated with validation setup for the country and add the below conditions:

This might be of some help.

Feel free to reach us back if you have any query or concern.

Regards,

Aadesh