<?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: Who to change the case of text fields</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Who to change the case of text fields</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 01:42:19 +0000</pubDate>

<item>
<title>yuniar on "Who to change the case of text fields"</title>
<link>https://www.machform.com/forums/topic/who-to-change-the-case-of-text-fields#post-21257</link>
<pubDate>Mon, 16 Jun 2014 05:37:42 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">21257@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes, you can use conditional logic, like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 1827 &#38;#38;&#38;#38; $element_name == &#38;#39;element_2&#38;#39;){
  $table_data[$element_name] = ucwords(strtolower($element_data));
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;On the above sample, your form id number is 1827, while your element name is &#34;element_2&#34;
&#60;/p&#62;</description>
</item>
<item>
<title>edbarrios on "Who to change the case of text fields"</title>
<link>https://www.machform.com/forums/topic/who-to-change-the-case-of-text-fields#post-21211</link>
<pubDate>Tue, 10 Jun 2014 08:46:08 +0000</pubDate>
<dc:creator>edbarrios</dc:creator>
<guid isPermaLink="false">21211@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is possible to apply this only to one id form and a know element_id ?&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>timothykrulan on "Who to change the case of text fields"</title>
<link>https://www.machform.com/forums/topic/who-to-change-the-case-of-text-fields#post-16562</link>
<pubDate>Wed, 28 Nov 2012 00:00:06 +0000</pubDate>
<dc:creator>timothykrulan</dc:creator>
<guid isPermaLink="false">16562@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks for the quick reply - this worked perfectly!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Who to change the case of text fields"</title>
<link>https://www.machform.com/forums/topic/who-to-change-the-case-of-text-fields#post-16561</link>
<pubDate>Tue, 27 Nov 2012 21:44:41 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">16561@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can try edit &#34;post-function.php&#34; file and go to around line 400. You will see this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$table_data[$element_name] = $element_data;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then you can change the code to be like this &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$table_data[$element_name] = ucwords(strtolower($element_data));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that would convert your single line text field value capitalized on first letter.
&#60;/p&#62;</description>
</item>
<item>
<title>timothykrulan on "Who to change the case of text fields"</title>
<link>https://www.machform.com/forums/topic/who-to-change-the-case-of-text-fields#post-16559</link>
<pubDate>Tue, 27 Nov 2012 21:32:34 +0000</pubDate>
<dc:creator>timothykrulan</dc:creator>
<guid isPermaLink="false">16559@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I would like to format the case of the text entered into a all text fields so that he first letter of each word is capitolized using some PHP code like:&#60;/p&#62;
&#60;p&#62;            &#60;code&#62;$bar = ucwords(strtolower($bar));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;but do not know where to place it?&#60;/p&#62;
&#60;p&#62;Has anyone done this and know where to add the code?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
