Rotorian Posted November 1, 2004 Share Posted November 1, 2004 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. Link to comment Share on other sites More sharing options...
transpower Posted November 1, 2004 Share Posted November 1, 2004 Validated by calculation: If (resultsf <> "" ; not IsEmpty ( commentsf ); IsEmpty ( commentsf ) ) Link to comment Share on other sites More sharing options...
Lee Smith Posted November 1, 2004 Share Posted November 1, 2004 Take a look at this thread "How to validate data entry in second field?", it appears to answer your question. click here HTH Lee Link to comment Share on other sites More sharing options...
Rotorian Posted November 1, 2004 Author Share Posted November 1, 2004 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. Link to comment Share on other sites More sharing options...
Rotorian Posted November 1, 2004 Author Share Posted November 1, 2004 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? Link to comment Share on other sites More sharing options...
Rotorian Posted November 1, 2004 Author Share Posted November 1, 2004 AGH! Nevermind, no matter what value is entered in field1 (with my example), it still asks for a comment. Link to comment Share on other sites More sharing options...
-Queue- Posted November 1, 2004 Share Posted November 1, 2004 Results <> "F" or not IsEmpty(Comments) Link to comment Share on other sites More sharing options...
transpower Posted November 1, 2004 Share Posted November 1, 2004 That's shorter than mine; a Boolean instead of an If statement. Link to comment Share on other sites More sharing options...
Rotorian Posted November 3, 2004 Author Share Posted November 3, 2004 That last sugestion didnt work either, so I took the easy way out. Field cannot be empty and requires a comment even if it is just "None". Link to comment Share on other sites More sharing options...
-Queue- Posted November 3, 2004 Share Posted November 3, 2004 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. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7113 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 accountSign in
Already have an account? Sign in here.
Sign In Now