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.

-mailformat file not pulling in values

Featured Replies

E-mail has been covered a lot in this forum, but I can't seem to find anything that answers my question. If there is, I appoligize up front.

I am trying to get a CDML solution to e-mail the results for a form to me as well as the user sending in the form. The e-mail gets sent fine, but the values are all blank except for one that is a global field.

Here is the form (I have changed the mailfrom & bcc value):

--

<form action="FMPro" method="get">

<input type="hidden" name="-DB" value="fOnlineCalendarSubmissions.fp5">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Input">

<INPUT TYPE="hidden" NAME="-recid" VALUE="[FMP-currentrecid]">

<INPUT TYPE="hidden" NAME="-mailhost" VALUE="192.168.1.50">

<INPUT TYPE="hidden" NAME="-mailfrom" VALUE="webmasterATPaloAltoOnline.com">

<INPUT TYPE="hidden" NAME="-mailto" VALUE="[FMP-Field: contact.email]">

<INPUT TYPE="hidden" NAME="-MailBCC" VALUE="webmasterATpaloaltoonline.com">

<INPUT TYPE="hidden" NAME="-mailsub" VALUE="Master Community Calendar Submission">

<INPUT TYPE="hidden" NAME="-mailformat" VALUE="cal-email.txt">

<input type="hidden" name="-Format" value="cal-thanks.htm">

<input type="submit" name="-view" value="I am happy with this listing. Submit it!">

</form>

--

Here is the -mailformat file:

--

Thank you for your submission placed on [FMP-field:last modified date].

Here is your listing:

[FMP-Field: output.printfield.sample]

Date(s) of event: [FMP-Field: import.dates]

Your Name: [FMP-Field: contact.name]

Your E-mail: [FMP-Field: contact.email]

Your Daytime Phone: [FMP-Field: contact.phone]

If there is a problem, please contact us.

Thank you.

[FMP-Field: version_number]

--

Like I said, the email is being sent, but the [FMP-Field: version_number] field is the only one being filled in.

I appreciate any help... Thanks in advance!

frank

So this HTML/CDML page is already displaying the:

Your Name: [FMP-Field: contact.name]

Your E-mail: [FMP-Field: contact.email]?

Previous page was doing "find" for the person?

  • Author

Previous page either did a "-new" or "-edit" command on a submission form. Does that make sense?

Everything makes sense.

"E-mail has been covered a lot in this forum..."

But sometimes one may find something useful in another forum.

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.