cancel
Showing results for 
Search instead for 
Did you mean: 
nirmala
Nintex Newbie

Unable to apply custom css towards a people picker control

Jump to solution

Hi,

I am using Nintex Forms 2013 and I am trying to apply custom css(border-color as 'something') through JavaScript towards a people picker control and the CSS is not applied at all. My JS code is as follows:

ApproverID.css('border-color','red !important'); //ApproverID is the JavaScript ClientID of the picker control

I have applied the same piece of custom CSS towards other controls like dropdown(choice control), date, single & multi-line text boxes without any issues.

Any help is grealty appreciated.

Thanks

0 Kudos
Reply
2 Replies
Automation Master
Automation Master

Re: Unable to apply custom css towards a people picker control

Jump to solution

different control have different DOM model so the same syntax need not apply to all of then.

for people control something like this should work

NWF$('#'+ApproverID).closest('.nf-filler-control-border')[0].style.border='2px solid red'
Reply
nirmala
Nintex Newbie

Re: Unable to apply custom css towards a people picker control

Jump to solution

Hi Marian,

It worked, thanks a lot. You saved me a lot of time.

Thanks again.

Reply