Form Student connect Database Student-->
two dropdown fields:
Category DDfield --> Database categories --> field Category
Especiality DDfield --> Database especialities --> Category, Especiality
Two Dropdown fields depending databases values.
The second dropdown needs a filter depending the first selected.
In the chronoforms v5 samples you have a sample like this but without database conections.
But the sample is not database conected,
I have tryed do it but no running
Can you helpme??
Thanks
two dropdown fields:
Category DDfield --> Database categories --> field Category
Especiality DDfield --> Database especialities --> Category, Especiality
Two Dropdown fields depending databases values.
The second dropdown needs a filter depending the first selected.
In the chronoforms v5 samples you have a sample like this but without database conections.
But the sample is not database conected,
I have tryed do it but no running
Can you helpme??
Thanks
Hi ideagrup,
We have already solved this in another topic:
http://www.chronoengine.com/forums/posts/t96538/p331403/chronoforms-5-link-chronoconectivity2.html#p331403
Regards,
Max
We have already solved this in another topic:
http://www.chronoengine.com/forums/posts/t96538/p331403/chronoforms-5-link-chronoconectivity2.html#p331403
Regards,
Max
ohhhhhhh 😀 😀
is RUNNING
You are the best!!!!
Only one problem
ON DBREAD (ajax)
<?php return array("Especialidad" => $form->data("cu_Categoria")); ?>
data("cu_Categoria") is the name reference.
For two dropdowns running ok i have to put
name field = cu_Categoria
id field = cu_Categoria
but to link with chronoconnecticity 5.0 neds
name field = MODELCHRONEC[cu_Categoria]
😟
Thakssssssss
THOMAS
is RUNNING
You are the best!!!!
Only one problem
ON DBREAD (ajax)
<?php return array("Especialidad" => $form->data("cu_Categoria")); ?>
data("cu_Categoria") is the name reference.
For two dropdowns running ok i have to put
name field = cu_Categoria
id field = cu_Categoria
but to link with chronoconnecticity 5.0 neds
name field = MODELCHRONEC[cu_Categoria]
😟
Thakssssssss
THOMAS
:D 😀 😀 😀 😀 😀
Solved the problem too
filter chronoform 5 linked chronoconnectivity in dbREAD
<?php return array("field" => $form->data("modelconnecticity.field")); ?>
😀 😀 😀
Thanks
Solved the problem too
filter chronoform 5 linked chronoconnectivity in dbREAD
<?php return array("field" => $form->data("modelconnecticity.field")); ?>
😀 😀 😀
Thanks
Just use:
OR:
:)
$form->data("Model.cu_Categoria")
OR:
$form->data["model"]["field"]
:)
This topic is locked and no more replies can be posted.