Skip to main content
October 11, 2016
解決済み

Zip code field validation

  • October 11, 2016
  • 返信数 1.
  • 557 ビュー

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

このトピックへの返信は締め切られました。
解決に役立った回答 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

AadeshSingh
Community Manager
AadeshSinghCommunity Manager解決!
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