Forums

event switch and reload event

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 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.
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.