Hello @calle81 & @stephfd21,
We appreciate you that you both have found the solution to this. By the way, below is the complete code to achieve the functionality for the users to view their own data.
The below code will be needed to be pasted in the pages after the user has been logged In to your site else it will not work.
<?php
$user = wp_get_current_user();
$user_email = $user->user_email;
$short = ‘[acf7db form_id=’My id Code’ search=”‘.$user_email.’” show=’your-name, your-email, age’]]’;
echo do_shortcode($short);
?>
In above ‘My form id’, will be the contact form Id for the users, which are submitting the form.
Hope this will help all our user’s who are looking out for such type of functionality.
Regards,
Vsourz