How can I check if a checkbox is checked in Bean Shell?

Confluence User - 08 Jul, 2018

Hi,

I want to check if a certain checkbox is checked or not, in Bean Shell. How should I do that?

beanshell;checkbox;value;checked

2


09 Jul, 2018
confluenceUser
confluenceUser

Hi, the checkbox values are stored as semicolon separated value. You can split the value and check it by looping the list.

10 Jul, 2018
confluenceUser
confluenceUser

In Bean Shell Programming Guide#UseasFormMultiRowStoreBinder sample, use

row.getProperty("checkboxID");

to get the value.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print