<?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: timed surveys</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: timed surveys</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 03:58:40 +0000</pubDate>

<item>
<title>yuniar on "timed surveys"</title>
<link>https://www.machform.com/forums/topic/timed-surveys#post-4088</link>
<pubDate>Mon, 29 Dec 2008 13:10:29 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">4088@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This is possible with some small modification.&#60;br /&#62;
Let say you have a form with this URL: &#60;a href=&#34;http://www.example.com/forms/view.php?id=7&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com/forms/view.php?id=7&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That means you have a form with id = 7.&#60;/p&#62;
&#60;p&#62;Now, for an example, we need to run that form until January 5, 2009 (01-05-2008) &#60;/p&#62;
&#60;p&#62;Edit your &#60;strong&#62;includes/view-functions.php&#60;/strong&#62;, on line 1572 and line 1902 you should see this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$form-&#38;gt;active = $row[&#38;#39;form_active&#38;#39;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 7){
	if(strtotime(date(&#38;quot;m-d-Y&#38;quot;)) &#38;gt; strtotime(&#38;quot;01-05-2009&#38;quot;)){
		$form-&#38;gt;active   = 0;
	}
}else{
	$form-&#38;gt;active 		= $row[&#38;#39;form_active&#38;#39;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;make sure to adjust the above form id number and date with your own.
&#60;/p&#62;</description>
</item>
<item>
<title>amitkumarsaha on "timed surveys"</title>
<link>https://www.machform.com/forums/topic/timed-surveys#post-4077</link>
<pubDate>Sun, 28 Dec 2008 13:49:30 +0000</pubDate>
<dc:creator>amitkumarsaha</dc:creator>
<guid isPermaLink="false">4077@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;can we have timed survey forms which shall stop after a particular time set by admin? urgent
&#60;/p&#62;</description>
</item>

</channel>
</rss>
