remove required asterisk

  • manager5land
    Asked on June 19, 2020 at 1:06 AM

    could someone give me some simple code to remove the red asterick from the spreadsheet to form element.

    I don't want to remove any other astericks from my form, only this one field.https://form.jotform.com/201396333840150

  • Sonnyfer JotForm Support
    Replied on June 19, 2020 at 3:18 AM

    Hi there - To my understanding, you wish to allow your users to leave the Spreadsheet to Form widget blank. If this is correct, then perhaps you can set the Required to "No" to prevent the red asterisk from appearing on your form.

    1592551013unresds Screenshot 10

    Give it a try and let us know how it goes.

  • manager5land
    Replied on June 19, 2020 at 4:09 AM

    Sonnyfer,

    I am aware of how to require/unrequire.

    Allow me to clarify.

    I would like for the Requirement of the Spreadsheet to form to be "yes" required. however, I would like to delete the red asterick from this form field only.

    I do not want my users to be aware this field is required.

    to clarify, I am aware that I can insert css of-


    .form-required {
    display: none;
    }


    However, I do not want this.


    I want all of the other red astericks to show on my form, but I do not want the red asterick to show on the field currently labeled "Type a question".


  • Sonnyfer JotForm Support
    Replied on June 19, 2020 at 5:22 AM

    Thanks for clarifying.

    Kindly inject the below CSS code on your form to hide the Asterisk from the Spreadsheet to Form Widget:

    #label_79 span.form-required {

        display: none;

    }

    Guide: How-to-Inject-Custom-CSS-Codes 

    Let us know how it goes.

  • manager5land
    Replied on June 19, 2020 at 9:22 PM

    Sonnyfer,

    worked perfectly. thank you for the css.

    Chris