Buy Now
Sign in

problem CF6 Read data DB e Dropdown

thesamu , December 13 2017, 14:14
T
thesamu 9
December 13 2017, 14:14 #374063
I can not recall the data in a column of the table
table: clex_area
collum: nome_area

db.jpg

The result is that:
resoult.jpg

The menu’s dropdown configuration is that:
configuration_dropdown_menu.jpg

and
The "setup" ->read data configuration is that:
configuration_setup_menu.jpg

I read everywhere, trying to understand where i’m wrong. Can you please help me to resolve this problem?
Attachments
db.jpg
db.jpg
(38.06 KiB)
393 Downloads/Views
resoult.jpg
resoult.jpg
(6.32 KiB)
300 Downloads/Views
configuration_dropdown_menu.jpg
configuration_dropdown_menu.jpg
(127.75 KiB)
337 Downloads/Views
configuration_setup_menu.jpg
configuration_setup_menu.jpg
(191.77 KiB)
335 Downloads/Views
T
thesamu 9
December 13 2017, 15:14 #374068
up
GreyHead 64
December 13 2017, 15:28 #374069
Hi thesamu ,

I can't fully understand what you are trying to do here :-(

I did notice that in "Richiamo' you have selected the Select Type "Return an array of key/value pairs, two fields must be provided" BUT in the retrieved fields box you only have one field.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
T
thesamu 9
December 13 2017, 16:11 #374071
Hi Bob, thanks for the reply!

I think I did everything wrong !!
What should I do to recall the data in the "area_name" column of a "clex_area" table in the dropdown menu?
GreyHead 64
December 13 2017, 16:16 #374073
Hi thesamu,

Please spell out exactly what you need to do.

Is this a drop-down you are building when the form is loaded? If so what are the key-value pairs that you want to set? It looks as though nome_area may not be unique so you can't use that as a key.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
T
thesamu 9
December 14 2017, 08:10 #374089
I solved, it was a position problem of the read_data module