I had a ChronoForm V5 connected to à ChronoConnectivity V5 list. Fields name was based on this rule : connectionname[field]. But now I've add 2 dropdown fields whose one select data from table depending of selection of the other. Form play good but I can't save data like before because I can't respect name field syntaxe (connectionname[field]) in this case. How to save again like before ?
Why can't you respect the field syntax? I think that should still work OK.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
To build dynamically the dropdown filed what depending of an other (what file name is " meuniers2[departement] "), I wrote this condition on DB Read frome Setup part :
<?php return array( 'DEP' => $form->data['meuniers2[departement]'] ); ?>
<?php return array( 'DEP' => $form->data['departement'] ); ?>
Please try $form->data['meuniers2']['departement'] - that is the correct PHP syntax
2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com