i want to add a border around the date field in Nintex forms as it is possible for title fields.
Title fields and all other controls have a css class "ms-rtestate-field" which will set this border correct, but the date fields have no specific class or id i can use. Also if add an css class in the control setting in Nintex Forms, the class isn't available in the code.
Does anyone has an idea how i can add a border to the date field?
Solved! Go to Solution.
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.
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.
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: