<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Blank values in select fields not retained - wpForo Topic Custom Fields				            </title>
            <link>https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/</link>
            <description>WordPress Plugins Support Forum</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 20 May 2026 20:31:51 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Blank values in select fields not retained</title>
                        <link>https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/paged/2/#post-38984</link>
                        <pubDate>Tue, 02 Jul 2024 18:06:25 +0000</pubDate>
                        <description><![CDATA[Thank you! This issue has been resolved after getting all plugins upgraded.We can close this out]]></description>
                        <content:encoded><![CDATA[<p>Thank you! This issue has been resolved after getting all plugins upgraded.<br /><br />We can close this out</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-topic-custom-fields/">wpForo Topic Custom Fields</category>                        <dc:creator>Lynne Benedict</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/paged/2/#post-38984</guid>
                    </item>
				                    <item>
                        <title>RE: Blank values in select fields not retained</title>
                        <link>https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38405</link>
                        <pubDate>Thu, 22 Feb 2024 00:24:20 +0000</pubDate>
                        <description><![CDATA[OK I will get everything updated and try again. We are currently on a freeze and will be able to upgrade in about 3 weeks. Please keep this issue open until we confirm that upgrading resolve...]]></description>
                        <content:encoded><![CDATA[<p>OK I will get everything updated and try again. We are currently on a freeze and will be able to upgrade in about 3 weeks. Please keep this issue open until we confirm that upgrading resolves the issue.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-topic-custom-fields/">wpForo Topic Custom Fields</category>                        <dc:creator>Lynne Benedict</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38405</guid>
                    </item>
				                    <item>
                        <title>RE: Blank values in select fields not retained</title>
                        <link>https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38399</link>
                        <pubDate>Wed, 21 Feb 2024 10:43:41 +0000</pubDate>
                        <description><![CDATA[Hi @lynne-benedict Why haven&#039;t you updated wpForo to the latest version? The functionality for custom fields is provided by the &quot;Topic Custom Fields&quot; addon, but the form printing functionali...]]></description>
                        <content:encoded><![CDATA[<p>Hi @lynne-benedict <br /><span>Why haven't you updated wpForo to the latest version? The functionality for custom fields is provided by the "Topic Custom Fields" addon, but the form printing functionality is embedded within the wpForo core code. You should update all wpForo components, including the wpForo core and additional addons. Please update everything to the latest versions and test again.</span></p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-topic-custom-fields/">wpForo Topic Custom Fields</category>                        <dc:creator>Razmik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38399</guid>
                    </item>
				                    <item>
                        <title>RE: Blank values in select fields not retained</title>
                        <link>https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38398</link>
                        <pubDate>Wed, 21 Feb 2024 00:25:22 +0000</pubDate>
                        <description><![CDATA[@blackraz We are still having the issue described in the original post with the latest version of &#039;wpForo Topic Custom Fields&#039; plugin installed.]]></description>
                        <content:encoded><![CDATA[@blackraz <br /><br />We are still having the issue described in the original post with the latest version of 'wpForo Topic Custom Fields' plugin installed.]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-topic-custom-fields/">wpForo Topic Custom Fields</category>                        <dc:creator>Lynne Benedict</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38398</guid>
                    </item>
				                    <item>
                        <title>RE: Blank values in select fields not retained</title>
                        <link>https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38397</link>
                        <pubDate>Wed, 21 Feb 2024 00:22:21 +0000</pubDate>
                        <description><![CDATA[Hello, I just confirmed we have the latest version of &#039;wpForo Topic Custom Fields&#039; plugin installed.For reference I&#039;ve attached a screenshot of all the wpforo plugins we have installed curre...]]></description>
                        <content:encoded><![CDATA[<p>Hello, <br /><br /><br />I just confirmed we have the latest version of 'wpForo Topic Custom Fields' plugin installed.<br /><br />For reference I've attached a screenshot of all the wpforo plugins we have installed currently.<br /><br /></p>
7140
<p><br /><br />L</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-topic-custom-fields/">wpForo Topic Custom Fields</category>                        <dc:creator>Lynne Benedict</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38397</guid>
                    </item>
				                    <item>
                        <title>RE: Blank values in select fields not retained</title>
                        <link>https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38391</link>
                        <pubDate>Mon, 19 Feb 2024 14:10:55 +0000</pubDate>
                        <description><![CDATA[Hi @lynne-benedict 
Please confirm which version of the &#039;wpForo Topic Custom Fields&#039; plugin you are using. The latest version is 3.2.1. We conducted tests on our end to create two dropdown ...]]></description>
                        <content:encoded><![CDATA[<p>Hi @lynne-benedict </p>
<p>Please confirm which version of the 'wpForo Topic Custom Fields' plugin you are using. The latest version is 3.2.1. We conducted tests on our end to create two dropdown fields, one of which is required and has a default value selected by wrapping it with brackets [], while the other dropdown field is not required but both are searchable.</p>
<p>When creating a new topic, the required field already has a selected default value, but the non-required field has a special dummy option "--- Choose ---". After successfully saving the topic, the required field retains its default chosen option value, while the non-required field is not saved because no option was chosen.</p>
<p>After conducting all experiments, I attempted to use the advanced search feature. On the advanced search page, all dropdown fields are not required and each has a first dummy option labeled "--- Choose ---".</p>
<p>It appears that the system is functioning correctly, and there are no issues related to default values or required/non-required fields. It's possible that you are using an older version of TCF. Please update to the latest version and try removing any additional custom coding on your end. After doing so, please test the mentioned functionality and let us know the results.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-topic-custom-fields/">wpForo Topic Custom Fields</category>                        <dc:creator>Razmik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38391</guid>
                    </item>
				                    <item>
                        <title>Blank values in select fields not retained</title>
                        <link>https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38377</link>
                        <pubDate>Fri, 16 Feb 2024 18:40:25 +0000</pubDate>
                        <description><![CDATA[Hello!We are using a forum with TCF with 7 select fields. Some of these fields are required, others not. When topics are created, we want the required fields to be pre-populated with default...]]></description>
                        <content:encoded><![CDATA[<p>Hello!<br /><br />We are using a forum with TCF with 7 select fields. Some of these fields are required, others not. When topics are created, we want the required fields to be pre-populated with default values, but the fields that aren't required should be blank. Also, when users try to do an advanced search by custom fields, NONE of the selects should be pre-populated.</p>
<p>We have found a way to accomplish this by adding a blank (or empty string) value to the beginning of each select field. Then for the value that should be the default on topic creation, we wrap it in square brackets ().<br /><br />However, the problem is, when you go to edit a field, the first blank value disappears and has to be re-added before the field is saved. Even worse, ALL of the other select fields also have their blank first value deleted.<br /><br />The only way to keep our topic creation and search working as we want is to manually edit the form in the database. In the `wp_wpforo_forms` database, in the appropriate `field` column, we have to edit all of the select fields so the "values" array starts with an empty string:<br /><br /></p>
<pre contenteditable="false">...values":["", "", "value2","value3"],"type":"select",...</pre>
<p>Fix: When editing a field (especially a select field), retain any blank values that the user adds for that select field (and any other select fields)</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-topic-custom-fields/">wpForo Topic Custom Fields</category>                        <dc:creator>Lynne Benedict</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-topic-custom-fields/blank-values-in-select-fields-not-retained/#post-38377</guid>
                    </item>
							        </channel>
        </rss>
		