I modify a field with textbox, the code is
i would like to modify a field with dropdown, that code should I enter ?? thx
<label>Fascia</label><input type="text" class="form-control" name="gestione[fascia]" /><br />
i would like to modify a field with dropdown, that code should I enter ?? thx
Hi agostinopol,
I think that the standard HTML for a drop-down is what you need.
Bob
I think that the standard HTML for a drop-down is what you need.
Bob
I use this code
the problem is that the dropdown does not display the data stored in the database, how can I fix?
<div class="form-group gcore-form-row" id="form-row-scelta"><label for="scelta" class="control-label gcore-label-left">titolo scelta</label>
<div class="gcore-input gcore-display-table" id="fin-scelta"><select name="scelta" id="scelta" size="" class="form-control A" title="" style="" data-load-state="" data-tooltip="">
<option value="ciao">good</option>
<option value="bye">bye</option>
<option value=""></option>
</select></div></div>
the problem is that the dropdown does not display the data stored in the database, how can I fix?
Hi agostino87,
What data stored in the database - you haven't mentioned that before??
Bob
What data stored in the database - you haven't mentioned that before??
Bob
yes, I want to change the data stored in the database with a dropdown, but any code I try dropdown does not display the data in the database as the main figure of the dropdown
Hi agostino87,
Please explain exactly what you need to do - my mind-reading is failing today :-(
Bob
Please explain exactly what you need to do - my mind-reading is failing today :-(
Bob
I insert data in the dropdown with CF5, I view with CC5, I want to edit this data with dropdown. I do not know how to do it using the classic html code of dropdown, do not read the data in the table😟
I apologize for my poor english
I apologize for my poor english
Hi agostino,
Thank you - have you tried this:
Bob
Thank you - have you tried this:
<select name="gestione[scelta]" id="gestione_scelta" >
<option value="ciao">good</option>
<option value="bye">bye</option>
<option value=""></option>
</select>
Bob
yes, i tried but does not display the data stored in the field
Hi agostino87,
Please turn on the CC Debugger and post a link to the listing so that I can have a look.
Bob
Please turn on the CC Debugger and post a link to the listing so that I can have a look.
Bob
dropdown code
debug form CC
debud save record
<select name="gestione[numeroddt]" id="gestione[numeroddt]" >
<option value="good">good</option>
<option value="bye">bye</option>
<option value=""></option>
</select>
debug form CC
Array
(
[0] => SELECT `Extension`.`id` AS `Extension.id`, `Extension`.`name` AS `Extension.name` FROM `sat_chronoengine_extensions` AS `Extension` WHERE `Extension`.`enabled` = '1' ORDER BY `Extension`.`ordering` ASC
[1] => SELECT `Connection`.`id` AS `Connection.id`, `Connection`.`title` AS `Connection.title`, `Connection`.`params` AS `Connection.params`, `Connection`.`extras` AS `Connection.extras`, `Connection`.`published` AS `Connection.published` FROM `sat_chronoengine_connections` AS `Connection` WHERE `Connection`.`title` = 'assistenza' AND `Connection`.`published` = '1'
[2] => SELECT `gestione`.`id` AS `gestione.id`, `gestione`.`uniq_id` AS `gestione.uniq_id`, `gestione`.`user_id` AS `gestione.user_id`, `gestione`.`created` AS `gestione.created`, `gestione`.`modified` AS `gestione.modified`, `gestione`.`codiceutente` AS `gestione.codiceutente`, `gestione`.`mail` AS `gestione.mail`, `gestione`.`datapratica` AS `gestione.datapratica`, `gestione`.`contatto` AS `gestione.contatto`, `gestione`.`prodotto` AS `gestione.prodotto`, `gestione`.`descrizionedifetto` AS `gestione.descrizionedifetto`, `gestione`.`manifestazionedifetto` AS `gestione.manifestazionedifetto`, `gestione`.`datigaranzia` AS `gestione.datigaranzia`, `gestione`.`numeroddt` AS `gestione.numeroddt`, `gestione`.`dataddt` AS `gestione.dataddt`, `gestione`.`datascontrino` AS `gestione.datascontrino`, `gestione`.`scontrino` AS `gestione.scontrino`, `gestione`.`dichiarazione` AS `gestione.dichiarazione`, `gestione`.`garanzia` AS `gestione.garanzia`, `gestione`.`statolavorazione` AS `gestione.statolavorazione`, `gestione`.`ritiromerce` AS `gestione.ritiromerce`, `gestione`.`dettagliritiro` AS `gestione.dettagliritiro`, `gestione`.`soluzione` AS `gestione.soluzione`, `gestione`.`tipoassistenza` AS `gestione.tipoassistenza`, `gestione`.`costo` AS `gestione.costo`, `gestione`.`dataarrivo` AS `gestione.dataarrivo`, `gestione`.`manager` AS `gestione.manager`, `gestione`.`agente` AS `gestione.agente` FROM `sat_atala_assistenza` AS `gestione` WHERE `gestione`.`id` = '4'
)
debud save record
Array
(
[0] => SELECT `Extension`.`id` AS `Extension.id`, `Extension`.`name` AS `Extension.name` FROM `sat_chronoengine_extensions` AS `Extension` WHERE `Extension`.`enabled` = '1' ORDER BY `Extension`.`ordering` ASC
[1] => SELECT `Connection`.`id` AS `Connection.id`, `Connection`.`title` AS `Connection.title`, `Connection`.`params` AS `Connection.params`, `Connection`.`extras` AS `Connection.extras`, `Connection`.`published` AS `Connection.published` FROM `sat_chronoengine_connections` AS `Connection` WHERE `Connection`.`title` = 'assistenza' AND `Connection`.`published` = '1'
[2] => SELECT COUNT(`gestione`.`id`) AS `gestione.count` FROM `sat_atala_assistenza` AS `gestione`
[3] => SELECT `gestione`.`id` AS `gestione.id`, `gestione`.`codiceutente` AS `gestione.codiceutente`, `gestione`.`mail` AS `gestione.mail`, `gestione`.`datapratica` AS `gestione.datapratica`, `gestione`.`contatto` AS `gestione.contatto`, `gestione`.`prodotto` AS `gestione.prodotto`, `gestione`.`descrizionedifetto` AS `gestione.descrizionedifetto`, `gestione`.`manifestazionedifetto` AS `gestione.manifestazionedifetto`, `gestione`.`datigaranzia` AS `gestione.datigaranzia`, `gestione`.`numeroddt` AS `gestione.numeroddt`, `gestione`.`dataddt` AS `gestione.dataddt`, `gestione`.`datascontrino` AS `gestione.datascontrino`, `gestione`.`scontrino` AS `gestione.scontrino` FROM `sat_atala_assistenza` AS `gestione` LIMIT 30
)
Hi agostino87,
Please turn on the CC Debugger and post a link to the listing so that I can have a look.
Bob
Please turn on the CC Debugger and post a link to the listing so that I can have a look.
Bob
listing
http://assistenza.atala.it/index.php?option=com_chronoconnectivity5&view=connection&Itemid=165
CC5 - dropdown befor save button (the data saved in the database has a field number, "numeroddt" list field)
http://assistenza.atala.it/index.php?option=com_chronoconnectivity5&cont=lists&ccname=assistenza&act=edit&Itemid=165&gcb=4
thank you
http://assistenza.atala.it/index.php?option=com_chronoconnectivity5&view=connection&Itemid=165
CC5 - dropdown befor save button (the data saved in the database has a field number, "numeroddt" list field)
http://assistenza.atala.it/index.php?option=com_chronoconnectivity5&cont=lists&ccname=assistenza&act=edit&Itemid=165&gcb=4
thank you
This is private content
despite a thousand attempts, I can not make this dropdown, it does not return the value of the database. I could go crazy😟
Hi Grey,
i solved using chroonoconnectivity, in edit I inserted the code created by CF5 and modified in the name with "[modelID] namedropdown"
This solution is used to upload to CC data on dropdown and radio box and then modify them
hopefully it will be of help to many this solution
i solved using chroonoconnectivity, in edit I inserted the code created by CF5 and modified in the name with "[modelID] namedropdown"
This solution is used to upload to CC data on dropdown and radio box and then modify them
hopefully it will be of help to many this solution
This topic is locked and no more replies can be posted.