CSS Injection: Do you guys have another way to approach the field ID 's?

  • Profile Image
    ronaldjan
    Asked on January 31, 2018 at 02:25 PM

    Hm. Yes. I already found out how to identify the field ID's.... The problem is however, this doesn't work for the star rating field :-(. Do you guys have another way to approach the field ID 's? CSS coding is worthless without proper field ID's.....



    This is a re-post of a comment on How to Find Field IDs and Names

  • Profile Image
    BDAVID
    Answered on January 31, 2018 at 03:22 PM

    What is the code that you are trying to inject to the star rating fields? Is this the form in question? http://www.jotformeu.com/form/80304955602352 

  • Profile Image
    ronaldjan
    Answered on January 31, 2018 at 05:43 PM
    Hello David. Thank you for your quick reply. I am trying to 'display:none' the question labels. By doing so the overall form will look a bit more subtle, questions will only be exposed by their sub labels. For now I disabled this coding but once I know the exact field ID again I can bring it back on....
    Bye. Ronald Jan
    <="" a="">
    <="" a="">
    Sent from my iPhone.
    ...
  • Profile Image
    BDAVID
    Answered on January 31, 2018 at 07:39 PM

    You can do an inspect element with your browser to get the ID of the label you want to hide, example:

    1517445511inspectid.gif

    So, this would be the code you need to inject to hide that label: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    #label_240{

        display: none;

    }