Fórum

Aui auto complete list with extra feature.

thumbnail
krishna mohan mathakala, modificado 9 Anos atrás.

Aui auto complete list with extra feature.

Junior Member Postagens: 68 Data de Entrada: 08/09/12 Postagens Recentes
Hi

I want to use Aui auto complete list with extra feature.
I want to get the email ids from a custom table and fill them in auto complete list .
If the email id is present in database it come in to text box.
if the email id is not there in database we should add it to text box and also when we click submit button we should add it to database .
If it is not possible with aui auto complete list please let me know the alternative to this (In Jquery or Aui or any other library).
thumbnail
Hitesh Methani, modificado 9 Anos atrás.

RE: Aui auto complete list with extra feature.

Regular Member Postagens: 171 Data de Entrada: 24/06/10 Postagens Recentes
Hello Krishna,

Its not the extra feature I think, you can work with existing AUI autocomplete and get the values from database using serveResource and if the value is not there in database, and user clicks submit, you can call portletAction and in controller you can add it to the database if the value already does not exist.

Once the value is entered to the database it will automatically be available to autocomplete.

Thanks,
Hitesh Methani.
thumbnail
Sushil Patidar, modificado 9 Anos atrás.

RE: Aui auto complete list with extra feature.

Expert Postagens: 467 Data de Entrada: 31/10/11 Postagens Recentes
Hi,
Following link may be helpful for you.
https://www.liferay.com/web/sushil.patidar/blog/-/blogs/comma-separated-multiple-autocomplete-in-one-field

Regards