• Resolved nfalke

    (@nfalke)


    Hello,
    we only have local customers and want to keep the booking form simple.
    Is it possible not to display the phone dropdown (flag) via css or php code for function.php?
    Many thanks in advance for your support.

    Best regards,
    Nicole

Viewing 1 replies (of 1 total)
  • Plugin Contributor Simply Schedule Appointments Support

    (@simplyscheduleappointments)

    Hello Nicole,

    We could help you hide the country dropdown in the phone field, though we highly recommend you against it.

    Since we don’t have a way to fully disable it, this could be risky to just hide it with CSS. There’s always a small chance that the API we use for country-detection to be down or unavailable and return an error. This would prevent the user from having the correct country code and they wouldn’t be able to see that to correct it.

    The country code is actually auto-detected using your computer’s IP address. It’s quite rare to have a customer ever need to change that or have it be generated wrong.

    If you’d still like to hide it, here is some CSS to help you do that:

    div.vue-tel-input div.dropdown {
    display:none;
    }

    .md-input-container.vue-tel-input-container .md-icon:not(.md-icon-delete)~label {
    left: 36px;
    }

    Add this to SSA Settings > Styles > Custom CSS,
    Natalie G

Viewing 1 replies (of 1 total)
  • The topic ‘booking form – not display phone dropdown’ is closed to new replies.