Conditionally show/hide an image and autocomplete widget example