<?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>
									What JQuery can make Tags a required field in the Add-Topic form, when ID keeps changing? - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/what-jquery-can-make-tags-a-required-field-in-the-add-topic-form-when-id-keeps-changing/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 14 Aug 2026 06:15:00 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: What JQuery can make Tags a required field in the Add-Topic form, when ID keeps changing?</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/what-jquery-can-make-tags-a-required-field-in-the-add-topic-form-when-id-keeps-changing/#post-46646</link>
                        <pubDate>Thu, 08 Oct 2020 10:11:06 +0000</pubDate>
                        <description><![CDATA[Hi @mplusplus,
Please try the following JS code:
function wpfcf_make_tags_required(){   jQuery(&#039;form input&#039;).prop(&#039;required&#039;, true);}jQuery(document).ready(...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@mplusplus,</span></p>
<p>Please try the following JS code:</p>
<pre>function wpfcf_make_tags_required(){<br />   jQuery('form input').prop('required', true);<br />}<br />jQuery(document).ready(wpfcf_make_tags_required);<br />document.addEventListener('wpforo_topic_portable_form', wpfcf_make_tags_required);</pre>
<p><span>The code should be added in the current active theme JS  files.</span></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Alvina</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/what-jquery-can-make-tags-a-required-field-in-the-add-topic-form-when-id-keeps-changing/#post-46646</guid>
                    </item>
				                    <item>
                        <title>What JQuery can make Tags a required field in the Add-Topic form, when ID keeps changing?</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/what-jquery-can-make-tags-a-required-field-in-the-add-topic-form-when-id-keeps-changing/#post-46495</link>
                        <pubDate>Sun, 04 Oct 2020 01:35:41 +0000</pubDate>
                        <description><![CDATA[Hi there
I see that in the Add Topic form, the ID of the Tags input element keeps changing. So, what JQuery code can make it a required field, please?
I tried this but it did not work.
$....]]></description>
                        <content:encoded><![CDATA[<p>Hi there</p>
<p>I see that in the Add Topic form, the ID of the Tags input element keeps changing. So, what JQuery code can make it a required field, please?</p>
<p>I tried this but it did not work.</p>
<pre>$.wpf_tags.attr("required", true);</pre>
<p>Thanks.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>mplusplus</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/what-jquery-can-make-tags-a-required-field-in-the-add-topic-form-when-id-keeps-changing/#post-46495</guid>
                    </item>
							        </channel>
        </rss>
		