Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Zip code field validation

Guest
Oct 11, 2016 Oct 11, 2016

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

491
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Oct 12, 2016 Oct 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:

Condition1.JPG

Condition2.JPG

This might be of some help.

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

Regards,

Aadesh

Translate
Oct 12, 2016 Oct 12, 2016
LATEST

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:

Condition1.JPG

Condition2.JPG

This might be of some help.

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

Regards,

Aadesh

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines