<?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: Terms of Agreement</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Terms of Agreement</description>
<language>en</language>
<pubDate>Tue, 05 May 2026 06:09:24 +0000</pubDate>

<item>
<title>sjones on "Terms of Agreement"</title>
<link>https://www.machform.com/forums/topic/terms-of-agreement-1#post-6707</link>
<pubDate>Sat, 25 Jul 2009 05:51:03 +0000</pubDate>
<dc:creator>sjones</dc:creator>
<guid isPermaLink="false">6707@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Redityo:  Thanks for the suggestion.  It worked perfectly.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Terms of Agreement"</title>
<link>https://www.machform.com/forums/topic/terms-of-agreement-1#post-6683</link>
<pubDate>Thu, 23 Jul 2009 15:50:53 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6683@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;You can add small validation for agreement logic, for example I assume you've form id = 8 with an agreement radio field id = 1 in there. &#60;/p&#62;
&#60;p&#62;Radio field will have 2 option, that is :&#60;/p&#62;
&#60;p&#62;1. I agree&#60;br /&#62;
2. Not agree ( here is the condition where the error will occurs)&#60;/p&#62;
&#60;p&#62;Then you need to edit &#34;includes/post-functions.php&#34; file. Go around line 212 ~214 and you'll see these code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($validation_result !== true){
	$error_elements[$element_id] = $validation_result;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;put these code exactly bellow that line &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($form_id == 8 &#38;#38;&#38;#38; $element_id == 1) {
	if (!empty($element_data))
	{
		if ($element_data == &#38;quot;2&#38;quot;)
			$error_elements[$element_id] = &#38;quot;You not agree with the agreement&#38;quot;;
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Don't forget to change the Id's with yours
&#60;/p&#62;</description>
</item>
<item>
<title>sjones on "Terms of Agreement"</title>
<link>https://www.machform.com/forums/topic/terms-of-agreement-1#post-6679</link>
<pubDate>Thu, 23 Jul 2009 02:15:00 +0000</pubDate>
<dc:creator>sjones</dc:creator>
<guid isPermaLink="false">6679@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks for the response back Yuniar.&#60;/p&#62;
&#60;p&#62;I figured that would have to be the way.&#60;/p&#62;
&#60;p&#62;If I may make a suggestion that this type of thing be implemented in some future version.  For legal purposes, it is really the only way a person can &#34;sign&#34; and online form.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Terms of Agreement"</title>
<link>https://www.machform.com/forums/topic/terms-of-agreement-1#post-6655</link>
<pubDate>Tue, 21 Jul 2009 16:20:23 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">6655@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmm.. there is no exact way to do that.&#60;br /&#62;
However, I have some suggestion.&#60;/p&#62;
&#60;p&#62;You can simply create ONE checkbox with the label &#34;I agree&#34; and then set the field as required.&#60;/p&#62;
&#60;p&#62;If the user don't agree, he won't fill the checkbox and when the form submitted it would fail, since the checkbox is required.&#60;/p&#62;
&#60;p&#62;Otherwise if he fill the checkbox, the form should be submitted properly.
&#60;/p&#62;</description>
</item>
<item>
<title>sjones on "Terms of Agreement"</title>
<link>https://www.machform.com/forums/topic/terms-of-agreement-1#post-6640</link>
<pubDate>Mon, 20 Jul 2009 22:13:15 +0000</pubDate>
<dc:creator>sjones</dc:creator>
<guid isPermaLink="false">6640@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello.  I need to put a terms of agreement statement on the bottom of my form.&#60;br /&#62;
If the user selects the &#34;I agree&#34; radio button, they will then be able to submit form.  If they select the &#34;I do not agree&#34; radio button, they will not be able to submit the form.  Is there any way of doing this?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
