Skip to main content
Oct 11, 2016 1:45 PM UTC
Answered

Zip code field validation

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 is closed to new replies. Start a new post to keep the conversation going.
AadeshSingh
AadeshSinghCorrect answer
Participating Frequently
Oct 12, 2016 10:49 PM UTC

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
AadeshSinghCorrect answer
Participating Frequently
Oct 12, 2016 10:49 PM UTC

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

Translate