AutoComplete

mikeolvera 23 Oct, 2014
Hi!
I need help, I don't speak English but I'm tried...

I required to make a form that this generate a id of reference

This page form with his reference will have some fields that will must autocomplete in the future of a page form.😢
Max_admin 23 Oct, 2014
Hi Mike,

v5 has an autocompleter demo form which you can check to understand how the auto completer works.

if you want to generate id and use it then it must be stored in the database, you can create a database table for your form (from the forms manager) then connect it to the form using a "db save" action.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mikeolvera 24 Oct, 2014
i don't understand😟
first: i need create a number consecutive M40000001, M40000+n1,....
mikeolvera 24 Oct, 2014
ok, good information, but if I need show this number, ¿how i can do it?
GreyHead 24 Oct, 2014
Hi mikeolvera,

That depends on how you are going to create and maintain the number. The simplest - and least secure - solution is to save the data in he database and use the record id.

Bob
mikeolvera 24 Oct, 2014
this $form->data['chronoform_data']['cf_id'] where I add it?
really the webpage is only for 7 users and I plan on having to use a login to enter the website
mikeolvera 24 Oct, 2014
and this I can serve consecutive number to use as a login form?
GreyHead 24 Oct, 2014
Answer
Hi mikeolvera,

I don't know where you add it - you haven’t said where you want to show the number.

Bob
This topic is locked and no more replies can be posted.