remove required asterisk

  • Profile Image
    manager5land
    Asked on June 19, 2020 at 01: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

  • Profile Image
    Sonnyfer
    Answered on June 19, 2020 at 03: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.png

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

  • Profile Image
    manager5land
    Answered on June 19, 2020 at 04: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".


  • Profile Image
    Sonnyfer
    Answered on June 19, 2020 at 05: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.

  • Profile Image
    manager5land
    Answered on June 19, 2020 at 09:22 PM

    Sonnyfer,

    worked perfectly. thank you for the css.

    Chris