• I was wondering if there was a way to set the country text input to read only. This way they have to select from the ‘flag’ list to change it. Otherwise they can type what they want but the flags don’t change?

    right now I have to add a script to do this …

    
    <script>
    jQuery(document).ready(function(){
        jQuery('input[name="countrycode"]').prop('readonly', true);
    });
    </script>

    … it would be nice to have an attribute in the short code and not rely on javascript and jquery being enabled.

    • This topic was modified 3 years, 7 months ago by JamieWD.
  • The topic ‘readonly on country select’ is closed to new replies.