<?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: Change Value Default for placeholder</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Change Value Default for placeholder</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 20:40:35 +0000</pubDate>

<item>
<title>burkecom on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-21073</link>
<pubDate>Tue, 20 May 2014 00:06:15 +0000</pubDate>
<dc:creator>burkecom</dc:creator>
<guid isPermaLink="false">21073@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes and when using the place holder, the required fields error section removes the placeholder... as i am using hidden field titles the boxes are highlighted and show blank boxes.&#60;/p&#62;
&#60;p&#62;any way to have placeholders remain?
&#60;/p&#62;</description>
</item>
<item>
<title>adamaliau on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-21069</link>
<pubDate>Mon, 19 May 2014 09:26:34 +0000</pubDate>
<dc:creator>adamaliau</dc:creator>
<guid isPermaLink="false">21069@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;can we have a new database field to be added to capture the placeholder value and in the code we configure the value as it would be a clean solution for this?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-21022</link>
<pubDate>Tue, 13 May 2014 05:48:08 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">21022@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Just a note for anyone doing this modification, make sure not to replace your field's label completely with placeholders as it might reduce the usability of your form. A good read on this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.nngroup.com/articles/form-design-placeholders/&#34; rel=&#34;nofollow&#34;&#62;http://www.nngroup.com/articles/form-design-placeholders/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>ChessMan on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-20996</link>
<pubDate>Fri, 09 May 2014 20:29:22 +0000</pubDate>
<dc:creator>ChessMan</dc:creator>
<guid isPermaLink="false">20996@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;@burkecom - great question - bump.&#60;/p&#62;
&#60;p&#62;Also, paragraph replace would be awesome.&#60;/p&#62;
&#60;p&#62;You can edit MF3.5 &#60;code&#62;&#34;includes/view-functions.php&#34;&#60;/code&#62; file.&#60;/p&#62;
&#60;p&#62;line # 144&#60;br /&#62;
line # 732&#60;br /&#62;
line # 779&#60;br /&#62;
line # 960&#60;br /&#62;
line # 2727&#60;/p&#62;
&#60;p&#62;&#60;code&#62;value=&#34;{$element-&#38;gt;default_value}&#34;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;WITH&#60;/p&#62;
&#60;p&#62;&#60;code&#62;placeholder=&#34;{$element-&#38;gt;default_value}&#34;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;as Yuniar mentioned above
&#60;/p&#62;</description>
</item>
<item>
<title>burkecom on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-20979</link>
<pubDate>Thu, 08 May 2014 23:58:07 +0000</pubDate>
<dc:creator>burkecom</dc:creator>
<guid isPermaLink="false">20979@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Has there been any progress with creating a placeholder section so we dont have to change this per machform?
&#60;/p&#62;</description>
</item>
<item>
<title>jdevelopia on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-17916</link>
<pubDate>Fri, 05 Apr 2013 16:46:54 +0000</pubDate>
<dc:creator>jdevelopia</dc:creator>
<guid isPermaLink="false">17916@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;thanks a lot Yunair, don´t worry I understand perfectly the reason. &#60;/p&#62;
&#60;p&#62;Again, thanks a lot.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-17868</link>
<pubDate>Mon, 01 Apr 2013 12:01:08 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">17868@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'm afraid the paragraph field is a bit more complicated and you can't simply change the attribute to &#34;placeholder&#34; without affecting the whole functionality. Sorry. I don't have a workaround for this yet.
&#60;/p&#62;</description>
</item>
<item>
<title>jdevelopia on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-17796</link>
<pubDate>Wed, 27 Mar 2013 23:57:08 +0000</pubDate>
<dc:creator>jdevelopia</dc:creator>
<guid isPermaLink="false">17796@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think I change the line 258 of view-functions &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$element_markup = &#38;lt;&#38;lt;&#38;lt;EOT
		&#38;lt;li id=&#38;quot;li_{$element-&#38;gt;id}&#38;quot; {$li_class}&#38;gt;
		&#38;lt;label class=&#38;quot;description&#38;quot; for=&#38;quot;element_{$element-&#38;gt;id}&#38;quot;&#38;gt;{$element-&#38;gt;title} {$span_required}&#38;lt;/label&#38;gt;
		&#38;lt;div&#38;gt;
			&#38;lt;textarea id=&#38;quot;element_{$element-&#38;gt;id}&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}&#38;quot; class=&#38;quot;element textarea {$element-&#38;gt;size}&#38;quot; rows=&#38;quot;8&#38;quot; cols=&#38;quot;90&#38;quot; {$input_handler}&#38;gt;{$element-&#38;gt;default_value}&#38;lt;/textarea&#38;gt;
			{$range_limit_markup}
		&#38;lt;/div&#38;gt;{$guidelines} {$error_message}
		&#38;lt;/li&#38;gt;
