Autocomplete widget: Set a validation to prevent submission if input data does not match the list.

  • Randymkdsg
    Asked on November 27, 2018 at 10:05 AM

    Buenas en el wiggets de auto complete puedo dejar que solo puedan seleccionar las opciones que le pongo que si escriben una que no esta en las opciones me tire un error y  no lo deje escribir?

  • Jan
    Replied on November 27, 2018 at 11:57 AM

    Upon checking, I can verify that the autocomplete widget is working properly. I checked your form and the widget is not producing any error. I was able to type and select items properly. Here's a screen capture:

    1543337638testautocom Screenshot 10

    Hope that helps. Let us know if you need further assistance. Thank you.

  • Randymkdsg
    Replied on November 27, 2018 at 3:27 PM

    Si funciona bien pero lo que ocupo saber es si hay alguna condicion o ajuste para que las personas puedas buscar y selecionar pero si no viene como opcion del widget que no los dejes escribirlo ?

  • jherwin
    Replied on November 27, 2018 at 6:31 PM

    Unfortunately, you can not prevent the user from submitting the form if the user inputted data that is not on the list of your autocomplete widget. You can use the dropdown instead of the autocomplete widget.

    I'm also forwarding this as a feature request to our second level, although we cannot provide an ETA, we will keep you updated via this thread.

    Thanks. 

  • Randymkdsg
    Replied on November 28, 2018 at 9:43 AM

    gracias