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.

Featured Replies

I am looking for a way to do some validation to keep users from leaving empty fields behind when creating a record. I can't use field validation to not allow the field to be empty because that only works when the field is active. If the user never enters the field the validation is never triggered. I can't just force the user into the field when the record is created because a line item has to be selected first before the field in question can be populated.

Is there any equivelent to onrecordexit?

I can't use field validation to not allow the field to be empty because that only works when the field is active. If the user never enters the field the validation is never triggered.

That is not correct. If a field cannot be left empty, validate the field to be not empty in the field's definition.

Don't confuse field validation with script triggers. Script triggers apply at the layout level. Validation applies at the field level. Field level validation cannot be by-passed. Layout level validation can (just use a different layout).

  • Author

I stand corrected. So now I have validation set on the field but that brings up a different problem. I have the creation of records scripted in this case and the process requires creating the record and then going to another layout to set some other fields and then returning to the new record ready for data entry. but of course now the script fials because of the new validation. Is there a way for the script to overide validation?

Edited by Guest

Is there a way for the script to overide validation?

Yes.

Use the Commit Record/Request step with the "no dialog" and "skip data entry validation" options selected. Read the help topic on this step for a couple of conditions that must be met to make this happen.

  • Author

I figured it out. I put an auto enter on the field so it is not empty when created so the script can do it's thing. Then the script clears the field to await user input when it's done.

Edited by Guest

  • Author

I will look into the commit rcord/request as well. Thanks for the help. :

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.