Suggestion dans le champ

More
12 years 10 months ago #35700 by juansolos
Bonjour,
y a t-il une possibilité pour que qu'une zone de texte fasse une suggestion.

Par exemple je tape les premières lettres de la commune et on a le choix parmis les communes commencant par ces lettres.
Exemple le champs commune à droite sur le bon coin
www.leboncoin.fr/annonces/offres/ile_de_france/

Merci

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35706 by ggppdk
Replied by ggppdk on topic Suggestion dans le champ
Hello,

tou mean auto-complete on the Search box?

This is planned (to implement in a near future FLEXIcontent version) for both:
-- the search text in FLEXIcontent search view
-- and for FLEXIcontent filters

This is a lot easier to implement / add than
- FACETED Filtered Behavior we added to our category/search filter:
a. Display filter values according to current filter
b. Display item count per filter value


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35711 by juansolos
Replied by juansolos on topic Suggestion dans le champ
Thank for the reply.
I mean in the submission form.
We have 36000 cities in France. A textarea associated to a selectlist like the link above should be useful.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35723 by micker
Replied by micker on topic Suggestion dans le champ
... une question as tu utililsé le texte select c'est déjà pas loin de ce que tu veus ...
non ? y a pas l'auto suggestion... mais c'est déjà pas mal sinon un selectlist avec une requette dans une table avec tout tes noms de ville

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35725 by juansolos
Replied by juansolos on topic Suggestion dans le champ
Merci,
j'y ai pensé mais il y a près de 40000 communes. Ca fait un sacré selectlist de 40000lignes.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35733 by ggppdk
Replied by ggppdk on topic Suggestion dans le champ
We already integrated select2 JS library into upcoming FC v2.0.2

I will simply enable selecte2 JS library in the drop down select list filter, this way you will get an instant filtering as you type.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35771 by juansolos
Replied by juansolos on topic Suggestion dans le champ
Ok,
le textselect semble être un moyen de mettre autre chose (dans le champ texte) que ce qu'il y a dans le select.
Si j'ai bien compris?

Le select de 40000 lignes est trop énorme. Du coup il y a peut être la possibilité d'avoir un champ de communes dont le contenu dépenderait d'un autre champ.

Ex : je tape mon code postal et le select en dessous ne me propose que les villes avec ce code postale.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35773 by ggppdk
Replied by ggppdk on topic Suggestion dans le champ
Hello,
well a 40,000 entries may not be too much , => 400 kbs in item form ?

select2 jQuery JS library will make filtering it easier

also what you suggest is in our plans, or to load the select field via AJAX when user enter some characters, but this is not available now

So this was added in todo for v2.0.2

TODO: add select2 JS library to fields with drop down select form fields, these are:
select, multi-select field, and textselect


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35775 by juansolos
Replied by juansolos on topic Suggestion dans le champ

ggppdk wrote: well a 40,000 entries may not be too much , => 400 kbs in item form ?

40000 lines in a tables aren't too much, sure.

But for the final authors in the submission form, 40000lines in the drop down list are too much.

That why i am trying to find a solution to reduce this number.
Auto suggestion is a way.
Another one is to have previous field like "département" or "code postale". The next field (villes) will show in the drop down list only the elements whose have the value of the previous field.

Am i clear?

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #35787 by ggppdk
Replied by ggppdk on topic Suggestion dans le champ
Hello,
yes , what you describe is planned and is not available now, you could only create this if you author a new custom flexicontent field

www.flexicontent.org/documentati ... ields.html

Despite not wanting to add new features to v2.0.2
i will enable loading of JS lib that you will give you instant filtering to the select field as soon as you type the 1st character.

Currently there is no other alternative implemented

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save