Andrea Afra
asked 9 years ago

Autocomplete is set to "off" in the ‘question title’ field, however it still loads ‘results’ or blank

  • with bullets. How do I disable the suggestions from showing on the question forms only but keep it in the regular search field on the ‘answers’ page.
  • <div class="input-title">
                <label for="question-title"><?php _e( 'Your question title- Please include genders/ages. Ex: Problems with my (Male/32) girlfriend (Female/33)', 'dwqa' ) ?> *</label>
                <input type="text" name="question-title" id="question-title" placeholder="<?php _e( 'How should I...', 'dwqa' ) ?>" autocomplete="off" data-nonce="<?php echo wp_create_nonce( '_dwqa_filter_nonce' ) ?>" value="<?php echo isset( $_POST['question-title'] ) ? esc_html( $_POST['question-title'] ) : ''; ?>" />
                <span class="dwqa-search-loading dwqa-hide"></span>
                <span class="dwqa-search-clear fa fa-times dwqa-hide"></span>
    1 Answers
    answered 9 years ago

    To resolve this issue, you can add the following code to the style.css file:

    .dwqa-submit-question .input-title .dwqa-search-loading {
        display: none !important;
    .dwqa-submit-question .search-results-suggest {
        display: none !important;

    Hope this helps !

    andrea afra
    replied 9 years ago

    It works perfectly!

    I did want to preserve the search suggestions in the ‘All Questions’ page so I added a plugin "CSS Plug" and only added the above css to the assigned ‘Ask’ page in WordPress.

    Powered by DW Question & Answer Pro