# Displaying Custom User Data in Label for Confirmation of Credentials

**URL:** <https://forum.dimagi.com/t/displaying-custom-user-data-in-label-for-confirmation-of-credentials/3461>\
**Category:** Users\
**Created:** [April 29, 2017, 8:41am UTC](https://forum.dimagi.com/t/displaying-custom-user-data-in-label-for-confirmation-of-credentials/3461 "2017-04-29T08:41:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YAW\_ANTWI-ADJEI](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/y/c0e974/32.png) [@YAW\_ANTWI-ADJEI](https://forum.dimagi.com/u/YAW_ANTWI-ADJEI)\
**Post date:** [April 29, 2017, 8:41am UTC](https://forum.dimagi.com/t/displaying-custom-user-data-in-label-for-confirmation-of-credentials/3461/1 "2017-04-29T08:41:04Z")

</div>

​Hello Commcare Users,  
I want to know if it is possible to display the content of a Custom User  
Data in a form using a Label Question and if Yes, how it should be done?

As per the attached, I have created Custom User Data Fields and Assigned  
them to Hidden Values in a form.

Figure 1: Shows that when a user logs in the Custom User Data fields are  
populated.

Figure 2: The first 4 questions are Label Questions I have used just to  
Display the Content of the Custom User Data such that the Mobile User knows  
that it is his/her facility details

Figure 3: This shows the results of the Label Questions. It is rather  
outputting the ELSE part of the IF statement.

Any reason why this is so?

Yaw

---

<div class="post-metadata">

**Author:** ![Clayton\_Sims](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/clayton_sims/32/496_2.png) [@Clayton\_Sims](https://forum.dimagi.com/u/Clayton_Sims)\
**Post date:** [May 1, 2017, 5:11pm UTC](https://forum.dimagi.com/t/displaying-custom-user-data-in-label-for-confirmation-of-credentials/3461/2 "2017-05-01T17:11:08Z")

</div>

Hi Yaw,

Your figures did not end up being included in this message, can you try  
re-sending with them attached?

-Clayton

> **···**
>
> On Sat, Apr 29, 2017 at 4:41 AM, YAW ANTWI-ADJEI wrote:
> 
> > ​Hello Commcare Users,  
> > I want to know if it is possible to display the content of a Custom User  
> > Data in a form using a Label Question and if Yes, how it should be done?
> > 
> > As per the attached, I have created Custom User Data Fields and Assigned  
> > them to Hidden Values in a form.
> > 
> > Figure 1: Shows that when a user logs in the Custom User Data fields are  
> > populated.
> > 
> > Figure 2: The first 4 questions are Label Questions I have used just to  
> > Display the Content of the Custom User Data such that the Mobile User knows  
> > that it is his/her facility details
> > 
> > Figure 3: This shows the results of the Label Questions. It is rather  
> > outputting the ELSE part of the IF statement.
> > 
> > Any reason why this is so?
> > 
> > Yaw
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![YAW\_ANTWI-ADJEI](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/y/c0e974/32.png) [@YAW\_ANTWI-ADJEI](https://forum.dimagi.com/u/YAW_ANTWI-ADJEI)\
**Post date:** [May 1, 2017, 5:18pm UTC](https://forum.dimagi.com/t/displaying-custom-user-data-in-label-for-confirmation-of-credentials/3461/3 "2017-05-01T17:18:10Z")

</div>

Hi Clayton,  
Sorry I did send it in a second mail and William has helped me to resolve  
it.  
Thank you very much.

Yaw

Hi Yaw,

Your figures did not end up being included in this message, can you try  
re-sending with them attached?

-Clayton

> **···**
>
> On 1 May 2017 17:11, "Clayton Sims" wrote:
> 
> On Sat, Apr 29, 2017 at 4:41 AM, YAW ANTWI-ADJEI [yawantwiadjei@gmail.com](mailto:yawantwiadjei@gmail.com) wrote:
> 
> > ​Hello Commcare Users,  
> > I want to know if it is possible to display the content of a Custom User  
> > Data in a form using a Label Question and if Yes, how it should be done?
> > 
> > As per the attached, I have created Custom User Data Fields and Assigned  
> > them to Hidden Values in a form.
> > 
> > Figure 1: Shows that when a user logs in the Custom User Data fields are  
> > populated.
> > 
> > Figure 2: The first 4 questions are Label Questions I have used just to  
> > Display the Content of the Custom User Data such that the Mobile User knows  
> > that it is his/her facility details
> > 
> > Figure 3: This shows the results of the Label Questions. It is rather  
> > outputting the ELSE part of the IF statement.
> > 
> > Any reason why this is so?
> > 
> > Yaw
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "commcare-users" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
