I had a long survey that includes many required text entry questions. I set some questions as the force to response just to guarantee the respondents will answer all questions. But some respondents can't answer the questions in order. They may answer the latter questions then previous ones after they gather enough information. I am wondering whether a submit button is added at the end of the survey. People can't submit their survey before they finish all the required questions. But they can go back and forward even though they leave some required questions unanswered. Any suggestions are appreciated.
Add a submit button to guarantee all questions answered
Best answer by mklubeck
hi jessie0818
I'll preface this by saying I don't do javascript. I try to find solutions using the tool's native features. I think what you want is to make the questions NOT forced response, but you don't want to allow them to "submit" the survey unless they've answered every question, right? So we need a different way to determine if they answered all of the questions. I would lean toward using embedded data, BUT that would use a branch condition and that won't allow the back button.
So, I tested - I just used an ending block. In the block I have two questions - 1 that says thanks for finishing, and another that says they haven't finished, please go back and finish. I used display logic on the first one to only show if they have left none of the questions empty.
"if not empty"
the "question" simply says thanks for filling out the survey. BTW, you can also use this if you are using multiple choice, matrix, or any other type of question.
The second question - displays only if the first question doesn't display (in other words, they didn't answer each question).
Using a tiny bit of Javascrip (thanks ahmedA ) for the question where it says, they need to go back, the Submit button will be grayed out.
this.disableNextButton()
I put it under the "on Ready" function
Qualtrics.SurveyEngine.addOnReady(function()
{ this.disableNextButton()
});
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
