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.

Mail acts wonky . . .

Featured Replies

When my users successfully complete a form, they are taken upon "submit" to an intermediary page that tells them the form is being submitted. A tag on the page sends them a confirmatory email with the following:

<META HTTP-EQUIV="refresh" content = " 1; URL=FMPro?-db=DB_.fp5&-format=thanks.html&-mailto=[FMP-Field: Lister Email]&[email protected]&[email protected]&-mailsub=Thanks for your submission&-mailhost=server.my.com&-mailformat=mail.txt&-recid=[FMP-Currentrecid]&-Find">

This works fine so long as the user completes the form successfully before submitting. If, however, he forgets to add a required field (which are designated as required within the field list in FMP) and are redirected back to the form, the mail will sometimes not get sent when they re-submit after successfully completing the form.

Can't understand why this should make a difference. Any thoughts?

Can you send the email with an "onload" or an InlineAction? Can you also do the Form validity checking with Javascript?

All the best.

Garry

  • Author

Hi Garry --

I've tried using JavaScript validation, but it had the same result. I have also tried using an "onload" code as folows:

<body onload="document.location='FMPro?-db=DB_.fp5&-format=thanks.html&-mailto=[FMP-Field: Lister Email]&[email protected]&[email protected]&-mailsub=Thanks for your submission&-mailhost=server.address.com&-mailformat=mail.txt&-recid=[FMP-Currentrecid]&-find';"></body>

Which doesn't send a mail at all. Probably my fault.

This is a weird error. The meta tag method above works fine, when it works. Sometimes it does, sometimes it doesn't. I think it relates to the user being redirected after a failed validation, but even then it sometimes sends a mail.

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.