I have made an autocomplete i need validations please have a look. | XM Community
Question

I have made an autocomplete i need validations please have a look.

  • 31 August 2020
  • 0 replies
  • 3 views

Userlevel 2
Badge

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 :)


0 replies

Be the first to reply!

Leave a Reply