AnsweredAssumed Answered

Whats the best way to change field value based on button press?

Question asked by user2147635 on Oct 9, 2018
Latest reply on Oct 10, 2018 by philmodjunk

Hi again,


I find myself questioning myself again. What would be the best way to have a button press input values from a list?


As an example, you have a button that, when switched on sets the value of a field to on and when clicked again sets the value to off just like a light switch?


In the instance that I am thinking of using this, I would like the values to be yes and no, but I can think of many instances where this might be helpful.


I might also like to have the button look as though it is pressed in when on. The only way I can think of to do this second part is to have two buttons, but there must be a better way right?


Does anyone have any examples?


Thanks in advance for your help.