AnsweredAssumed Answered

How can i use javascript on view mode

Question asked by jackcurtissm on Aug 12, 2018

Hi guys

 

Sorry if the title isn't very descriptive.. I'm having an issue with my nintex form not letting me use Javascript to show and hide sections with buttons on the view mode, for example a user will click a button and it will hide all of the other content but show the selected content requested from selecting the button.

 

I have enabled the buttons in the view mode also.

 

Here is my javascript

 

function ShowTab(Section){
    var rad = NWF$('#' + ButtonValueText);    
    NWF$(rad.find('label')[Section]).click();
}

function ShowRiskArea(Section){
    ShowTab(1);
    var rad = NWF$('#' + chkRiskAreaTabs);     
    NWF$(rad.find('label')[Section]).click();
}

 

Kind Regards,

Jack

Outcomes