Buy Now
Sign in

CF called from CC

FloB , December 15 2019, 17:26
F
FloB 194
December 15 2019, 17:26 #390370
Hi,
I have found how to call a CF in a CC via this thread, but my CF contains a repeater area with multi-fields and this part is not working (repeat_button doesn't work, mess in the fields' name).
Do you know how I can get it work well please ?
When I use the CF without calling it via CC, it's work well :
<div class="field "><label for="map0unit_cost_txt_unitcost">Prix d'achat</label>
<input placeholder="" id="map0unit_cost_txt_unitcost" value="" type="text" name="map[0][unit_cost]"></div>
When I call it in a CC, it's broken :
<div class="field "><label for="map#repeater_article.countunit_cost_txt_unitcost">Prix d'achat</label>
<input placeholder="" name="map[#repeater_article.count][unit_cost]" id="map#repeater_article.countunit_cost_txt_unitcost" value="" type="text"></div>
F
FloB 194
December 15 2019, 17:35 #390371
Ok, I have miss the part where Max says it does be insert in a form view.
Rendering like a charm.
Another problem with this form called in CC : debugger won't show and a dropdown populated via a read_database action is empty (but evering thing is ok if I use directly the form without calling it in CC).
As the debugger won't show, I don't know what's wrong...
Any help please ?
healyhatman 8
December 15 2019, 22:01 #390372
How are you calling the form exactly? There are a few different ways that do different things.
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
F
FloB 194
December 16 2019, 06:40 #390375
Hello,
I call my form with this code in a form view (form_name and section_name modified to match my form):
{chronoform/section:form_name/section_name}
healyhatman 8
December 16 2019, 07:13 #390376
That only loads the view, pretty sure you want chronoform/event OR load the data you need in CC before you load the eection
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store