Regarding Date type of questions


Hi team, I am facing an issue with the date type of questions I don’t want the response to enter the date manually it should be selected by the calender icon only which is present there I just want to restrict the responders to enter the date manually.For reference you can check my SSD Survey.

Lola Gill answered
    Lola Gill 6.99K Rep.

    This is not a built in option in SurveyGizmo, but could be done with JavaScript if you have access to this feature (it requires a Pro Plan or higher).

    I have used the following code in the past:

    $(“#id of text element”).attr(“disabled”,””);

    You would need to replace the “id of text element” above¬†with the actual ID of the textbox associated with your date question:

    I would also recommend providing some explicit instructions for your survey respondents so that they are not confused by not being able to click into the box.

    I hope this helps!

    Lola Gill commented
      • Use this instead:

        $(“#id of text element”).attr(“readonly”,””);

        note “readonly” instead of “disabled”



      Question stats

      • Active
      • Views4199 times
      • Answers1 answer
      • Followers1 follower