Out of the box custom and dynamic HTML

  • Profile Image
    Asked 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
    Answered 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.