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.

Using fields to fill blanks in a few documents to email out

Featured Replies

Ok, I'm a noob at this but I want to be able to enter customer information into my database then export a few of the fields into documents that can be sent to the customers email. My customers are renters and I want to be able to send a lease agreement, a confirmation, and then a move out info sheet. I have fillable PDFs I use now, but I don't know if using those are possible, or if there is a better way.

Any help or guidance would be greatly appreciated. Thanks guys.

You can definitely use Microsoft Word merge feature for this.

Ok, I'm a noob at this but I want to be able to enter customer information into my database then export a few of the fields into documents that can be sent to the customers email. My customers are renters and I want to be able to send a lease agreement, a confirmation, and then a move out info sheet. I have fillable PDFs I use now, but I don't know if using those are possible, or if there is a better way.

Any help or guidance would be greatly appreciated. Thanks guys.

There are several ways to do this; including recreating the forms as FileMaker layouts and doing it all within FileMaker.

There are also tools that will populate PDF forms with data.

Is there anything left to fill in those PDFs after you are done with them? If not, why not simply produce the PDFs directly from Filemaker?

  • Author

Ok, so I created a second layout, with the picture of my 3 page PDF as the background, then copied over the fields I want to fill the blanks, but how can I put a button on the main layout that essentially says, "save second layout to PDF, make the file name CustomerNamePaperwork.pdf, and then email it to them at the email address on file"?

Ok, so I created a second layout, with the picture of my 3 page PDF as the background, then copied over the fields I want to fill the blanks, but how can I put a button on the main layout that essentially says, "save second layout to PDF, make the file name CustomerNamePaperwork.pdf, and then email it to them at the email address on file"?

You create a script to handle this for you and attach it the button on your main layout.

Look up the script steps for New Window, Go To Layout, Save Records As PDF, Send Mail, and Set Variable(for setting filepath). Using a combo of these steps should accomplish what your looking for.

  • Author

Russell,

Thanks for the help, but can you give me just a little more guidance? I created a script, I can handle the easy stuff, go to layout, save records as a PDF, but I'm not sure how to save the file name as "Customer Name"Paperwork.PDF, and not sure how to get it to save and send to email. Thanks man.

  • Newbies

Russell,

Thanks for the help, but can you give me just a little more guidance? I created a script, I can handle the easy stuff, go to layout, save records as a PDF, but I'm not sure how to save the file name as "Customer Name"Paperwork.PDF, and not sure how to get it to save and send to email. Thanks man.

You need to set a variable to the desired export path to which you save the PDF. For example:

Set Variable [ $exportPath; Value: Get ( DesktopPath ) & Customer::CustomerName & "-Paperwork.PDF" ]

Then, use that variable in your "Save Records as PDF" step instead of typing in a path. You may need to add a "Set Error Capture [on]" script step before that if you want it to write over previous PDFs.

Then, you use the "Send Mail" script step. At the bottom, you can choose "Attach file." Strangely, the dialog box where you put in the attachment's path doesn't indicate that variables work, but they do in my experience (and just tested on FileMaker 11.0v2 for Mac). You can choose to send via Email client or directly to an SMTP server. You can also choose whether to have the user see the message and send it, or send it immediately.

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.