<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Creating an admin form for sending a message from an entry</title>
		<link>https://legacy.forums.gravityhelp.com/topic/creating-an-admin-form-for-sending-a-message-from-an-entry</link>
		<description>Gravity Support Forums Topic: Creating an admin form for sending a message from an entry</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 13:03:47 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/creating-an-admin-form-for-sending-a-message-from-an-entry" rel="self" type="application/rss+xml" />

		<item>
			<title>amydpnw on "Creating an admin form for sending a message from an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-an-admin-form-for-sending-a-message-from-an-entry#post-48480</link>
			<pubDate>Mon, 06 Feb 2012 16:12:34 +0000</pubDate>
			<dc:creator>amydpnw</dc:creator>
			<guid isPermaLink="false">48480@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Dana - That helps a lot!!  Thank you!!&#60;/p&#62;
&#60;p&#62;I'll post an update after I get this implemented.&#60;/p&#62;
&#60;p&#62;- Amy
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Creating an admin form for sending a message from an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-an-admin-form-for-sending-a-message-from-an-entry#post-48479</link>
			<pubDate>Mon, 06 Feb 2012 16:09:26 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">48479@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, amydpnw,&#60;/p&#62;
&#60;p&#62;Yes, this is possible. You could use the gform_field_value_$parameter_name&#34; hook (&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_value_$parameter_name)&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_value_$parameter_name)&#60;/a&#62;. In that hook you can query the database to get the entry ids (lead_ids) for the records which match the time range you specify and populate a drop down with the data. The query would be something similar to:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;select lead1.lead_id
from wp_rg_lead_detail lead1 join wp_rg_lead_detail lead2 on lead1.lead_id = lead2.lead_id and lead1.form_id=lead2.form_id
where lead1.form_id=43 and lead1.field_number = 1 and lead1.value &#38;gt;= &#38;#39;2011-01-30&#38;#39;
and lead2.field_number=2 and lead2.value &#38;lt;= &#38;#39;2012-02-09&#38;#39;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Once you have the matching lead_ids, you can then query the data to get the first name/last name of the users belonging to those entries (lead_ids). You can use something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;select lead1.lead_id, lead1.value as first_name, lead2.value as last_name
from wp_rg_lead_detail lead1 join wp_rg_lead_detail lead2 on lead1.lead_id = lead2.lead_id
where lead1.lead_id in (324,325) and (cast(lead1.field_number as decimal) = cast(3.3 as decimal) and cast(lead2.field_number as decimal) = cast(3.6 as decimal))&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You then use that data to populate the drop down.&#60;/p&#62;
&#60;p&#62;I hope this points you in the right direction.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>amydpnw on "Creating an admin form for sending a message from an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-an-admin-form-for-sending-a-message-from-an-entry#post-47168</link>
			<pubDate>Mon, 23 Jan 2012 19:37:32 +0000</pubDate>
			<dc:creator>amydpnw</dc:creator>
			<guid isPermaLink="false">47168@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a registration form that is allows for a multi day reservation (start to end date) and I would like to create an admin form that will scan the entries for anyone that is registered for the dates and the names from the entries will populate a drop down.&#60;/p&#62;
&#60;p&#62;First question is, is this even possible with GF (assuming I custom coded it) and of so, any ideas on how others would implement this?&#60;/p&#62;
&#60;p&#62;The reason I'm looking to GF is that the data is already there so if I can utilize it again, would love it.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
