Hello everyone
I'm Italian and I write through google translator - sorry for not perfect English -
I have a problem with the dropdown: Do not save the data in the table created.
I also tried with a small test set in this way
Insert dropdown and set by default:
1 = on
2 = off
required = yes
in the form in frontend I click my choice but after pressing the submit button in table view into backend does not appear no data
where mistake
Thanks in advance
angy
hello calculus00
thank you for your kind attention and response
you ', I was rather evasive because I think I did a simple thing, Cmq in detail I composed a form with a dropbox and a submit button
after saving the form I created the table with the key on the menu 'at the top - I checked the table and the fields are created among which the dropdown
then they again entered the form to set the data storage by inserting dbsave and setting the newly created table
saving works well, because 'I know the table view data saved but not those reported in the dropdown
I set the dropdown in a very simple way by default because 'I wanted to see if doing the test I saved the data in the table
for which the dropdown is set in this way:
in general:
field_name = team
field_id = team
options =
0 = no
1 = yes
options = empty selects the team
label = name team
in validation
required = yes
dynamic data = no
save and close the form
after the startup form from frontend and I select from the dropdown the "no" which in theory should be saved in the table. I press submit and in fact the data is saved in the table
I go back to the administrative side and receive the records in the table using the link that appears to the side to form created
the entered value and that '"no" does not appear in the dropdown field team reported
maybe I have to add the code?
I thought the value was saved directly via the submit after you have set just saving the data in the db
I hope I was more 'clear and I apologize again my English google translator
thanks again
angy
hi bob
thank you for attention
change in dropdown value :
On = On
Off = Off
Data listing
Created Date/Time ID
2014-09-04 13:56:29 5
but result in table is
id 5
uniq_id
user_id 232 ( change in this moment)
created 2014-09-04 13:56:29
modified
team
utente
button3
😟 no value in team and utente, I tried again more 'times from the beginning to recreate the form with the table but I can not see the values ​​of the dropdown previously saved
other solutions for my problem ?
Thanks in advance
angy
Hi angy,
If you have changed the form since the table was created then please click the Delete Cache icon in the Forms Manager toolbar to update ChronoForms records.
If that doesn't solve it Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Bob
solved
hi bob
due to my distraction
😀 solved
Record view
id 8
uniq_id
user_id 232
created 2014-09-04 14:32:10
modified
team No
utente No
button3
Submit
Joomla! 3.3.3 —
Vedi sito
1 1 Utente
1 1 Amministratore
0
Esci
resolved
Fixed for my simple mistake and maybe I did not understand the use of the array handle, in fact I had set in db save:
Save under Model ID = yes (not fuction) instead = no (ok)
Use the data available under the Model ID key in the data array
forgive me of my distraction and inability ', thanks
Does your table have a field with a name matching the dropdown field name ?
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I'm having the following problem: homogação procedures, certification, communication.
each has a responsibility area. I want to do the following in cronoForms v5: When o user fill in all
the form, select one of the three subject and send, go to the e-mail of the responsible area.
when I send departamento @ gmail = certification, the e-mail who get the is email @ gmail and not the certification
somebody help me!
grateful: Fabio