you can simply configure it in control's settings
Hi ,
i know that i can configure the border in the control settings, but this is not the border i want. If i configure it in the control settings, the border looks like this:
But i want the border to look like this:
(the red border is painted)
Within other controls in Nintex Forms, i can add a css class on "Control CSS class", but for date controls it has no affect on the code. If you add a css class to the control, publish the form and check the code within DOM Explorer, the class is not available in the code.
then try following
- configure a custom 'CSS class' for datepicker control (eg. xCSSClass)
- add a style definition like following to form's 'Custom CSS'
.xCSSClass .nf-date-picker{
border: 2px solid blue !important;
}
i already did this with no success.
The CSS class "xCSSClass" is not written in the code and also the modification on "nf-date-picker" has no effect.
Fyi:
I am using a site workflow with an start form (nintex forms for nintex workflow).
Marian's rule should totally work, even if it's a site workflow starting form, as long as it's a Nintex Form, it shouldn't be different.
Make sure that you have the class set up correctly like (make sure that there is not a period (.) in front of the class name when it's typed into the CSS class input!):
and that your CSS is in the right place:
Saving those settings should produce instant results in your Form Developer Environment:
Hi ,
thanks, now it works! I wrote the custom css class in "Control CSS Class" and not "CSS Class", misunderstood marians description. I will mark Marians answer as correct, because she first replied the correct answer.
Thanks a lot!