Curlydave Posted July 13, 2007 Posted July 13, 2007 (edited) How can I modify the properties of a textbox, input field, etc using a script? I'm trying to do 2 things: Having my print script delete the header labels for some text fields if the fields are empty, and having a button disable input into certain fields. For the second one, I know you can do this with behavior property, but I can't find this in the script menu. To get rid of the header labels, the most elegant solution would be something like "If IsEmpty(table::field), delete label1". Alternatively, it could change the text value of label 1 to "", or set the color to white. Is there a way to do any of these things? edit: I can't even find unique identification for the labels, so I don't even know how I'd call them. edit 2: I found a workaround for the first problem: I used fields instead of labels for the labels, and modified them using the "set field" command. This works, but isn't a very elegant solution. Edited July 13, 2007 by Guest
JesseSFR Posted July 14, 2007 Posted July 14, 2007 It sounds like you are in serious need of conditional formating... 9 would take care of most of your problems quite easily: http://sixfriedrice.com/wp/filemaker-9-tip1-hiding-something-on-the-layout/
Curlydave Posted July 16, 2007 Author Posted July 16, 2007 (edited) Thanks for the info. I thought software companies had moved past the days when they'd charge you for a new version instead of patching in common-sense features. : Edited July 16, 2007 by Guest
Recommended Posts
This topic is 6678 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