April 30, 2025Apr 30 Hi Everyone, just wondering if it's possible. Here's a screen grab of two radio buttons, and I'd like to have it so that if a button is not checked (ie the button on the right), then its colour is changed to grey, rather than the blue that you can see. I don't think this is possible though? This is Filemaker Pro 19.6 Thanks for any advice
April 30, 2025Apr 30 Any formats you apply to a field, whether by conditional formatting or by formatting the field itself in Layout mode, are going to be applied uniformly to the entire field, not to individual buttons separately. The most you can do is select different colors for the buttons border and fill (note that only the fill can be modified by conditional formatting). However, you could achieve the desired effect by simulating a radio button set using buttons or circles or even characters such as ○, ◉ or ◎. That said, I am puzzled by your formula IsEmpty ( Self ). That will be true only if none of the buttons is selected. Do you have only one item in your value list? If so, you could also use two instances of the same field and hide one of them. Edited April 30, 2025Apr 30 by comment
April 30, 2025Apr 30 Author Sorry Comment, those are two different fields, I just wanted to show one that is "yes" and another that is "". I would want to change the colour of the radio button(s) when they are not "yes", which is therefore "". When "Yes" the have the dot within the line-circle, and I want to change the colour of the line-circle to grey when that particular field is empty. Apologies for the lack of clarity You say "note that only the fill can be modified by conditional formatting", and it's the border that I wanted to conditionally format! Oh well 🥹 Thanks Edited April 30, 2025Apr 30 by Slater
April 30, 2025Apr 30 I still don't understand what exactly is this about. Maybe something like the attached could work for you? EDIT: Added another option: CustomRadioButton.fmp12 Edited April 30, 2025Apr 30 by comment
April 30, 2025Apr 30 Author Yes, that's exactly what I want! I've been trying to figure out what it's doing, but I've not been able to. Is it all to do with: Choose ( Objects::Status ; 1 ) But I don't get how Status makes one layer hide or not (or go on top), can you give me a hint please?!
April 30, 2025Apr 30 7 minutes ago, Slater said: how Status makes one layer hide or not The top object (the group of 2 blue circles) is set to hide conditionally: Note also the added option using Boolean formatting with the ◉ / ◎ characters, which takes up much less resources.
Create an account or sign in to comment