Page 2 of 2

Re: Conditional formatting

Posted: 15 Jun 2014
by Dmitry Kozlov
Hi,

Please, try the code below:

Code: Select all

var status = fd.field('Test Status').value();
if (status == 'Completed') {
  $('#s4-ribbonrow').hide();
} else {
  $('#s4-ribbonrow').show();
}