I have made an autocomplete i need validations please have a look. | XM Community
Skip to main content

I have used this code for autocomplete but i need to implement that like i someone fill anyother Flavour that is not in autocomplete so it will show an error that Please correct. Please Reply ASAP i needed to implement asap. and clients are also waiting

Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/

});

Qualtrics.SurveyEngine.addOnReady(function()
{
var textOptions = [
"Burger","Choclate","Candy","Pie Cake","Vannila","Pineapple"
];
jQuery('.InputText').autocomplete({source:textOptions});

});

Qualtrics.SurveyEngine.addOnUnload(function()
{
/*Place your JavaScript here to run when the page is unloaded*/

});

Thanks :)

Be the first to reply!

Leave a Reply