I’m not entirely clear on what you want to do here.
Any form submission captured by CFDB will record the user id in the Submitted Login field if the use is logged into the site when he submits the form. A shortcode can then contain filter="Submitted Login=$user_login" to display on the user’s submissions.
You can nest shortcodes with certain restrictions.
I don’t follow what you want to do with user metadata.
Hi Michael
Sorry for not being clear enough.
I already use the [hidden hidden-userid “user_id”] to obtain the ID of the user.
I need to gather other informations for that user ID, like postal code, postal address, etc, and was hoping to be able to do it by nesting a [cfdb-table] within the [cfdb-html], something like
[cfdb-table form=”????” filter=”UserID=${hidden-userid}”] but of course I do not have a form to refer to since I am trying to address the user base.
Also, all my users were created using ultimate members.
So I believe my question is : knowing the user ID, how do I display within a [cfdb-html] tag other informations from that user record ?
Below is the code I currently use :
_______________________________________
[cfdb-html form=”Demande d’appareil” filter=”device-statut=A matcher” show=”Submitted,dest-prenom,dest-nom,hidden-username,hidden-useremail,hidden-userid,dest-parente,dest-age,dest-suivi,dest-suivi-autre,dest-commentaires,dest-photo1,dest-photo2,dest-photo3,device-statut,device-matcher-name,device-match-date,device-end-date” role=”Administrator” permissionmsg=”true” filelinks=”url”]
<table border=”1″>
<tbody>
<tr>
<td bgcolor=”#FFFFFF”>Date de demande : ${Submitted}
Demandeur : ${hidden-username} – ${hidden-useremail} – ID# ${hidden-userid}
Destinataire : ${dest-prenom} ${dest-nom} – Parenté : ${dest-parente} – Age : ${dest-age}
photos : Photo 1 – Photo 2 – Photo 3
Suivi : ${dest-suivi} ${dest-suivi-autre}
Commentaires : ${dest-commentaires}</td>
<td bgcolor=”#FFFFFF”><span style=”color: #ff0000;”>Statut : ${device-statut}</span>
Maker : ${device-matcher-name}
Date de matching : ${device-match-date}
Date de livraison finale : ${device-end-date}</td>
</tr>
</tbody>
</table>
[/cfdb-html]
Thanks for your time,
Thierry
I think you are saying this:
You have a form with submissions from users. You want a user to come to a page and view:
– Information from his form submission
– Information that is meta-data saved in Ultimate Member Support about the user.
The CFDB shortcodes retrieves only data from form submissions. It does not retrieve other data in WP. You would need to create your own shortcode to write code to pull information from Ultimate Member Support or other parts of WordPress and add that information into the CFDB information.