Skip Navigation

[Resuelto] Auto suggestion

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
The issue here is that the user wanted to know if it was possible to add an autocomplete functionality to the texts fields.
Solution:

Unfortunately this can only be possible with custom coding. What you can do is to try adopting the example in the link below so it can work with our plugins
https://jsfiddle.net/yek6bkfs/

This support ticket is created hace 6 años, 9 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Este tema contiene 7 respuestas, tiene 2 mensajes.

Última actualización por Shane hace 6 años, 9 meses.

Asistido por: Shane.

Autor
Mensajes
#619788

Hi, I need some help...

Is there a way to create an 'auto suggest' field in CRED ?

The idea is that people will chose their language, when they start typing...

FRE... ==> FRENCH will be suggested
EN... ==> ENGLISH

Thanks in advance for your help

#619824

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Miguel,

Thank you for contacting our support forum.

I'm not quite sure what you mean. Could you explain in a bit more detail for me?

Thanks,
Shane

#620086

Sorry Shane, I don't know how to explain it.

This plugin does the job for Gravity forms... enlace oculto

The idea is people start typing in a field, and we will have a list of suggestions...

Thanks

#620115

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Miguel,

Thanks for the clarity.

Unfortunately no our plugin isn't able to do this .

It might be possible with some custom coding but this would be out of the scope of our support forum .

Thanks,
Shane

#620243

I can't believe there is not an easy way to do this ! There is no way to use 'select' when the list is 100 lines...

Too bad

#620255

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Miguel,

What you can try doing is to convert the select to a select2 dropdown list.
enlace oculto

Please take a look at the example above and let me know if it was able to assist you.

Thanks,
Shane

#621470

Thank you Shane, thats exacly what I want...

Can you please guide me a little more ? I just have to inert the JS code on the form ?

I doesn't seem to work :

enlace oculto
____________________

$(function(){

$('select').select2();
$('select').on('select2:select', function (evt) {
url = $(this).val();
if(url!="")
{
window.open(url);
}

});
});
_________________________

#621513

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Miguel,

Could try replacing all the $ with jQuery.

Thanks,
Shane