What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can I make one element in my form have a different text color than the rest of the form?

    Asked by dclaus on August 07, 2014 at 04:29 PM

    Hi! 

    I need to create a form collapse in a JotForm. However, I would like the whole form to be black with white writing. But the form collapse fields are white/light grey and the writing on the form collapse is white so it isn't very visible.

    Is it possible to keep the writing on the rest of the form white and just change the writing on the form collapse to be black?

     

    And is it possible to only require that form collapse 1 be filled out and but form collapse 2 not be required?

    Your help would be greatly appreciated! 

    Thank you!

    Page URL:
    http://www.jotformpro.com/form/42185883340962

    different custom css text color form collapse
  • Profile Image
    JotForm Support

    Answered by Mike_T on August 07, 2014 at 06:12 PM

    Thank you for contacting us.

    It is possible to inject a custom CSS code to the form in order to style it.

    For example, we can use the following CSS to set the black text color on the form collapses.

    .form-collapse-table {
    color: black;
    }

    The second question has been moved into a separate thread:

    https://www.jotform.com/answers/413463

    Please feel free to contact us if you need any further assistance. We will be happy to help.