<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Regarding "Template Variable Lookup"</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Regarding "Template Variable Lookup"</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 20:40:17 +0000</pubDate>

<item>
<title>MvdL79 on "Regarding "Template Variable Lookup""</title>
<link>https://www.machform.com/forums/topic/regarding-template-variable-lookup#post-15133</link>
<pubDate>Mon, 25 Jun 2012 15:24:03 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">15133@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks Yuniar and I send you an email.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Regarding "Template Variable Lookup""</title>
<link>https://www.machform.com/forums/topic/regarding-template-variable-lookup#post-15126</link>
<pubDate>Sat, 23 Jun 2012 15:37:44 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">15126@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I have a simple workaround for the template variable. Please contact me directly and I'll send you the file.&#60;/p&#62;
&#60;p&#62;Regarding your second question, you can do it with this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 7){
    if($data[&#38;#39;element_id&#38;#39;] == 14 &#38;#38;&#38;#38; !empty($data[&#38;#39;value&#38;#39;])){
        $data[&#38;#39;value&#38;#39;] .= &#38;#39;&#38;lt;br&#38;gt;&#38;lt;br&#38;gt;&#38;#39;;
    }
    if($data[&#38;#39;element_id&#38;#39;] == 24 &#38;#38;&#38;#38; empty($data[&#38;#39;value&#38;#39;])){
        $data[&#38;#39;value&#38;#39;] = &#38;#39;Nothing is included here&#38;#39;;
    }
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>MvdL79 on "Regarding "Template Variable Lookup""</title>
<link>https://www.machform.com/forums/topic/regarding-template-variable-lookup#post-15115</link>
<pubDate>Fri, 22 Jun 2012 21:56:32 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">15115@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I have another question as well, so hopefully both can be answered the same time...&#60;/p&#62;
&#60;p&#62;My second question is regarding a paragraph field. In helper-functions.php I created the following:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 7){
if($data[&#38;#39;element_id&#38;#39;] == 14 &#38;#38;&#38;#38; !empty($data[&#38;#39;value&#38;#39;])){
$data[&#38;#39;value&#38;#39;] .= &#38;#39;&#38;lt;br&#38;gt;&#38;lt;br&#38;gt;&#38;#39;;
}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;For a particual paragraph (with ID 14), however for a different paragraph (with ID 24) I want something different. If this paragraph is left empy (and only when it's left empty), it should display the following text &#34;Nothing is included here&#34;.&#60;/p&#62;
&#60;p&#62;How do I do that? Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Regarding "Template Variable Lookup""</title>
<link>https://www.machform.com/forums/topic/regarding-template-variable-lookup#post-15114</link>
<pubDate>Fri, 22 Jun 2012 15:10:05 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">15114@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I have a question regarding &#34;Template Variable Lookup&#34;&#60;/p&#62;
&#60;p&#62;With the old version of Machform all variables were shown at once, instead of a pulldown. The overview was much easier to work with when your form has over 20 elements (and not to mention over 25 forms). Is it possible to get an overview, instead of a pulldown menu?&#60;/p&#62;
&#60;p&#62;It would save me a lot, and I repeat, a lot of time and hassle...&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
