		<?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>Appnitro Software Forums Topic: How or where do I change form method and form action?</title>
<link>http://www.appnitro.com/forums/</link>
<description>Appnitro Software Forums Topic: How or where do I change form method and form action?</description>
<language>en</language>
<pubDate>Wed, 08 Feb 2012 08:01:46 +0000</pubDate>

<item>
<title>waitz on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5375</link>
<pubDate>Mon, 06 Apr 2009 17:13:26 +0000</pubDate>
<dc:creator>waitz</dc:creator>
<guid isPermaLink="false">5375@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Thanks a lot. I had to change another text field into a paragraph field, because it changed the id to thankyou for that one also. But that is ok.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5204</link>
<pubDate>Wed, 25 Mar 2009 23:48:57 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">5204@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hi Rajan,&#60;/p&#62;
&#60;p&#62;It's Look likes there are 2 different element id that you want to change. &#60;/p&#62;
&#60;p&#62;1. Form 3 --&#38;gt; element_61&#60;br /&#62;
2. Form 5 --&#38;gt; element_23&#60;/p&#62;
&#60;p&#62;To do this, you need edit &#34;includes/view-functions.php&#34;. Try to go around line 40 ~ 45, you'll see these code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$element_markup = &#38;lt;&#38;lt;&#38;lt;EOT
		&#38;lt;li id=&#38;quot;li_{$element-&#38;gt;id}&#38;quot; {$error_class}&#38;gt;
		&#38;lt;label class=&#38;quot;description&#38;quot; for=&#38;quot;element_{$element-&#38;gt;id}&#38;quot;&#38;gt;{$element-&#38;gt;title} {$span_required}&#38;lt;/label&#38;gt;
		&#38;lt;div&#38;gt;
			&#38;lt;input id=&#38;quot;element_{$element-&#38;gt;id}&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}&#38;quot; class=&#38;quot;element text {$element-&#38;gt;size}&#38;quot; type=&#38;quot;text&#38;quot; value=&#38;quot;{$element-&#38;gt;default_value}&#38;quot; /&#38;gt;
		&#38;lt;/div&#38;gt;{$guidelines} {$error_message}
		&#38;lt;/li&#38;gt;
