dynamic radio button

lf14web 11 Sep, 2018
Hi,
in this form under construction, selecting one of the firsts option, I would like that in the second radio groups 2 update the selected automatically

dynamic radio button image 1

Into backend:
radio groups 1

dynamic radio button image 2

radio groups 2

dynamic radio button image 3

dynamic radio button image 4


In setup

dynamic radio button image 5
​what am I doing wrong?

here the form: http://infinity2018work.solatube.it/index.php?option=com_chronoforms6&chronoform=calcolo-prestazioni-copy

Regards
healyhatman 12 Sep, 2018
Need a custom code action after PHP with {view:field_radio6}
lf14web 12 Sep, 2018
Hi healyhatman,
I've insert the istruction {view:field_radio6} but the result its the same: when I check one of the firsts radiobuttons group the second disappear🙂

Could you help me to resolve this issue?

Regards
Emanuele
​[file=10968]Calcolo_Prestazioni_12_Sep_2018_13_16_25.cf6bak[/file]
healyhatman 12 Sep, 2018
You should also rename php7 to options if you want to access it using {var:options}
lf14web 12 Sep, 2018
Nothing yet. Doesn't work😟
healyhatman 12 Sep, 2018
Sorry meant {view:field_radios6}
lf14web 12 Sep, 2018
Ok thank You healyhatman!
now work it, with a little issue:
1) the first check ok
2) if I change my choice into first radiobuttons group, the second don't update the select

why?
lf14web 13 Sep, 2018
Please could you to help me to resolve the latest issue?
healyhatman 13 Sep, 2018
Seems you have a reload event on Tipologia di locale with no attached event, so when you select that it reloads the calotta field incorrectly and loses the events attached to it.
lf14web 17 Sep, 2018
Hi healyhatman,
I undestand what you mean, but not how to fix it🙂

In Tipologia di locale, I've this settings, so when change my choice I ask to relado the calotta radios group:

dynamic radio button image 6

Seems that when I make a second choiche I don't assigne correctly the new value because now the value calotte is true and don't update:

dynamic radio button image 7

Can You to help me to find the error?

dynamic radio button image 8
dynamic radio button image 9

Thank You!
healyhatman 17 Sep, 2018
When you change Tipologia di locale you're reloading Tipo di calotta with the same reload event you use for Tipo di diffusore, so you end up with two copies of the same field, at least in the form backup you uploaded. Make sure the custom code block with {view:field_radios#} is for the correct field.
lf14web 18 Sep, 2018
Hi healyhatman,
I upload a new version of this form, because I don't understand what you mean🙂
Thanks
Lele[file=10986]Calcolo_Prestazioni_18_Sep_2018_10_43_11.cf6bak[/file]
lf14web 19 Sep, 2018
Hi!
Do you have some update?🙂
healyhatman 19 Sep, 2018
In the Custom Code action, ABOVE {view: field_radios6} put

{data.clear:calotta}
lf14web 19 Sep, 2018
Great!
Now Work fine!
Thank a lot!
lf14web 24 Sep, 2018
Hi healyhatman,[file=11001]Calcolo_Prestazioni_24_Sep_2018_04_31_30.cf6bak[/file]
I'm sorry but I've another question about this form.

Now I tried to add a new event, when changing "Altezza Locale" dynamically select "Tipo di diffusore".

Unfortunately, there is an interference and the radio button are update with optcalotta value.

What's the error now?
Regards
E.
healyhatman 24 Sep, 2018
Maybe have a look at the reload event you've put in for Tipo di diffusore.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger