Win a copy of Terraform in Action this week in the Cloud forum!

enrique man

Greenhorn
+ Follow
since May 30, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by enrique man




Hello

Hello, Im new to Java/Groovy Script. I have a checkbox in a form (tpme_med_supp_products) and if selected I want to hide a tab in a tab container. This code is not working . Any ideas


if(form.getValue('tpme_med_supp_products') == 'true' || form.getValue('tpme_med_supp_products') == 'true' ) {

 form.getTabContainer('onbd').HideTab('certification');
}
else {
form.getTabContainer('onbd').ShowTab('certification');
}


 

1 year ago