Autocomplete

How to autocomplete a custom user field in a ChronoForms form.

Overview

The issue occurs when a custom field added to the Joomla users table does not populate automatically using the standard {user:field} placeholder.
Use a Data Read action in your CF form to load the custom field value from the database instead of relying on the built-in placeholder.

Answered
ChronoForms v6
Ma Maxvl 01 Mar, 2018
Hello!

Added to the user registration from the ITN field (useres table).
Data is saved and available in the ITN field.

To autocomplete the ITN field in the from, i use {user:ITN}
For some reason, autocomplete is not performed.

Please tell me why.
Gr GreyHead 01 Mar, 2018
Hi Maxvl ,

What exactly do you mean by AutoComplete here - is it just loading data when the form loads; or is it a AutoComplete form input that looks up data from the server when you type into it?

Bob
Ma Maxvl 01 Mar, 2018
Thank you for clarifying.

Intereted in the input of data to the form the server (from users table).

Input of data (name, email) in the form performed, but new field users table input is not performed.
Gr GreyHead 02 Mar, 2018
Answer
1 Likes
Hi Maxvl,

I recommend that you do not add extra columns to the Joomla! User table as that may cause you problems later. If you do then you will need to use a Data Read action to access the column value in your form.

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