Title: include_blank tag doesn&#8217;t work
Last modified: August 8, 2023

---

# include_blank tag doesn’t work

 *  Resolved [icaruswebsites](https://wordpress.org/support/users/icaruswebsites/)
 * (@icaruswebsites)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/include_blank-tag-doesnt-work/)
 * The CF7 include-blank tag doesn’t work, if I create a select with external data
   source with your plugin. How do I get a blank option in such a select to leave
   the select empty?
 * Best,
 * Ralf

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/include_blank-tag-doesnt-work/#post-16955387)
 * Hello [@icaruswebsites](https://wordpress.org/support/users/icaruswebsites/)
 * Thank you very much for using our plugin. You must enter the blank option in 
   the select tag and tells the [cf7-link-field] tag to keep it.
 * Ex.
 *     ```wp-block-code
       [select posts include_blank]
       [cf7-recordset id="posts-list" type="database" query="SELECT ID,post_title FROM {wpdb.posts} WHERE post_status='publish'"]
       [cf7-link-field recordset="posts-list" field="posts" value="ID" text="post_title" keep-options]
       ```
   
 * Please, note the `include_blank` attribute in the [select] tag and the `keep-
   options` attribute in the [cf7-link-field].
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘include_blank tag doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/cf7-data-source/assets/icon-256x256.gif?rev=2508392)
 * [Data Source for Contact Form 7](https://wordpress.org/plugins/cf7-data-source/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-data-source/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-data-source/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-data-source/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-data-source/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-data-source/reviews/)

## Tags

 * [Blank](https://wordpress.org/support/topic-tag/blank/)
 * [select](https://wordpress.org/support/topic-tag/select/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/include_blank-tag-doesnt-work/#post-16955387)
 * Status: resolved