Hi All
I use Custom Template + my markup.php. If I, write:
<?php echo $cck->renderField( 'my_field' ); ?>
It's OK - Conditional States - is work. But, if I write:
<?php echo $cck->getLabel( 'my_field' ); ?>
?php echo $cck->getForm( 'my_field' ); ?>
Conditional States - is't work.
Question:
How and what I must write in markup.php to Conditional States, work correctly?
P. S.
Now, in my markup.php, I have thise code for Conditional States:
if ( isset( $field->conditional ) && $field->conditional ) {
$cck->setConditionalStates( $field );
}
And for Computation Rules - thise code:
if ( isset( $field->computation ) && $field->computation ) {
$cck->setComputationRules( $field );
}
Thank you in advance for your answers!