Buy Now
Sign in

FORM VIEW in CV6 that contain a CF6 form : save ok, but doesn't retrieve data from DB

gix.vax , April 16 at 21:17
hi all
i hope this is not a crossposting,
the other thread is marked as answered then i think no one will answer me there.
by the way,
following this thread
i'm able to open a CF6 form inside a form view in CC6 and save data
but my form have all the fields empty except the idfield (idimbarcazione)
then my record is saved empty except idimbarcazione or fields that i compile manually.
I think the array have only idimbarcazione inside but i can't understand why, if i use a test table it works (see below)
i have a table view that show all my records (not filtered, all)
every row have a task button in every row that open a form view with a CF6 inside to show only the record of the row and a save button (that works)
event : edit
url : idimbarcazione={var:Imbarcazioni_list.row.imbarcazioni_lista.idimbarcazione}
name: fn_imbarcazioni_dettaglio
model : imbarcazioni_dettaglio
where condition : imbarcazioni_dettaglio.idimbarcazione:{data:idimbarcazione}
(this function work with a TEST table view and show the row i need...see below)
TEST TABLE VIEW (used for test function)
data provider : {var:fn_imbarcazioni_dettaglio}
column list:
this work without problem
Event EDIT content:
form view :
name : view imbarcazioni_inserisci_cf6
data provider : {var:fn_imbarcazioni_dettaglio}
event : save
{view:campi_aggiuntivi} (are test fields)​
​{chronoform.section:cc_Imbarcazioni_inserisci/one} (my CF6 form to display and save data data)​
​{view:salva_imbarcazione} (this work without problem)
CF6Form have
default event : load
in load section:
name : one
data provider {data:}
in CF6 i tried in value of the fileds, things like this
nothing: only idimbarcazione have value whit {data:idimbarcazione}
Debug mode doesn't work, maybe a limitation of a CF6 in CC6?
if yes, there are other limitation, for example: can i use read data inside cF6 and it works inside a form view in CC6 or is "cutted away"?
someone can help me?
thank you
ok, i understand reading this
in form view i must use
data provider : {var:fn_imbarcazioni_dettaglio.imbarcazioni_dettaglio}
AND NOT {var:fn_imbarcazioni_dettaglio}
in function i must use:
firt matching record
now my table test (based on the same function) stops to work but is a test table then ok