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

  • Newbies

I am trying to submit a form automaticly with an onload method (javascript) which is not working. The form by itself does and so does the onload method. However, together they don't work. Why doesn't it work?. I am using File Maker Pro 4. Is this why? Can it work with FMPro 5?

<html><head>

<title>Counter</title>

<script>

<!--

function autoSub()

{

document.john.submit(true);

}

//-->

</script>

</head>

<body bgcolor="white" onload="autoSub()">

<form name="john" action="FMPro" method="POST">

<input type="hidden" name="-db" value="counter">

<!--<input type="hidden" name="-lay" value="Form View">//-->

<input type="hidden" name="-format" value="formats.htm">

<!--<input type="hidden" name="-error" value="errors.htm">//-->

<input type="submit" name="-new" value="add">

</form>

<h1 align= "center" >

<!--<a href="FMPro?-db=counter&-format=formats.htm&-new">//-->Add 1 to database</h1>

<hr>

<center><a href="http://www.kpgraphics.com/index.html">Go back to home page.</a></center>

</body>

</html>

[This message has been edited by john (edited September 11, 2000).]

[This message has been edited by john (edited September 11, 2000).]

  • Newbies

why not just use the HTML refresh command to achieve this goal? create a page with a zero second refresh that submits your form. JavaScript shouldn't be necessary.

dave

mywebbrain.com

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.