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.

scriptstep to validate value doens't work?

Featured Replies

Hi all,

I am developing a business administration system and have problems validating a value. When a script runs, it opens a custom message that requests a value. The value should be unique, so I want to test it. As the field definition already requires it to be unique, I planned to use the ErrorCapture to catch the invalid non-unique value (error code 504 - value is not unique as required by field definition), but it doesn't. Only when the script has ended and a record has been created, do I get the standard system message saying that the field requires a unique value. This is too late. Anyone any idea how to solve this prob?

Thanx in advance,

Chavito - The Netherlands

  • Author

Hi all,

I am developing a business administration system and have problems validating a value. When a script runs, it opens a custom message that requests a value. The value should be unique, so I want to test it. As the field definition already requires it to be unique, I planned to use the ErrorCapture to catch the invalid non-unique value (error code 504 - value is not unique as required by field definition), but it doesn't. Only when the script has ended and a record has been created, do I get the standard system message saying that the field requires a unique value. This is too late. Anyone any idea how to solve this prob?

Thanx in advance,

Chavito - The Netherlands

  • Author

Hi all,

I am developing a business administration system and have problems validating a value. When a script runs, it opens a custom message that requests a value. The value should be unique, so I want to test it. As the field definition already requires it to be unique, I planned to use the ErrorCapture to catch the invalid non-unique value (error code 504 - value is not unique as required by field definition), but it doesn't. Only when the script has ended and a record has been created, do I get the standard system message saying that the field requires a unique value. This is too late. Anyone any idea how to solve this prob?

Thanx in advance,

Chavito - The Netherlands

Opdrachten.pdf

Try commiting the record with an Exit Record script step after the Show Custom Dialog steps. You may also need to set the error to a global and use that for your error trapping since you have those other steps in the loop.

Try commiting the record with an Exit Record script step after the Show Custom Dialog steps. You may also need to set the error to a global and use that for your error trapping since you have those other steps in the loop.

Try commiting the record with an Exit Record script step after the Show Custom Dialog steps. You may also need to set the error to a global and use that for your error trapping since you have those other steps in the loop.

  • Author

Thanx, I'll give it a try.

  • Author

Thanx, I'll give it a try.

  • Author

Thanx, I'll give it a try.

  • Author

Thanx Ender, I moved the ErrorCapture[ON] into the loop, put in a GotoField[next] step just after that and right before the If(status) expression and it works like charm. As easy as that.

  • Author

Thanx Ender, I moved the ErrorCapture[ON] into the loop, put in a GotoField[next] step just after that and right before the If(status) expression and it works like charm. As easy as that.

  • Author

Thanx Ender, I moved the ErrorCapture[ON] into the loop, put in a GotoField[next] step just after that and right before the If(status) expression and it works like charm. As easy as that.

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.