Hello
I need to load a form in accordance with the following options of a dropdown called choose:
If the choice is Run then the form {form_run} will be loaded
If the choice is Jump then the form {form_jump} will be loaded
If the choice is throw then the form {form_throw} will be loaded
I searched in forum but have not found anything that meets my needs.
There is some element in ChronoForms that do it in a simple way?
Thanks for existing :wink:
António Graça
I need to load a form in accordance with the following options of a dropdown called choose:
If the choice is Run then the form {form_run} will be loaded
If the choice is Jump then the form {form_jump} will be loaded
If the choice is throw then the form {form_throw} will be loaded
I searched in forum but have not found anything that meets my needs.
There is some element in ChronoForms that do it in a simple way?
Thanks for existing :wink:
António Graça
Hello, Bob
Many, many thanks! Work fine! You save my day!!!
But, I sweated a lot to found the right code in foruns.
But now, I have a little problem, I have two powered by Chonoforms, in new form loaded, after the chose one of the options. But it is (only) a little problem because I want to "buy" validation. You guys deserve it.
But it is a bug ?
António Graça
Many, many thanks! Work fine! You save my day!!!
But, I sweated a lot to found the right code in foruns.
<?php
switch ($form->data['escolha_bloco']) {
case 'Corridas':
return 'event_a';
break;
case 'Lançamentos':
return 'event_b';
break;
case 'Saltos':
return 'event_c';
break;
default:
return 'event_d';
break;
}
?>
But now, I have a little problem, I have two powered by Chonoforms, in new form loaded, after the chose one of the options. But it is (only) a little problem because I want to "buy" validation. You guys deserve it.
But it is a bug ?
António Graça
Hi Antonio,
There shouldn't be two tags, I've seen it occasionally though. Are you showing the form using the plug-in?
Bob
There shouldn't be two tags, I've seen it occasionally though. Are you showing the form using the plug-in?
Bob
Hi, Bob
Yes, Im using the (saver 🤣 ) plugin Event Switcher [GH] action. When choose the option and load the new form apperars two tags. But, is not a problem. I solve buying the validtion, whith two, one or zero tags. There is no money in the world that pays your volunteer work.
Thanks again
António Graça
Yes, Im using the (saver 🤣 ) plugin Event Switcher [GH] action. When choose the option and load the new form apperars two tags. But, is not a problem. I solve buying the validtion, whith two, one or zero tags. There is no money in the world that pays your volunteer work.
Thanks again
António Graça
This topic is locked and no more replies can be posted.