<?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: Send data from DB to populate fields in Machform</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Send data from DB to populate fields in Machform</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 04:02:04 +0000</pubDate>

<item>
<title>13floornetwork on "Send data from DB to populate fields in Machform"</title>
<link>https://www.machform.com/forums/topic/send-data-from-db-to-populate-fields-in-machform#post-10108</link>
<pubDate>Thu, 05 Aug 2010 05:21:07 +0000</pubDate>
<dc:creator>13floornetwork</dc:creator>
<guid isPermaLink="false">10108@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;drumaboy46, any examples you could send me would be great.
&#60;/p&#62;</description>
</item>
<item>
<title>drumaboy46 on "Send data from DB to populate fields in Machform"</title>
<link>https://www.machform.com/forums/topic/send-data-from-db-to-populate-fields-in-machform#post-9658</link>
<pubDate>Wed, 09 Jun 2010 18:57:26 +0000</pubDate>
<dc:creator>drumaboy46</dc:creator>
<guid isPermaLink="false">9658@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;13floornetwork this is achievable let me know what you need maybe I can help and send you some examples. :) However I just followed the links above to achieve this. If you can populate some elements you can populate all of them the key is the inlcudes/view-functions.php and the statement: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($_GET[&#38;#39;id&#38;#39;]==&#38;#39;x&#38;#39;) {

   //Populate this field for form x only

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This way the population only happens when you're in form 'x'(which could be any number.&#60;br /&#62;
You'd just have to repeat that step for each field type you have on your form be it email, text-field, paragraph field, etc...&#60;/p&#62;
&#60;p&#62;Again just let me know please back up your view-functions.php first before any edits.
&#60;/p&#62;</description>
</item>
<item>
<title>13floornetwork on "Send data from DB to populate fields in Machform"</title>
<link>https://www.machform.com/forums/topic/send-data-from-db-to-populate-fields-in-machform#post-9657</link>
<pubDate>Wed, 09 Jun 2010 10:17:13 +0000</pubDate>
<dc:creator>13floornetwork</dc:creator>
<guid isPermaLink="false">9657@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I need to do the same thing except I need to populate the whole form with all the form elements instead of just two or three elements. If you have a sample of what you did with drumaboy46 I think I could add to it to do the whole form.&#60;/p&#62;
&#60;p&#62;Thanks in advance
&#60;/p&#62;</description>
</item>
<item>
<title>drumaboy46 on "Send data from DB to populate fields in Machform"</title>
<link>https://www.machform.com/forums/topic/send-data-from-db-to-populate-fields-in-machform#post-9290</link>
<pubDate>Mon, 26 Apr 2010 03:58:52 +0000</pubDate>
<dc:creator>drumaboy46</dc:creator>
<guid isPermaLink="false">9290@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;ok ignore this one too made it work with the links you gave me from a previous post if anyone needs help I can show them. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.phpf1.com/tutorial/php-mysql-tutorial.html&#34; rel=&#34;nofollow&#34;&#62;http://www.phpf1.com/tutorial/php-mysql-tutorial.html&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.siteground.com/tutorials/php-mysql/display_table_data.htm&#34; rel=&#34;nofollow&#34;&#62;http://www.siteground.com/tutorials/php-mysql/display_table_data.htm&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.freewebmasterhelp.com/tutorials/phpmysql/4&#34; rel=&#34;nofollow&#34;&#62;http://www.freewebmasterhelp.com/tutorials/phpmysql/4&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>drumaboy46 on "Send data from DB to populate fields in Machform"</title>
<link>https://www.machform.com/forums/topic/send-data-from-db-to-populate-fields-in-machform#post-9284</link>
<pubDate>Sat, 24 Apr 2010 22:49:02 +0000</pubDate>
<dc:creator>drumaboy46</dc:creator>
<guid isPermaLink="false">9284@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;OK I created a page where user can search forms they have sent in the past seven days by their emal using some mySQL and PHP. I have read some of the topics on post/get and httpClient.&#60;/p&#62;
&#60;p&#62;But here's what I want to do. I want the user from the page where they see all sent data. I will create a form button labeled resend at that point it will send all the necessary elements I specify to be prefilled when my machform is loaded and all the user has to do is hit send.&#60;/p&#62;
&#60;p&#62;For Exp:&#60;/p&#62;
&#60;p&#62;Sent User Date: 04-20-2010&#60;br /&#62;
Name: John Doe {element_1}&#60;br /&#62;
Email: &#60;a href=&#34;mailto:cheese@gmail.com&#34;&#62;cheese@gmail.com&#60;/a&#62; {element_2}&#60;br /&#62;
Subject: Fried Cake {element_3}&#60;br /&#62;
&#38;lt;input type=&#34;submit&#34; value=&#34;resend&#34; /&#38;gt; When they hit send------&#38;gt; elements 1 thru 3 will be sent to form id=8 and the element values will show in their respected fields.&#60;/p&#62;
&#60;p&#62;I know I may have to edit the view_functions.php but I only want this behavior when info is being sent from the resend page not when the user uses the form from the link provided by machform itself. Hopes that is clear enough.&#60;/p&#62;
&#60;p&#62;Like I said I've searched the forum and know its possible its just that none of the topics are trying to do what I want but based on what I read I need to edit the view functions and use php to post data to the form in the fields they belong. Thank you by the way you give EXCELLENT SUPPORT!! Everyone always says that cause it's true and you are never impatient thank you for that.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
