When you select an input field on my form it changes colour

  • buildabike
    Asked on February 12, 2018 at 4:32 AM

    Hello, 

    my form is grey as the colour scheme, with white font.

    When a user clicks a field to input data, the field changes to light yellow or light red when you click off and you therefore cannot see the text. How do I change this?? 

    Many Thanks,

    Josh 

    Jotform Thread 1380999 Screenshot
  • mksglu
    Replied on February 12, 2018 at 7:46 AM

    You need to inject custom CSS to your form. Please follow this user guide: https://www.jotform.com/help/261-How-to-Create-a-Custom-URL-of-a-Form

    To change field color this work below code:

    .form-line-error { background-color: #4e4e4e; } .form-line.form-line-active { background : none !important; background-color : transparent !important; }

    It's working fine. You can also check it on this link: https://form.jotform.com/80423437723959

    I hope it helps.

  • buildabike
    Replied on February 12, 2018 at 9:05 AM

    That is fantastic! Thank you so much. And really appreciate the speed of the response. 
    Other than that, I am really pleased with Jotform! It is working great for me.

  • Richie JotForm Support
    Replied on February 12, 2018 at 10:49 AM

    Good to know the issue has been resolved.

    Please let us know if we can be of further assistance.