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 7394 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello,

New to this place, and fairly new to FMP, so pardon the question. This question seems simple enough, but I cant figure it out.

I have two fields, one named "Results" the other is named "Comments". If Results = F then Comments cannot be empty.

Right now i have setup to where if Results = F then the user is sent into "Comments" but I dont want them to get out of the record without actually entering comments. So:

If (Results = "F".........I dont know how to do the Then part.

Thank you for your time, interest and help.

Posted

Validated by calculation:

If (resultsf <> "" ; not IsEmpty ( commentsf ); IsEmpty ( commentsf ) )

Posted

Take a look at this thread "How to validate data entry in second field?", it appears to answer your question.

click here

HTH

Lee

cool.gif

Posted

Thxs Mr. Smith,

Looks like Ray's suggestion is the ticket. One quick question, I am looking for specific data in field 1 and then force the user to enter data in field 2. Field one will always have an entry as it is setup as radial button choice of P or F (for pass/fail). Only when F is present(selected) do i then need an entry in field 2.

Posted

Okay,

I came up with this in field 2 validation:

Results = "F" not IsEmpty(Comments)

However, now even when a comment is entered it still doesnt see the entry into the field and asks to enter comment. Suggestions?

Posted

Well, it should work. If you zipped and attached your file, we could see what else is going on that may be preventing it from working correctly.

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