Home › Forums › Quform PHP › N/A when the field is not filled
Hello,
In the notification file I am using this code:
<?php echo $form->getElement('city')->getLabel(); ?>: <?php echo $form->getValue('city'); ?>
The results is always like this:
City: Amsterdam
Now, I want to get something like that if the city field not filled:
City: N/A
Any help will be appreciated. Thank you in advance.
Cruxy
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Thank you Ally. It works perfect.