Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter annamartindesigns

    (@annamartindesigns)

    Hello?

    Plugin Author Taylor Lovett

    (@tlovett1)

    You can accomplish this with JS for now.

    Thread Starter annamartindesigns

    (@annamartindesigns)

    Thanks Taylor. Can you explain to me what JS is?

    Plugin Author Taylor Lovett

    (@tlovett1)

    You will have to use custom JavaScript code 🙁 Sorry

    Thread Starter annamartindesigns

    (@annamartindesigns)

    I use Elegant Themes and their support team provided me with the necessary information to accomplish this. I highly recommend them!

    I put the code in the Integration section of the epanel, in the <head> section.

    <script type=”text/javascript”>
    (function($) {

    $(document).ready(function() {
    if ($(‘#ccf_field_address-4-country’).length) {
    $(‘#ccf_field_address-4-country’).val(‘Cameroon’);
    }
    });

    })(jQuery);
    </script>

    Works great.

    raymond-de

    (@raymond-de)

    It is very complicated. Could you make a field to set the default country?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘fixed Country field’ is closed to new replies.