• At the moment, I get the country flag, but users have the tendency to add the code again.

    Is there any chance to set it in a prefilled way?

    If my country is Italy – to have the +39 added to the field => flag + prefix

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support gurpreetk1

    (@gurpreetk1)

    Hi @crispalamaru,

    Our plugin is designed to work this way: when a user starts entering their phone number, the country code of the selected country is automatically prefixed to the input. This ensures that the number, along with the country code, is correctly submitted to the database.

    Yes, it is possible to prefill the country code through custom code. However, please note that doing so may result in the phone number being submitted to the database without the country code included.

    Thank you.

    Thread Starter crispalamaru

    (@crispalamaru)

    Hi! Thank you! Is there any chance to get from you the custom code or some instructions to add a custom code that adds the prefix once a flag is chosen & the user didn’t start to type yet?

    Plugin Support gurpreetk1

    (@gurpreetk1)

    Hi @crispalamaru,

    Please review the attached files for instructions on adding custom code to the plugin:

    [Attachment1]
    [Attachment2]
    Note: Kindly ensure to minified the files after adding the code.

    Feel free to reach out if you have any questions or need further assistance.

    Thank you!

    Thread Starter crispalamaru

    (@crispalamaru)

    Hi guys! This is amazing, it’s exactly how I want it to look, thank you!

    There is one problem though! At the moment, with this implementation, the country code is not sent in submissions, only the phone number after the code.

    Any suggestion on how to fix it?

    Plugin Support gurpreetk1

    (@gurpreetk1)

    Hi @crispalamaru,

    As mentioned earlier, with the customized code applied, the country code will not be included in the submissions along with the phone number.

    If having the country code in the submissions is essential for your requirements, you can revert the code to its previous version to restore that functionality.

    Feel free to reach out if you have any questions or need further assistance.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.