• Resolved icaruswebsites

    (@icaruswebsites)


    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

    (@codepeople)

    Hello @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.

    
    [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.