This page is for application designers who want to create a true/false representation that is different to the default tick box.
By default, a true-false component shows a tick box that is
- ticked where a value is true
- unticked where a value is false.
To represent true/false values with different images
- Edit the true/false component properties.
- Switch to the Design tab
- In Style Settings, select a Background Image.
You can also upload an image to use. - In Formatting Rules, create a rule for the true state. Set:
- Rule Expression to
'true'
. - Select a style with an image that represents the false state.
- Rule Expression to
- In Formatting Rules, create a rule for the false state set:
- #Rule '_form.value'
- Set the stop on true flag
- ormatting rule select a style with a background image that represents the true state and the second formatting rule should select a style with an image that represents the false state.
Add a background image to the true/false component Fiona-todo: I can't see how to do this.