• Resolved jamestigerlab

    (@jamestigerlab)


    Hi,

    For the “Your Phone Number” input field, I used to have a default flag selected. And customer needs to let us know their country code with phone number. But recently, no default flag is display and customer can just input their phone number without letting us know their country code. Is there a way to make it a required field? And how to display the default flag that I want for the “Your Phone Number” input field?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Yordan Soares

    (@yordansoares)

    Hello @jamestigerlab,

    International Telephone Input for Contact Form 7 v1.5.7 includes a new option: Initial Country. Now you can set an initial country by default. Please note: when this option is set, the IP lookup feature will be disabled.

    To add this option to an existent form-tag, just put the initialCountry parameter with the two-letter country code of your initial country this way:

    [intl_tel your-phone initialCountry:us]

    You also can add a new international telephone input using the form tag generator:

    Adding an initial country

    I hope this help you.

    Best regards,
    Yordan.

    Thread Starter jamestigerlab

    (@jamestigerlab)

    Hi @yordansoares, thanks for the guidance. It works for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Default flag is gone’ is closed to new replies.