Hello everyone,
whats the best way to configure /custom php:
1.)there is a list of radio options/select like:
a=a,b=b,c=c,d=d,...
2.)after selection of b and submit,
a thankyou message with html and a predifined link to http://www.b.com. is shown.
my question: how to call an event onB based on selection before.
a=a
I have seen the demo for event switcher: theres a if/else statement for value yes/no=1/0
How to build like this?
whats the best way to configure /custom php:
1.)there is a list of radio options/select like:
a=a,b=b,c=c,d=d,...
2.)after selection of b and submit,
a thankyou message with html and a predifined link to http://www.b.com. is shown.
my question: how to call an event onB based on selection before.
a=a
I have seen the demo for event switcher: theres a if/else statement for value yes/no=1/0
How to build like this?
<?php
$radio =$form->data("mycheckfield") ;
switch ( $radio ) {
case 'a':
default:
return 'A';
break;
case 'b':
return 'B';
break;
case 'c':
return 'C';
break;
case 'd':
return 'D';
break;
}
?>