Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4468 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have got a global field for the user to select from a drop down menu. I can't deny access to them because the field needs to be accessed in order to use the drop down menu. If the user clicks twice within the field, they can actually enter a value that is not on the value list. I have validation setup so that if this occurs, the user receives a message. I don't like the message.

Isn't there a calculation that I can run as part of a script trigger that basically says;

If field is modified to a a value that is not part of the value list, revert field?

Thanks so much for your help in advance and have a fab day.

Posted

In the Fields tab of Manage Database, press the Options button, then click the Validation tab. You will see a Member of Value List checkbox.

  • Like 1
Posted

Yes, I have already set the field to be validated. However, I dont want the user having to be prompted with the default or custom validation popup and being asked to press 'Revert field. Isn't there a script I can use that will suppress the validation failed popup and revert the field to what it was without user interaction?

Thanks again.

Posted

Hi Maria,

Field-level validation is important for ultimate protection but you can add script trigger using OnObjectValidate to act on the failure first. Read up on it in Help. :-)

This topic is 4468 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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