Script to show Section based on not equal to value

Confluence User - 16 Oct, 2020

Still on Joget V5, is there a script to use for Section visibility to show data based on a 'not equal to' value? 

On Edit Section > Permissions, something like below doesn't work.

if (!"#form.TEST_Test.field1#".equals("Test")) {
return true;
} else {
return false;
}

forms;beanshell;script

1


19 Oct, 2020
confluenceUser
confluenceUser

Hi, try to confirm that #form.TEST_Test.field1# returns the correct value. Depending on where your script is used, you may need to use Hash Variable#FormHashVariablebyIndex.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print