is there any way by which we can hide the first blank choice in drop down of drill down question?
jQuery("#"+this.questionId+" select option:first-child").prop({"disabled":true,"hidden":true});
above line can remove only first choice blank space in drop down.
Page 1 / 1
Hello @GSSCEAGAppManBD ,
Use the below code:
`jQuery("#"+this.questionId+" select option:first-child").remove();`
Use the below code:
`jQuery("#"+this.questionId+" select option:first-child").remove();`
@Shashi ,
Your answer will remove the blank choice from first drop down of drill down question not for subsequent drop downs.
!
As shown in image
Your answer will remove the blank choice from first drop down of drill down question not for subsequent drop downs.
!
As shown in image
I have a question about this. Will this option be marked as selected if the person will not actually answer this question?
Hi I would also like to know how to do this. The above code works for just the first option but if I select a new one the blank appears again.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.