Hi -
I am needing to do an if/else statement to show/hide the 'Save As A Copy' button based on a fields value.
I need to do this in the form template - default.php
I have tried this - without success:
I am needing to do an if/else statement to show/hide the 'Save As A Copy' button based on a fields value.
I need to do this in the form template - default.php
I have tried this - without success:
PHP:
$status=$this->_row->data->bid_system___user_company;
if($status===5000){
echo $form->copyButton;
}
else {
echo "test";
}