I have a long survey preamble. Respondents have to scroll to the very bottom to click "Next" to start the survey. Is there code that I can use to insert a button within the first "Text/Graphic" question type near the top of the page (right below the survey title/not in the Header) to start the survey? I'd also like to be able to customize the wording on the button. Thanks in advance!
Code for custom button to start survey at top of page?
Best answer by Rudi
Hi researcher1
you can do this by:
- go to the html editor for the question text
- add a button on the top
- you might want to add two tags
- one for the button
- one for the text below
- this two divs you can use to position the button and and the text by css
- style the button to your liking in the css part of the style
- add the below java script
Qualtrics.SurveyEngine.addOnReady(function()
{
// start survey by clicking on a button
this.questionclick = function(event,element)
{
console.log(event, element);
if (element.id == 'surveyStartButton') // insert the id of your survey start button
{
alert('You clicked the start button'); // for testing only remove before going live
this.clickNextButton() // clicks on the next button and thus starts the survey
}
}
});
Best regards
Rudi
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.
