2.12.4 Information Droplet
Use this when you need instructions on the screen without crowding the form
with instructions. This allows you to show more than you can with a place holder.
You can toggle the showing of the information by pressing the Info button and then
by pressing it again to hide the instructions.
Create two variables in you FAB form.
InfoDropletInput
InfoDropleShow of type boolean and set default to false.
Add three UI elements to the screen.
- Input
- Button
- HTML
Add script to button
function onInfoButton(evt) {
if (getField("InfoDropletShow") === true) {
setField("InfoDropletShow",false);
} else {
setField("InfoDropletShow",true);
}
};
Related articles