1

Just wonder if there is a way to show country name in country field while keeping the field readonly/"disabled" on webforms? For example, you want users to see their countries but not editing them. The closest I can get is to change the field type to textfield and "disable" it but it shows the country code instead of country name.

1

If you're creating a link from elsewhere that pre-populates the information, you could use a Drupal Views block that displays the country field as read-only. (For reference: Displaying a Views block with a CiviCRM-enabled webform)

  • 1
    Hi Allen, just wanted to say thanks for all your contributions lately! Much appreciated! Cheers, Joe – Joe Murray Jan 23 '16 at 21:23
  • Thanks for saying so! Glad to be a part of the Civi community. – Allen Hutchison Jan 23 '16 at 22:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.