By Adam O. on Wednesday, 14 December 2016
Replies 3
Likes 0
Views 550
Votes 0
Hi there,

I need to know how can I check if custom field is not empty.

For example:
if WORK-NAME is filled up, show XYZ

I'll be very grateful for your help!

Best regards
Adam
Ideally you would do something like this,

[gist]
<?php
$data = $user->getFieldData();

// Check on the $data
?>
[/gist]


P/S: Do take note that since this is posted under the non supported thread and we are not obliged to reply posts on this category
·
Wednesday, 14 December 2016 12:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

thanks for this simple tip

works correct

best regards!
Adam
·
Thursday, 15 December 2016 08:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post