Forums

How Do I Create a Form to Load Other Forms In It's Place Please

indieben 07 Nov, 2018
Hi,

I'm looking to effectively have a "contact wizard" to load different forms depending on the visitor's interests. How do I go about this please in Joomla. My concern is that if I set several forms to the same positions, it's going to load them all from the get go!

Also, is there any way to deal with people selecting the wrong form (a bit more neatly than the back button)?

Thanks.
healyhatman 07 Nov, 2018
Use an event switcher. Then you can either use a display section action or an event loader to display the appropriate form.

Sorry re-read:
{chronoform:formname}

or
 {chronoform/event:form_name/event_name}
Use it in a custom code block or custom html block
indieben 07 Nov, 2018
Thanks Healyhatman.

I guess it's a case of trying to get this damn system working properly (Re Bug Report). I've give it until tomorrow night, if the Developers do not respond I shall be demanding a refund and I will buy a competitor product.
GreyHead 08 Nov, 2018
Hi indieben ,

There is only one Developer Max (Admin in the forums here) and he appears to be currently travelling with limited internet access. He does usually respond to Contact messages every coupe of days though.

For your earlier emails, I think both were responded to in the forums here, at least to the best of healyhatman's ability and my own.

Bob
indieben 11 Nov, 2018
Oh right, OK, so you guys have been left watching the fort whilst the Developer is off on his travels! I'm sorry, I don't understand the above solution at all.
healyhatman 11 Nov, 2018
which part of it don't you understand
indieben 11 Nov, 2018
Use an event switcher. Then you can either use a display section action or an event loader to display the appropriate form.

1) I'm just not sure how to set this up.

2) I don't understand the re-read part....
healyhatman 11 Nov, 2018
therr are instructions on using an event switcher in the manual. Should also be a demo form.

The re read part, put that code in a custom html element or a custom code block where you want your other form to show up
indieben 11 Nov, 2018
Sure, I did read this but I was none the wiser. It's hideously written. For example:

"The “Data provider” of the “Event switcher” should get the dropdown value, and the events names should match the values we
expect" - English please:

Events Names - where did that come from?

The values we expect? What is this? A game of cryptic crossword?

I'm dyslexic. Over the years I have developed numerous strategies to manage this. For all the tea in China I cannot decipher this. It's lazy and shorthanded. It should be written in a step by step format without jargon.

I'm going to take a step back as Chronoforms has really (insert expletive here) me off this week. I'm currently looking if there are any alternative solutions that can accomplish this task a lot more simply, sanely and with better documentation. Sorry, i've just had enough.
healyhatman 11 Nov, 2018
The event names are the possible values you expect your radio to return. The data provider should be {data:radio field name}

It's not that hard , and there are plenty of FAQs, demos, and a fairly hefty manual.
indieben 11 Nov, 2018
OK, I've configured the event switcher as far as the manual just about explains.

Not sure what to put in either of the option boxes though.

"The re read part, put that code in a custom html element or a custom code block where you want your other form to show up"


- What at the top of the original form in the fields section and am I simply putting
 {chronoform/event:form_name/event_name}

In that html box?

Thanks.
indieben 11 Nov, 2018
OK, I've configured the event switcher as far as the manual just about explains.

Not sure what to put in either of the option boxes though.

"The re read part, put that code in a custom html element or a custom code block where you want your other form to show up"


- What at the top of the original form in the fields section and am I simply putting
 {chronoform/event:form_name/event_name}

In that html box?

Thanks.
healyhatman 11 Nov, 2018
In the boxes you put the actions you want to occur. And don't just put that code as is, replace form name with the name of the form you want displayed. You shouldn't need the /event version if you just want to display the named form's default load event
indieben 11 Nov, 2018
So in the case of an event loader, the only two options are a box with "load" in it and "stop processing after switching"?
indieben 11 Nov, 2018
By the way, the event switching demo doesn't actually have any event switching in it. It's a form that says more information on a product selected will be sent but the only functionality, save for the drop down box itself is a submit button that does nothing funky.
healyhatman 11 Nov, 2018
Use the event loader if you want to load an event. Replace load with the name of the event you want.

The toggle is if you want it to continue the actions in the event you're already in after processing the named event or if you want it to stop.
indieben 11 Nov, 2018
Sure, so how does this actually all link together to change the form that is displayed and what does this event loader even do - it doesn't seem to be connected anyhow?

Thanks.
healyhatman 11 Nov, 2018
Well it doesn't. Don't use an event loader, use an event switcher and the code blocks I told you to use
indieben 11 Nov, 2018
You said earlier "Use an event switcher. Then you can either use a display section action or an EVENT LOADER to display the appropriate form." (Apologies about caps).
healyhatman 11 Nov, 2018
And then I said "sorry re read" because I re-read your question.

So you have a whole bunch of options.

{chronoform:name} to display a different form within your current form

follow the instructions I gave you on your other thread to dynamically reload the desired form into a div

Display section action if you want instead to have a separate section of the same form to display (really it sounds like this is the one you want)

Redirect action to simply navigate to another form
This topic is locked and no more replies can be posted.