Buy Now
Sign in

Filter by user

francescocartei , August 31 2016
F
francescocartei
Hi,
in ChronoConnectivity V5 I want to filter the records by user. I want that when Mr. Red sign in, he only see the records that he has created and does not see the records of Mr. Green.
GreyHead
Hi armandocurcio,

You can add that in the conditions box something like this
<?php
$juser = \JFactory::getUser();
return array ('user_id' => $juser->id);
?>
but replace user_id with the user ID column name form your table.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much