<?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: Prepopulate field (case number or client number) with field from database</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Prepopulate field (case number or client number) with field from database</description>
<language>en</language>
<pubDate>Mon, 22 Jun 2026 07:40:26 +0000</pubDate>

<item>
<title>grimdesigns on "Prepopulate field (case number or client number) with field from database"</title>
<link>https://www.machform.com/forums/topic/prepopulate-field-case-number-or-client-number-with-field-from-database#post-11001</link>
<pubDate>Tue, 07 Dec 2010 00:08:36 +0000</pubDate>
<dc:creator>grimdesigns</dc:creator>
<guid isPermaLink="false">11001@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuniar, I have sent you the email. Your help is much appreciated.&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Prepopulate field (case number or client number) with field from database"</title>
<link>https://www.machform.com/forums/topic/prepopulate-field-case-number-or-client-number-with-field-from-database#post-10982</link>
<pubDate>Fri, 03 Dec 2010 20:41:38 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">10982@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is this case number field need to be displayed within the email or the admin panel?&#60;br /&#62;
If you only need this case number within the email, it's quite easy.&#60;/p&#62;
&#60;p&#62;Simply edit your email content template and use this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;{form_id}_{entry_id}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That would generate the case number field as you need it.&#60;/p&#62;
&#60;p&#62;However, if you need this number displayed within the admin panel. More adjustment will be needed.&#60;br /&#62;
First you will need to add a &#34;Single Line Text&#34; field into your form, which would hold this case number.&#60;/p&#62;
&#60;p&#62;We can then hide this field from the user by modifying the CSS and set the property of this field to hidden.&#60;/p&#62;
&#60;p&#62;Then some modification to your &#34;includes/post-functions.php&#34; will be needed to add the custom code to generate the case number.&#60;/p&#62;
&#60;p&#62;If you could create the form and add that field, please let me know the URL.&#60;br /&#62;
I can help you with the complete code for this.&#60;/p&#62;
&#60;p&#62;You can post it here or send it via email: customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>grimdesigns on "Prepopulate field (case number or client number) with field from database"</title>
<link>https://www.machform.com/forums/topic/prepopulate-field-case-number-or-client-number-with-field-from-database#post-10973</link>
<pubDate>Thu, 02 Dec 2010 20:20:04 +0000</pubDate>
<dc:creator>grimdesigns</dc:creator>
<guid isPermaLink="false">10973@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi I was wondering if anyone new how to prepolate a field on the form from the database and not have this editable on the form view (not admin view). Basically when a new person is filling out the form, it is considered a new case and I want the form to prepopulate the case number field (actually I wont have this visible to the regular form, just the admin). Ideally, I would like to have the new number to be a combination of the form id (example 01) and the entry id (form example (13) so the end result would be 01_13&#60;/p&#62;
&#60;p&#62;If anyone can chime in, that would be a huge help.&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
</item>

</channel>
</rss>
