<?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: PHP Echo in Fieldlabel / Value field?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: PHP Echo in Fieldlabel / Value field?</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 08:18:48 +0000</pubDate>

<item>
<title>yuniar on "PHP Echo in Fieldlabel / Value field?"</title>
<link>https://www.machform.com/forums/topic/php-echo-in-fieldlabel#post-3840</link>
<pubDate>Fri, 28 Nov 2008 17:46:09 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3840@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ah.. I see.&#60;br /&#62;
So you are pasting the code from the form builder?&#60;/p&#62;
&#60;p&#62;I'm afraid that won't work. Field label and field value doesn't accept any PHP code indeed.&#60;/p&#62;
&#60;p&#62;You need to modify the PHP code directly to do this (which I thought you did this one).&#60;/p&#62;
&#60;p&#62;Edit your &#34;includes/view-functions.php&#34; file. Search for display_text() function and put the necessary code there.
&#60;/p&#62;</description>
</item>
<item>
<title>84R on "PHP Echo in Fieldlabel / Value field?"</title>
<link>https://www.machform.com/forums/topic/php-echo-in-fieldlabel#post-3834</link>
<pubDate>Thu, 27 Nov 2008 19:47:42 +0000</pubDate>
<dc:creator>84R</dc:creator>
<guid isPermaLink="false">3834@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi yuniar!&#60;/p&#62;
&#60;p&#62;Ive tried that now for a couple of times, but no luck so far, Ive tried to put it in the Mail, Field Text and Field Label but it dosent work...&#60;/p&#62;
&#60;p&#62;Maybe I should make a new &#34;field&#34; with just like you made all the single line text, and so on, and include the echo in there instead...
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "PHP Echo in Fieldlabel / Value field?"</title>
<link>https://www.machform.com/forums/topic/php-echo-in-fieldlabel#post-3831</link>
<pubDate>Thu, 27 Nov 2008 17:34:11 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3831@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Instead of using that code, use only this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;{$_REQUEST[switch]}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;make sure to have those curly brackets.
&#60;/p&#62;</description>
</item>
<item>
<title>84R on "PHP Echo in Fieldlabel / Value field?"</title>
<link>https://www.machform.com/forums/topic/php-echo-in-fieldlabel#post-3830</link>
<pubDate>Thu, 27 Nov 2008 17:20:13 +0000</pubDate>
<dc:creator>84R</dc:creator>
<guid isPermaLink="false">3830@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;&#60;code&#62;&#38;lt;?php echo &#38;quot;$_REQUEST[switch]&#38;quot; ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Thats the code, I just want the result of the command to show in the field or in the mail that has been sent, but it dosent work as an php command it just prints the text as a text &#38;lt;?php echo &#34;$_REQUEST[switch]&#34; ?&#38;gt;.&#60;/p&#62;
&#60;p&#62;The html commands worked like a charm! But is there anyway to do so with php commands?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "PHP Echo in Fieldlabel / Value field?"</title>
<link>https://www.machform.com/forums/topic/php-echo-in-fieldlabel#post-3827</link>
<pubDate>Thu, 27 Nov 2008 15:00:59 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3827@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Charlie,&#60;/p&#62;
&#60;p&#62;Can you paste me your code please?
&#60;/p&#62;</description>
</item>
<item>
<title>84R on "PHP Echo in Fieldlabel / Value field?"</title>
<link>https://www.machform.com/forums/topic/php-echo-in-fieldlabel#post-3815</link>
<pubDate>Wed, 26 Nov 2008 23:47:24 +0000</pubDate>
<dc:creator>84R</dc:creator>
<guid isPermaLink="false">3815@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi again everyone!&#60;/p&#62;
&#60;p&#62;I´ve stumpled upon a new problem... :-D ( You´ll always learn new things everyday... )&#60;/p&#62;
&#60;p&#62;Ive got a problem with a kinda complicated thing with the form...&#60;/p&#62;
&#60;p&#62;First you log in to a 'identification' page and then it forwards you to the order form, and in the form Im trying to do an &#38;lt;?php echo &#34;$_REQUEST[switch]&#34; ?&#38;gt; command in the Default value field and lock it so just an admin can view it ( so it could be sent me in a Email, but the problem is that it dosent work like the html links I´ve asked about before, it just writes out &#38;lt;?php echo &#34;$_REQUEST[switch]&#34; ?&#38;gt; instead of the switchname.&#60;/p&#62;
&#60;p&#62;Im sure that the command is right, but how do I get the echo command to work as an php command?&#60;/p&#62;
&#60;p&#62;Or is there any thing I could do with the mail thats being sent to me instead?&#60;br /&#62;
( tried the echo thingy there to but no luck... )&#60;/p&#62;
&#60;p&#62;Sorry for my poor English!&#60;/p&#62;
&#60;p&#62;Best Regards&#60;/p&#62;
&#60;p&#62;Charlie.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
