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.

Lock and email portal records to edit once submit button is...

Featured Replies

  • Newbies

I am working on a work plan which has a portal of acitivties, I want that once the user has completed the workplan and fills in all the acitivties and then when he/she clicks the submit button the portal should be locked for editing and the report of the workplan should be email in PDF to [email protected]

Thanks alot for the support.

I'd add a flag field to the workplan table, flag_Submitted and show it as a checkbox with a value list of "1". Then I'd set it to a button that runs a "Submit WorkPlan" script.

This script would validate the data in the record before allowing the record to be submitted. For example, are all the required fields complete? Then, it would go to the related table (the activities table that you're showing in the portal) and save as pdf the activity report. So, you'll need a layout based on the Activities table to serve as your report. After saving as pdf, use Send Email to attach that report to an email to [email protected]. Lastly, I'd switch to a "locked" layout that is a duplicate of the data entry form, but does not allow edits to any fields.

hth,

Barbara

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.