Hi Sven. I’m turning out a list of surveys (forms) for users to fill out but I wanted to omit or in some way differentiate surveys that they’d already submitted. I have Giving access to: All members of site and forbid multiple entries checked so I only needed to check whether the current user’s ID is stored against a submission which I could see from the table that it was.
Anyway, I dug around in the code and found:
$participated = ( torro()->forms()->get( $form->ID )->has_participated() ) ? true : false;
Which when used in my loop does exactly what I need it to. Perhaps it could be added to the documentation at some point as I’m sure other users would find it useful.
Thanks for getting back to me
Kevin