Is it possible to place a unique id in custom css?

  • Profile Image
    MichaelL360
    Asked on October 23, 2019 at 12:47 PM

    My unique id is generating a value and I need the CSS width to use that value and apply it.


    Ex.

    .Css-class {

    width: {uniqueId}%;

    }


    I've tried to apply it as a inline style as well but that doesn't work either.

    <div style="width: {uniqueID}%;></div> 

    The inline style only seems to work on the thank you page but that is not what I'm trying to achieve here.

  • Profile Image
    roneet
    Answered on October 23, 2019 at 01:48 PM

    Unfortunately, it is not possible to pass the value of the unique Id field to the CSS. To do this you can download the source code of the Form.

    Guide: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    Let us know if you have further questions.

    Thanks.