How to hide and show tab based on field value 'medium and 'high''
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2015 05:16 AM
How to hide and show tab based on field value 'medium and 'high''
if risk field value high then need to show the Tab vice versa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2015 04:33 AM
Hi Tanaji,
Thanks for reply.
Actually i want to hide the Tab so how i can get the section of tab.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2015 05:15 AM
Hi Tanaji,
Thanks for your help.
I have done something like below.
function onChange() {
//Type appropriate comment here, and begin script below
var sections = g_form.getSections();
var u_risk = g_form.getValue('u_string_1');
if(u_risk=='High'){
//sections[10].style.display = 'none'; //Assisment Tab
sections[12].style.display = 'block';
}else{
sections[12].style.display = 'none';
}
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2015 10:54 PM
Hope your issue is solved.
If you need any help please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2015 03:31 AM
Thanks Tanaji.
One another issue m facing please find the details below.
How to make the mandatory asterisk size bigger on tabs that have mandatory fields
I tried to increase the size as below but its not working.
function onLoad() {
//Type appropriate comment here, and begin script below
$$('span.tabs2_tab span.label_description').each(function(e){
e.style.color = 'red';
e.style.font-size = 20 px;
});