Delights Posted October 5, 2008 Posted October 5, 2008 Greetings, I was wondering if there was some way that you could disable a text box (for example) if another field has a certin value in it. i imagion i can get the if statement and alike working, however i can't seem to find anything that is simular to making a box deactive.
mr_vodka Posted October 5, 2008 Posted October 5, 2008 You can make the second field be a button with a script attached. If the first field does not have a value in it then the script could get to it with Go to Field []. You could also use field level access as well as the visibility trick. You can do an advanced search for them.
Delights Posted October 6, 2008 Author Posted October 6, 2008 You can make the second field be a button with a script attached. If the first field does not have a value in it then the script could get to it with Go to Field []. You could also use field level access as well as the visibility trick. You can do an advanced search for them. There must be someway of deactiving a text box in Filemaker, surely someone else must have had the simular experience before.
mr_vodka Posted October 6, 2008 Posted October 6, 2008 There is not a direct native way to deactivate entry into a field conditionally. You will have to use one of the workarounds.
El_Pablo Posted October 7, 2008 Posted October 7, 2008 That's the joy of filemaker! Awkward layouts...
Josh Ormond Posted October 7, 2008 Posted October 7, 2008 The visibility trick works nicely. Yes it would be cool to have an option to display a field based on a calculation, but that works fine. Plus if you get creative you can use relationships (and portals) to create some pretty neat "functionality". Example: Dynamically changing buttons, conditionally displayed data/fields, etc.
El_Pablo Posted October 7, 2008 Posted October 7, 2008 What visibility trick in FM? Didn't know that it was possible to change the visibility dynamically. If so how?
Josh Ormond Posted October 7, 2008 Posted October 7, 2008 (edited) http://fmforums.com/forum/showtopic.php?tid/198234/post/303977/hl/visibility/fromsearch/1/#303977 As good as the trick is...its power lays in the principle it uses. Takes some creative thinking, but you can work some "magic". Edited October 7, 2008 by Guest
Josh Ormond Posted October 7, 2008 Posted October 7, 2008 No, you only need 7 or higher. The demo file is from the Database Pros site.
El_Pablo Posted October 7, 2008 Posted October 7, 2008 It would be sooo nice if there were only a property named "visible" with a true or false value à la VB... Imagine how it would keep the DB schema easier to read.
Josh Ormond Posted October 8, 2008 Posted October 8, 2008 Thanks for the correction Michael. I couldn't say it for sure...I haven't been around FM that long. So I was being safe...because I knew he was using 8.5. :Whistle:
Recommended Posts
This topic is 5949 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