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.

One button, two actions

Featured Replies

Philip,

I just went through the same thing. The solution is this.

Have the Submit button create the new record as normal, then have the page go to a redirect page for a brief second, and then on to the confirmation page. The redirct page will handle the e-mail.

Example Code for the redirect page:

<META HTTP-EQUIV="refresh" content = "1;URL=FMPro?-db=database.fp5&-lay=Layout1&-format=gb_sum.htm&[email protected]&[email protected]&-mailsub=Subject line text goes here&-mailhost=mail.domain.com&-mailformat=mail.txt&-recid=[FMP-Currentrecid]&-Find">

Philip

No you don't have to have created the record before sending the e-mail: you just have to have their e-mail address.

drdigital9's reply is a good way to do it if the e-mail address is unknown but being entered into the form.

The other way s to get people to "log-in" or register beforehand, and store the e-mail address as a cookie or token.

I am trying to use a single "submit" button for two tasks. First, to create a new record, and then to kickoff a confirmation e-mail to the applicant that their record has been created. I know that I have to create the record before I can generate the e-mail. I would prefer to use mail tags instead of calling a script, but if I can use one button with a script, I'll do it. Has anyone done this using a single button, or am I going to have to go to a second screen to generate the e-mail? Any help is greatly appreciated.

Regards,

Philip Sommers

Huntsville, AL

Sounds like a perfect solution ... Thanks very much, guys!

Regards,

Philip

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.