How can I delete the country dropdown from the quick tools address widget?

  • Profile Image
    Asked on November 28, 2012 at 05:29 PM

    The form I'm creating doesn't need a country dropdown list. The client's business is strictly local. rather than go through the address elements manually, I would like to elliminate the country list from the quick tolls address. Is this possible?

  • Profile Image
    Answered on November 28, 2012 at 05:56 PM

    Yes, this is possible but only with css injection. Firstly, open the "inject css" field as described here: Then, insert the css content below:

    [id$='country'] {display:none}

    But of course you can also set the country dropdown to your choice by default. To achieve this open the properties section of the related field and select the default country.

  • Profile Image
    Answered on November 28, 2012 at 06:07 PM

    Thanks for the answer. The css is the way to go. The client does not operate in other countries and I don't want people thinking that they do.

  • Profile Image
    Answered on November 28, 2012 at 06:30 PM

    On behalf of my colleague Ozan, you are quite welcome :)

    Please feel free to contact us anytime if you need any further assistance.