event switch and reload event

Reload a form section based on a radio button selection in ChronoForms.

Overview

The issue occurs when using an event switch to handle a "Yes/No" radio choice, where selecting "Yes" should reload the form but the display section configuration prevents proper looping.
Create a separate event named "switch" containing the event switcher and custom code. Then, in the display section, direct the event flow to this "switch" event to enable the form reload when "Yes" is selected.

Answered
ChronoForms v6
vi vismay 21 Jun, 2017
Hello,

I have a problem:

I have a section with a small form, I need it to create a new line in database every submit.
In this section I have a radio with "add new customer?" Yes and no

If no I go to summary of database.

If yes I need to reload this form.

In chronoform 6 I use the switch event with an event loader, but I thin the problem is in "display section" where I need to put the next event, so works perfectly for the "No" choice, but I don't mannage to reload the section.

Any Idea?

Thanks
Max_admin Max_admin 21 Jun, 2017
Hi vismay,

I think that you mean the multiplier feature of v5 ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
vi vismay 22 Jun, 2017
Answer
No,

I've solved it by putting the event switcher in a new event ( called "switch". Then in the display section where the loop should be, I sent the event to "switch", in where I also put the custom code to execute.
This topic is locked and no more replies can be posted.