October 5, 200817 yr 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.
October 5, 200817 yr 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.
October 6, 200817 yr Author 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.
October 6, 200817 yr There is not a direct native way to deactivate entry into a field conditionally. You will have to use one of the workarounds.
October 7, 200817 yr 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.
October 7, 200817 yr What visibility trick in FM? Didn't know that it was possible to change the visibility dynamically. If so how?
October 7, 200817 yr 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, 200817 yr by Guest
October 7, 200817 yr 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.
October 8, 200817 yr 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:
Create an account or sign in to comment