Trying to display "MM/DD/YYYY" in answering textbox

benchedbenched Community Member Qubie ✭

Trying to display "MM/DD/YYYY" in answering textbox

Hello all,

I am trying to have the answering textbox display "MM/DD/YYYY" so as to prompt respondents about the expected date format. How can I do that?

Tagged:

Best Answer

  • NiCNiC Mumbai Superuser ✭✭✭✭
    Accepted Answer

    You can put add this code in onload function :
    document.getElementById("QR~"+ this.questionId).placeholder = "MM/DD/YYYY" ;

Sign In to Comment