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

    Out of the box custom and dynamic HTML

    Asked by Leverate on February 14, 2016 at 11:14 AM

    Hi All,

    I'm trying to do something bit out of the box here with calculated fields.

    I'm trying to use a value selected using a color picker inside a custom HTML field, for example:

    <p style="color:{color};">TEXT</p>

    But It's not working...


    Any suggestions? 


    Thanks ahead, 

  • Profile Image
    JotForm Support

    Answered by EltonCris on February 14, 2016 at 01:37 PM

    Unfortunately, that code is not supported on text tool. It will be stripped off for security reasons so it is not going to work.

    The only solution to achieve that is to use your form source code http://www.jotform.com/help/104-How-to-Download-a-Source-Code-of-your-Form and apply custom function that captures the color picker value and then update a certain text. If you need help with this, do let us know.