This topic is locked
[SOLVED]

 View page empty fields

10/17/2010 6:56:01 AM
PHPRunner General questions
M
macskafogo author

Hi!
I have one field: PHONE.
If this field is empty, i would like to show PHONE: N/A on the View Page, and List Page.
Sorry for my english.
Please help.
Thanks.

Sergey Kornilov admin 10/18/2010

You can set 'View as' type of this field to 'Custom' and use the following code:

if (!$value)

$value="N/A";