Forums

Event disable tab or container

Raimis 25 Aug, 2015
Why can't disable tab, tabs or container on events ?
How can do this ?
GreyHead 26 Aug, 2015
Hi Raimis,

Disabling only applies to form inputs: text boxes, textareas, radio-buttons, etc.

What do you need to do exactly?

Bob
Raimis 26 Aug, 2015
I`m make two tabs and if select tab 1 data from tab 2 need sending email without data from tab 2, only from tab 1 and reverse
GreyHead 26 Aug, 2015
Hi Raimis,

You can use PHP in the Email template to selectively include sections of code.

Bob
Raimis 27 Aug, 2015
Hi,

can explain more ?
GreyHead 27 Aug, 2015
Hi Raimis,

<?php
if ( $form->data['some_input'] == 'some_value' ) {
?>
// add some HTML here
<?php
} else {
?>
// add some different HTML here
<?php
}
?>

Bob
This topic is locked and no more replies can be posted.