Jump to content

Auto Submit


This topic is 8319 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am trying to get a form to auto submit after a specified time. I keep getting an error 4 (in-valid commad, from Filemaker) when the java script runs. The form it's self works fine if you press the submit button. Any other ideas on how this can be done?

Link to comment
Share on other sites

When I added the hidden entry, it will now pass it to FM without an ERROR. However, it is not passing any of the form data to FMr..

Here is the log with auto submit:

7/8/01 12:46:36 PM -DB=Students.fm4&-Format=final_complete.htm&-lay=Final&-RecID=12&-Edit

7/8/01 12:46:36 PM Sending reply. Elapsed time: 46 millisec.

Here is the log with the user pressing the submit button:

7/8/01 12:44:09 PM -DB=Students.fm4&-Lay=Final&-Format=final_complete.htm&-Error=search_error.htm&-RecID=12&Final+Complete=Yes&Final+Complete+Date=7%2F8%2F01&Final+48=D&Final+49=D&Final+50=D&-Edit=Su bmit

7/8/01 12:44:09 PM Sending reply. Elapsed time: 56 millisec.

Here is the one line of Java I am using:

var timeID = setTimeout("document.Final.submit()", 10000)

Any other ideas?

Link to comment
Share on other sites

quote:

Originally posted by Shawn Russell:

I am trying to get a form to auto submit after a specified time. I keep getting an error 4 (in-valid commad, from Filemaker) when the java script runs. The form it's self works fine if you press the submit button. Any other ideas on how this can be done?

For what purpose?

Link to comment
Share on other sites

This topic is 8319 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.