Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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?

You may need to have a line, in the form, like this:

<input type="hidden" name="-find">

Hope this helps.

Garry

  • Author

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?

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?

  • Author

It is for an On-Line test that has a time limit...

Shawn,

I don't know why form elements would be going missing! Is the same form being used; i.e. button or timeout submission, whichever comes first?

Garry

strike my last, garrycl has the right idea,

<INPUT TYPE="hidden" NAME="-NEW">

[ July 10, 2001: Message edited by: dspires ]

  • Author

I Guess I had a typo or something, but I was able to get it to work with the hidden entry.... Thanks!!

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.