Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the value from a checkbox on my confluence page

ElizabethC
Contributor
April 10, 2019

I see all this dev script stuff I have no clue what its for. when looking up getting checkbox values. 


All I want to do is if I have checkboxes in use on a confluence page, like this in a column after my test case step. 

☑ Pass

☐ Fail

Can I somehow get that pass value and save it?  Its cuz I have a table of test cases with a column of pass fail checkboxes, and you can check them when not in edit mode. I figure there must be a reason why you can. 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 18, 2021

I don't use the cloud, but I assume that this should work (near the top)

if (input1 == 'NOT APPLICABLE') {
return
}
Alex Sprague
Contributor
March 18, 2021

I can't believe it was that simple. I think I was using return; without the value brackets and that's why everything was erroring out. Thank you for your help!

Like johnson reddy likes this
TAGS
AUG Leaders

Atlassian Community Events