<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Show/hide some predefined text on Detailpage with checkbox</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Show-hide-some-predefined-text-on-Detailpage-with-checkbox-80232</link>
        <description></description>
        <pubDate>Tue, 17 Mar 2026 00:11:01 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Show-hide-some-predefined-text-on-Detailpage-with-checkbox-80232" rel="self" type="application/rss+xml" />

                <item>
          <title>Show/hide some predefined text on Detailpage with checkbox</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237418#post2237418</link>
          <description><![CDATA[<p>Hi Koen,</p>
<p>Here are some steps to show/hide content based on a checkbox in CMS Builder:</p>
<ol><li>Add a checkbox in CMS Builder called "Show Featured Content" for example. Set the Default State radio button to Checked. And add text in the "Field Description" like this: Uncheck to hide Featured Content</li>
<li>Generate to code for the checkbox and add it to your template along with the IF statement like this:</li>
</ol><p><code>&lt;?php if($record['show_featured_content'] == 1) : //if checkbox is checked then show the content ?&gt;<br />   Predefined text here &lt;br /&gt;<br /> &lt;?php endif; ?&gt;</code></p>

<p>That should be it.  Try this out and let me know if you have any questions or issues.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Thu, 24 Sep 2015 09:56:37 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237418#post2237418</guid>
        </item>
                <item>
          <title>Show/hide some predefined text on Detailpage with checkbox</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237411#post2237411</link>
          <description><![CDATA[<p>Hi, I'm wondering how to do this:</p>
<p>On the product detailpage I want my client to have the option to show or hide some predefined text with a checkbox option in the CMS, in effect: the predefined text should be visible on the website when the checkbox in the CMS is checked...  and should disappear from the site when the checkbox in CMS is unchecked.</p>
<p>How can I achieve this pls ??</p>
<p>Thx in advance.</p>
<p>Koen</p>]]></description>
          <pubDate>Wed, 23 Sep 2015 05:40:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237411#post2237411</guid>
        </item>
              </channel>
    </rss>
  