Forums

Country list preselected for user

seagul 30 Apr, 2014
Hello,

I need a field for phone numbers to be submitted.
As the users can be from any country I need a second field country selection.
Is it possible to have the country of the user preselected in a dropdown list? This could be via IP-Validation?
How could I do that? Javascript?
Thanks
Seagul
GreyHead 30 Apr, 2014
Hi Seagul,

I imagine that this could be done but it would need custom coding. You'd need to use a Custom Code action with PHP in the form On Load event to get the IP address and look it up.

Bob
This topic is locked and no more replies can be posted.