EOT;

		return $element_markup;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but i can´t do it successfull!
&#60;/p&#62;</description>
</item>
<item>
<title>jdevelopia on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-17638</link>
<pubDate>Fri, 15 Mar 2013 01:18:25 +0000</pubDate>
<dc:creator>jdevelopia</dc:creator>
<guid isPermaLink="false">17638@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I can´t find the function to change the Default Value into the Field Type &#34;Paragraph Text&#34;.&#60;/p&#62;
&#60;p&#62;Help!! ;)&#60;/p&#62;
&#60;p&#62;Thanks a lot!
&#60;/p&#62;</description>
</item>
<item>
<title>jdevelopia on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-17577</link>
<pubDate>Tue, 12 Mar 2013 21:47:08 +0000</pubDate>
<dc:creator>jdevelopia</dc:creator>
<guid isPermaLink="false">17577@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;hi again!&#60;/p&#62;
&#60;p&#62;When I put some text in Defalut Value in a Field Type &#34;Paragraph Text&#34; the placeholder doesn´t works.&#60;/p&#62;
&#60;p&#62;What I need to change?&#60;/p&#62;
&#60;p&#62;Thanks a lot!!!!
&#60;/p&#62;</description>
</item>
<item>
<title>jdevelopia on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-17562</link>
<pubDate>Mon, 11 Mar 2013 15:15:53 +0000</pubDate>
<dc:creator>jdevelopia</dc:creator>
<guid isPermaLink="false">17562@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Great!!! I have it!!! thanks thanks a lot Yuniar!&#60;/p&#62;
&#60;p&#62;big hug!!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-17554</link>
<pubDate>Mon, 11 Mar 2013 12:29:00 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">17554@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can edit the &#34;includes/view-functions.php&#34; file. There are many places you need to adjust though.&#60;br /&#62;
Basically you need to find this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;value=&#38;quot;{$element-&#38;gt;default_value}&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;placeholder=&#38;quot;{$element-&#38;gt;default_value}&#38;quot;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>jdevelopia on "Change Value Default for placeholder"</title>
<link>https://www.machform.com/forums/topic/change-value-default-for-placeholder#post-17531</link>
<pubDate>Sat, 09 Mar 2013 16:51:14 +0000</pubDate>
<dc:creator>jdevelopia</dc:creator>
<guid isPermaLink="false">17531@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi guys&#60;/p&#62;
&#60;p&#62;How I can change the &#34;value&#34; for &#34;placeholder&#34;?&#60;/p&#62;
&#60;p&#62;When I put a &#34;Default Value&#34; in one of my field-forms I see this code:&#60;br /&#62;
&#38;lt;input id=&#34;element_1&#34; class=&#34;element text medium&#34; type=&#34;text&#34; value=&#34;Default Value&#34; name=&#34;element_1&#34;&#38;gt; how I can changes this by:&#60;br /&#62;
&#38;lt;input id=&#34;element_1&#34; class=&#34;element text medium&#34; type=&#34;text&#34; placeholder=&#34;Default Value&#34; name=&#34;element_1&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;Thanks a lot!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
