Skip to main content

Hi All! 

 

I would like to dissable some choice fields with JS as below, but its not working, dont know why.

Do I miss something that needs to be enabled or entered somewhere?

 

Forms Settings / Custom Javascript


NWF.FormFiller.Events.RegisterAfterReady(function(){
NWF$('.ConfidenceLevel table.nf-choice-radio inputpvalue="CL4"]').prop('disabled',true);
})

 

Control Settings / Formatting / CSS class: ConfidenceLevel

 

 

@cecilia-penha Could you please try assist here?


Hi @RobertP,



 



Your selector is probably not valid.



 



Could you try the following :



NWF.FormFiller.Events.RegisterAfterReady(function(){
NWF$('.ConfidenceLevel.nf-choice-radio input[value="CL4"]').prop('disabled',true);
})


Reply