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.

Invisible format file????

Featured Replies

I have a login form with username and password. This form checks the username and password entered by the user against the username and password fields in my database.

The next page selects the related customer name from the database and inserts it into a cookie which is passed onto the search page where it is used as the search criteria.

At the moment the user has to click a button on the middle page to get to the search page, but it is not necessary from a user point of view.

Is there any way that the middle page (that retrieves the customer name and creates the cookie) can be invisible to the user?

I did try using a redirect meta tag, but this does not execute the form on the page and hense does not pass the cookie on.

Many thanks in advance for your help!

You can submit blank HTML page with Form through JavaScript.

You can also use InLine.

You can also redirect page with JavaScript.

You can use the "onload" parameter of the <body> tag. to automatically submit a form. For example,

<html>

<head>

	<title>Return to Payments from Add Purchase/Payment</title>

	<meta name="generator" content="BBEdit 6.1.2">

</head>

<body onload="javascript:document.shootdetfm.submit();">Returning to Payment Details...

<form name="shootdetfm" action="FMPro" method="post">

<input type="hidden" name="-db" value="shoot_talent.fp5">

<input type="hidden" name="-lay" value="allfields">

<input type="hidden" name="-format" value="/pages/photo_payments.html">

<input type="hidden" name="key" value="[FMP-CurrentToken]">

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

</form>

</body>

</html>

Hope this is of use.

Garry

Garrycl

what are the pros/cons of the java script compared to a redirect or a FMP-header using the same parameters ?

How you will submit and redirect?

"I did try using a redirect meta tag, but this does not execute the form ..."

Yes, that is true, it will not process a form. So why not submit the action as a link on redirect00.htm which generates redirect01.htm to get to where you want to go?

I imagine the answer to my "why not" is because I no doubt am missing something. Remember...

It works wink.gif

It is just the method I use. I haven't really tried any others. Others may also be as simple and work. However, I do usually prefer to use Forms.

All the best.

Garry

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.