<?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: Automatically submit a form using a timer</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Automatically submit a form using a timer</description>
<language>en</language>
<pubDate>Thu, 21 May 2026 17:50:16 +0000</pubDate>

<item>
<title>yuniar on "Automatically submit a form using a timer"</title>
<link>https://www.machform.com/forums/topic/automatically-submit-a-form-using-a-timer#post-8363</link>
<pubDate>Mon, 11 Jan 2010 22:19:29 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">8363@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Sorry for delayed response on this! I've just tested and it doesn't seem to work indeed.&#60;br /&#62;
We might need to do some direct modification to one of MachForm file for this.&#60;/p&#62;
&#60;p&#62;Can you send me your &#34;includes/view-functions.php&#34; file and let me know the URL to one of your form?&#60;/p&#62;
&#60;p&#62;I'll try to do the modification and send it back to you.&#60;/p&#62;
&#60;p&#62;Please mail to: customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>Alasdair on "Automatically submit a form using a timer"</title>
<link>https://www.machform.com/forums/topic/automatically-submit-a-form-using-a-timer#post-8341</link>
<pubDate>Fri, 08 Jan 2010 18:21:51 +0000</pubDate>
<dc:creator>Alasdair</dc:creator>
<guid isPermaLink="false">8341@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hiya,&#60;/p&#62;
&#60;p&#62;I've tried inserting the code into the form description field but unfortunately can't get it to work. Have also tried without a timer.&#60;/p&#62;
&#60;p&#62;My changes were to add &#38;lt;form name = &#34;autosubmit&#34; and adding the code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;script type='text/javascript'&#38;gt;setInterval( &#34;autosubmit()&#34;, 5000 );function autosubmit(){ document.autosubmit.submit;}&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I noticed that it was creating an error on the actual form editing page in the Machform backend, but sometimes it would add and save. &#60;/p&#62;
&#60;p&#62;Could you test this and see if it works for you?&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;/p&#62;
&#60;p&#62;Alasdair
&#60;/p&#62;</description>
</item>
<item>
<title>Alasdair on "Automatically submit a form using a timer"</title>
<link>https://www.machform.com/forums/topic/automatically-submit-a-form-using-a-timer#post-8286</link>
<pubDate>Mon, 04 Jan 2010 17:45:22 +0000</pubDate>
<dc:creator>Alasdair</dc:creator>
<guid isPermaLink="false">8286@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuniar,&#60;/p&#62;
&#60;p&#62;Many thanks for the speedy reply.&#60;/p&#62;
&#60;p&#62;I'll give that a try. Should I specify a generic name for the form? I'm thinking that would let any form_id post. i.e if the form is named &#34;postmyform&#34; then any form and ID should automatically post....&#60;/p&#62;
&#60;p&#62;Cheers&#60;/p&#62;
&#60;p&#62;Alasdair
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Automatically submit a form using a timer"</title>
<link>https://www.machform.com/forums/topic/automatically-submit-a-form-using-a-timer#post-8285</link>
<pubDate>Mon, 04 Jan 2010 17:35:42 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">8285@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think that should work.&#60;br /&#62;
The easiest way to add the javascript code is by copying the code into your &#34;form description&#34; field.&#60;/p&#62;
&#60;p&#62;However, you need to adjust the code into a single line, like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;#39;text/javascript&#38;#39;&#38;gt;setInterval( &#38;quot;autosubmit()&#38;quot;, 5000 );function autosubmit(){ document.theFormName.submit;}&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Make sure it's only a single line of code
&#60;/p&#62;</description>
</item>
<item>
<title>Alasdair on "Automatically submit a form using a timer"</title>
<link>https://www.machform.com/forums/topic/automatically-submit-a-form-using-a-timer#post-8272</link>
<pubDate>Sun, 03 Jan 2010 18:27:13 +0000</pubDate>
<dc:creator>Alasdair</dc:creator>
<guid isPermaLink="false">8272@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi everyone,&#60;/p&#62;
&#60;p&#62;I was wondering, is it possible to automatically submit a form using javascript?&#60;/p&#62;
&#60;p&#62;I have multiple forms that after submission populate a Machform form/fields automatically. My plan is to change the standard machform input fields to &#34;hidden&#34; and &#34;display:none&#34; and automatically submit the form after 5 seconds so I can save the data in Machform (because it's great!)&#60;/p&#62;
&#60;p&#62;On other forms i use code similar to:&#60;/p&#62;
&#60;p&#62;&#38;lt;script type='text/javascript'&#38;gt;&#60;/p&#62;
&#60;p&#62;setInterval ( &#34;autosubmit()&#34;, 5000 );&#60;/p&#62;
&#60;p&#62;function autosubmit()&#60;br /&#62;
{&#60;br /&#62;
document.theFormName.submit;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;Would this work?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
