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.

Email when form submitted

Featured Replies

I have form with this code:

<INPUT TYPE="submit" NAME="-Edit" VALUE="Submit">

and the 5 mail tags plus the necessary text file and it sends a mail just fine.

BUT I also have a form with this code:

<INPUT TYPE="submit" NAME="-New" VALUE="Submit">

for the submit button, and the same mail tags (with a different text file specified) and it does not send mail.

Does using " -new" mess up the use of mail tags??

  • 2 weeks later...
  • Author

Does anyone have any answers?

I guess it will not send the fields, because they are empty or they do not exist yet.

Cannot be done in one step because as Anatoli reports the record does not exist yet. Instead it'll have to be done in two steps: submit form that creates record and displays record on "record created" confirmation page; user clicks submit button on confirmation page or auto-click to send e-mail. Obviously this can be worke around if second submit is not processed by user.

If I can elaborate further, if you will create blank record before people are filling the form and then you will submit (your first example with -edit) you'll get the functionality.

You can do that (blank record) by JavaScript or Frames, combination of both etc.

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.