How to change font color of Date Picker Widget?

  • lulrich
    Asked on July 21, 2015 at 10:19 AM

    How do I change the text color of the date after it gets picked?  I had figured out how to change css, etc. on other controls, but on this widget it stays grey and I need it white if possible.  Love your stuff so far.

  • Ashwin JotForm Support
    Replied on July 21, 2015 at 12:33 PM

    Hello lulrich,

    Unfortunately "Date Picker" widget does not have options to inject custom css code to change the appearance of the widget.

    Let me send a feature request to our back end team. We will get back to you as soon as we have any update form them.

    For now, I would suggest you to please use "Date Time" field instead of "Date Picker" widget. Please check the screenshot below:

    How to change font color of Date Picker Widget? Image 1 Screenshot 20

    Thank you!

  • lulrich
    Replied on July 21, 2015 at 12:49 PM
    Thank you. It was behaving like the css injection was giving me grief.
    ...
  • Charlie
    Replied on July 21, 2015 at 2:47 PM

    Just to add, most of the widgets won't be affected with the custom CSS code that we inject on the form, unless the widget has it's own option in the settings for its own custom CSS code.

    An example is the Configurable List widget, if you open its settings, you'll see an option to add the CSS directly there. 

    How to change font color of Date Picker Widget? Image 1 Screenshot 30

    The custom CSS code that we inject directly in the Preferences or in the Form Designer Tool, only affects directly the form fields found under "Form Tool", "Quick Tools", "Survey Tools" and some in the "Payment Tools".

    How to change font color of Date Picker Widget? Image 2 Screenshot 41

     

    I hope that helps. If you needed any assistance again, please feel free to open a new thread here in the forum anytime.

    Thank you.

  • lulrich
    Replied on July 21, 2015 at 3:19 PM
    Thanks for that follow up too.
    How does one make widgets?
    ...
  • Mike_G JotForm Support
    Replied on July 21, 2015 at 5:14 PM

    I have moved your new concern to a new thread because it is not related to the original topic of this thread. We believe that it is better to have a separate thread per question to avoid confusion with the answers. You can follow the new thread by clicking this link: http://www.jotform.com/answers/615985.

    Thank you.