Forums

[RESOLVED] How to use autocomplete loader / processor?

jack19 05 Feb, 2013
Hi,
help me!
I do not understand how to use and configure autocomplete loader / processor!
There's a tutorial?
:? ๐Ÿ˜Ÿ
Best Regards.
Gioacchino
GreyHead 05 Feb, 2013
Hi Gioacchino,

There's no tutorial for this as far as I know, only the Help tabs.

How far have you got to? What isn't working?

Bob
jack19 05 Feb, 2013
Hi Bob,
I would like to apply the autocomplete in a text box (By taking the data from a database), to perform a search.
Where should I put the loader and where the processor?
In the preview I added a text box (field name search).
The actions I have placed Show html, but I do not know where to put the loader and the processor and the event name.
Help me please.
Regards.
jack19 06 Feb, 2013
Hi people,
I solved it, I failed to write the name of the event AJAX.
But I have a small question.๐Ÿคจ
Doing research with the fields used (autocomplete), on the results page I can not empty the fields, even setting the reset button.
Any idea?
Best Regards.
GreyHead 07 Feb, 2013
Hi jack19,

The reset button will try to restore the values when the form was loaded, I guess that it doesn't recognise the AutoComplete input.

A little JavaScript snippet linked to the onClick event of the Reset button will do it.

Bob
laurentmartin 16 Feb, 2013
To Jack,
Congratulation that you solved your problem but you could share a minimum how you solved your problem and with which code/step/snapshot as it may be interesting for other who will be in the same case than you.
Thank you for your contribution to the community.
jack19 15 Feb, 2014

To Jack,
Congratulation that you solved your problem but you could share a minimum how you solved your problem and with which code/step/snapshot as it may be interesting for other who will be in the same case than you.
Thank you for your contribution to the community.


I'm sorry, I thought it was enough to say:
I solved it, I failed to write the name of the event AJAX.
I have not received the notification, that's why I say just now.
Still need my explanation?
Regards.
Gioacchino
jack19 15 Feb, 2014
Answer
Hi,
see this steps.
[attachment=0]step1.jpg[/attachment]
[attachment=1]step2.jpg[/attachment]
[attachment=2]step3.jpg[/attachment]
[attachment=3]step4.jpg[/attachment]
[attachment=4]step5.jpg[/attachment]
[attachment=5]step6.jpg[/attachment]
[attachment=6]step7.jpg[/attachment]

Regards.
Gioacchino
inocampo 17 Feb, 2014
Amazing the result, with this step by step worked very well.

I wonder how can I select a user name and your code in the database remains stored in a hidden field.

thanks
GreyHead 17 Feb, 2014
Hi inocampo,

You can save a username in the database table as that is unique and will let you identify the user. Or, you can look up the UserID from the username in a Custom Code action when the form submits and then same the User ID in the table.

Bob

@jack19 - great post, thank you.
jack19 17 Feb, 2014


@jack19 - great post, thank you.


Hi Bob,
If you'd like to buy me a coffee, thank you very much.
๐Ÿคฃ
This topic is locked and no more replies can be posted.