• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Dropdown with countries that changes country code

Dropdown with countries that changes country code 13 years 4 months ago #15763

Hi all,

I need to have a dropdown with all countries in it. Once the user selects or changes the country I need to have a small textbox that automatically sets the country code (phone prefix) for that country.

I have the lists in a text file and I'm not very technical (not java anyway). Appreciate if anyone can assist me in how to implement this.

I have a project that needs to be finished before Christmas and I'm kind of stuck on this one.

Many thanks to all of you!
The administrator has disabled public write access.

Re: Dropdown with countries that changes country code 13 years 4 months ago #15795

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

This can be done a solid PHP, Javascript and AJAX knowledge will be required. The implementation really depends on your specific requirements.

If you need to populate the field when making the selection from the country drop-down you will need an AJAX approach.

If this isn't the case, you can use the Scripts called on form process area to assign the grabbed value (from the txt file).
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!