Skip 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.

Managing Email: Subject line

Featured Replies

Hi all,

i am not sure whether to post this here or in the Managing Scripts forum.

Anyway,

I have a Maintenance Database with an Email script set-up that when clicked sends an email out with a request order. In the body of the email is 6-7 fields/data pulled from the Layout.

I have the subject line set up as:

"Maintenance Request: " & Get (CurrentDate)

I added a new field to the table/layout "Priority". This is a Yes/No checkbox that defaults to "No"

What I want to do is, if the checkbox is set to "Yes" I want the Subject Line to go from this:

Maintenance Request 8/5/2011

To this:

Maintenance Request 8/5/2011 HIGH PRIORITY

Any idea how to make this happen?

Thanks

Create a calc field, result text:

email_Subject_c = if ( Priority = "Yes" ; "Maintenance Request: " & Get (CurrentDate) & " HIGH PRIORITY" ; "Maintenance Request: " & Get (CurrentDate))

Use this field as your subject in the email.

fwiw, typically, I don't use Yes/No fields. I create a flag field that is either 1 or null. So, in this case I'd have flag_PriorityHigh and I'd put it on the form view formatted as a checkbox with a value list that simply equals 1. Then, resize the checkbox to not show the field label or the 1.

Then, the calc would be If (Priority=1; etc.)

hth,

Barbara

  • Author

perfect, thank you!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.