EOT;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;try to replace with this one &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (($_GET[&#38;#39;id&#38;#39;] == 3 &#38;#38;&#38;#38; $element-&#38;gt;id == 61 )  &#124;&#124; ($_GET[&#38;#39;id&#38;#39;] == 5 &#124;&#124; $element-&#38;gt;id == 23)) {
	$element_input = &#38;#39;&#38;lt;input id=&#38;quot;thankyou&#38;quot; name=&#38;quot;thankyou&#38;quot; class=&#38;quot;element text &#38;#39;.$element-&#38;gt;size.&#38;#39;&#38;quot; type=&#38;quot;text&#38;quot; value=&#38;quot;&#38;#39;.$element-&#38;gt;default_value.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
} else {
	$element_input = &#38;#39;&#38;lt;input id=&#38;quot;element_&#38;#39;.$element-&#38;gt;id.&#38;#39;&#38;quot; name=&#38;quot;element_&#38;#39;.$element-&#38;gt;id.&#38;#39;&#38;quot; class=&#38;quot;element text &#38;#39;.$element-&#38;gt;size.&#38;#39;&#38;quot; type=&#38;quot;text&#38;quot; value=&#38;quot;&#38;#39;.$element-&#38;gt;default_value.&#38;#39;&#38;quot; /&#38;gt;&#38;#39;;
}

$element_markup = &#38;lt;&#38;lt;&#38;lt;EOT
		&#38;lt;li id=&#38;quot;li_{$element-&#38;gt;id}&#38;quot; {$error_class}&#38;gt;
		&#38;lt;label class=&#38;quot;description&#38;quot; for=&#38;quot;element_{$element-&#38;gt;id}&#38;quot;&#38;gt;{$element-&#38;gt;title} {$span_required}&#38;lt;/label&#38;gt;
		&#38;lt;div&#38;gt;
			 {$element_input}
		&#38;lt;/div&#38;gt;{$guidelines} {$error_message}
		&#38;lt;/li&#38;gt;
EOT;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that code will change element name properties to &#34;thank you&#34;.
&#60;/p&#62;</description>
</item>
<item>
<title>waitz on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5189</link>
<pubDate>Wed, 25 Mar 2009 02:26:32 +0000</pubDate>
<dc:creator>waitz</dc:creator>
<guid isPermaLink="false">5189@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Of course, the forms are here: &#60;a href=&#34;https://www.tan-ju.org/registration/view.php?id=3&#34; rel=&#34;nofollow&#34;&#62;https://www.tan-ju.org/registration/view.php?id=3&#60;/a&#62; and &#60;a href=&#34;https://www.tan-ju.org/registration/view.php?id=5&#34; rel=&#34;nofollow&#34;&#62;https://www.tan-ju.org/registration/view.php?id=5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Rajan
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5118</link>
<pubDate>Fri, 20 Mar 2009 15:23:46 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">5118@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Can you paste me the URL to your form?&#60;br /&#62;
Or send via mail to: customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>waitz on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5102</link>
<pubDate>Thu, 19 Mar 2009 19:03:50 +0000</pubDate>
<dc:creator>waitz</dc:creator>
<guid isPermaLink="false">5102@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Oh, no... I hear from my secure host that I have to change the name of one of the fields from &#34;element_61&#34; to &#34;thankyou&#34;&#60;/p&#62;
&#60;p&#62;Is this possible..?
&#60;/p&#62;</description>
</item>
<item>
<title>waitz on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5086</link>
<pubDate>Tue, 17 Mar 2009 22:10:58 +0000</pubDate>
<dc:creator>waitz</dc:creator>
<guid isPermaLink="false">5086@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Thanks for input. I will still use MachForm, and then just change the line in view-functions.php&#60;/p&#62;
&#60;p&#62;But for all other use of MachForm besides this encrypted variant, I will not change the form action, but keep the functionality of MachForm.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5083</link>
<pubDate>Tue, 17 Mar 2009 15:05:38 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">5083@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;If you still prefer to use MachForm instead of phpform.org, then simply modify &#34;includes/view-functions.php&#34;, search around line 1840 and you'll find this line:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;form id=&#38;quot;form_{$form-&#38;gt;id}&#38;quot; class=&#38;quot;appnitro&#38;quot; {$form_enc_type} method=&#38;quot;post&#38;quot; action=&#38;quot;#main_body&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;simply change the action there.
&#60;/p&#62;</description>
</item>
<item>
<title>Saghalie on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5077</link>
<pubDate>Tue, 17 Mar 2009 11:35:34 +0000</pubDate>
<dc:creator>Saghalie</dc:creator>
<guid isPermaLink="false">5077@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;If you want to use a script with your forms; you do indeed need to seperate them from MachForm.  You can create the form with MachForm or use the free service at &#60;a href=&#34;http://www.phpform.org/&#34; rel=&#34;nofollow&#34;&#62;http://www.phpform.org/&#60;/a&#62; and then use the forms action=&#34;&#34; field to enter your script that you are going to use for it.&#60;/p&#62;
&#60;p&#62;You have to of course copy the source from MachForm in to a new file.&#60;/p&#62;
&#60;p&#62;Hope this helps!
&#60;/p&#62;</description>
</item>
<item>
<title>waitz on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5069</link>
<pubDate>Tue, 17 Mar 2009 00:25:18 +0000</pubDate>
<dc:creator>waitz</dc:creator>
<guid isPermaLink="false">5069@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;SSL makes it secured, but not encrypted, no? My host say:&#60;/p&#62;
&#60;p&#62;&#34;The purpose is to send the form data as an encrypted email message. It would not be compatible with any other data capturing method that you have in place. So, yes, you need to change it so Machform does not handle the submissions anymore. These two forms or data management are incompatible.&#34;&#60;/p&#62;
&#60;p&#62;I guess I have to change the form action. And then it comes down to: Where do I do it?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Rajan
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5060</link>
<pubDate>Mon, 16 Mar 2009 14:38:05 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">5060@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;If you plan to use SSL to secure your forms, simply use &#34;https://&#34; to access your form.&#60;br /&#62;
This way, all your form submission are being transmitted securely using SSL.
&#60;/p&#62;</description>
</item>
<item>
<title>waitz on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5035</link>
<pubDate>Sat, 14 Mar 2009 16:19:08 +0000</pubDate>
<dc:creator>waitz</dc:creator>
<guid isPermaLink="false">5035@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hmmm... I'm checking out with the secure host if there is another way to encrypt it.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5027</link>
<pubDate>Fri, 13 Mar 2009 16:50:21 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">5027@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;If you are changing the form action to that perl script, then MachForm won't handle your form submission again.&#60;/p&#62;
&#60;p&#62;It won't be saved into database and won't be sent to email.&#60;br /&#62;
Are you sure you want to do this?
&#60;/p&#62;</description>
</item>
<item>
<title>waitz on "How or where do I change form method and form action?"</title>
<link>http://www.appnitro.com/forums/topic/how-or-where-do-i-change-form-method-and-form-action#post-5019</link>
<pubDate>Thu, 12 Mar 2009 23:18:37 +0000</pubDate>
<dc:creator>waitz</dc:creator>
<guid isPermaLink="false">5019@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I am placing machform on a secure server, and for encryption I have to change the form method to &#34;post&#34; (if it is not already) and change the form action to &#34;https://www.site/smime_email.pl&#34;&#60;/p&#62;
&#60;p&#62;I have searched the code for post actions, but it is not clear what to change. Where and how do I do this..?&#60;/p&#62;
&#60;p&#62;Grateful for answers
&#60;/p&#62;</description>
</item>

</channel>
</rss>

