Skip Navigation

[Resolved] Auto suggestion

This thread is resolved. Here is a description of the problem and solution.

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 6 years, 9 months ago. 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.

Our next available supporter will start replying to tickets in about 1.38 hours from now. Thank you for your understanding.

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)

This topic contains 7 replies, has 2 voices.

Last updated by Shane 6 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#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

Languages: English (English )

Timezone: 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... hidden link

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

Thanks

#620115

Shane
Supporter

Languages: English (English )

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

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,

What you can try doing is to convert the select to a select2 dropdown list.
hidden link

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 :

hidden link
____________________

$(function(){

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

});
});
_________________________

#621513

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,

Could try replacing all the $ with jQuery.

Thanks,
Shane