Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have two fields: Closed Date & HW Platform.

 

Goal: If the user selects the HW Platform field and Closed Date is empty pop a custom dialog. If Closed Date is not empty then no message.

 

I have tried a few ways to use field validation to perform the check and post a message but no luck so far. I know I could do this easily with a Script Trigger. My question is can this be done with validation? And is one or the other method better? Validation or ST?

 

FileMaker 12

FileMaker Server Adv 12

Posted

What do you mean by: "If the user selects the HW Platform field" ?

The user makes a selection from a value list or simply enters the field ?

Posted

Script trigger was made for these situations. Why try to work around the obvious solution?

Posted

Script trigger was made for these situations. Why try to work around the obvious solution?

Because I'm still new at this and sometimes what appears to be the obivious is not always the best way.

Posted

Use the onobjectenter script trigger. Use a set variable $test [ field to check ] If isEmpty ( $test ) Show custom dialog Inform user of correct steps Commit records or go to field Exit script End if

Posted

Validations will fire everywhere the field is touched, script triggers only fire on the layout where you define them.

 

Validations do not give you the workflow control that you are after.

This topic is 4172 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.