Skip to main content
Known Participant
December 14, 2017
Answered

Widget certificate not showing the UserName variable

  • December 14, 2017
  • 1 reply
  • 411 views

Hello all,

I have inserted an entry box for people to type in their name and attached it to the UserName variable. I am hoping this name will automatically appear in the widget certificate since its attached to the variable. Bear in mind that the variable in the widget is showing up as User Name with a space while the variable I created does not have a space simply because I cannot have a space in variable names. Should I make this new variable equal to zero or leave it blank?

Could the user name on the widget all show up when published? Any help is appreciated. I have made sure that the name variable is turned on in the widget.

 

Any help is appreciated

Thanks.

This topic has been closed for replies.
Correct answer Lilybiri

I am using 2017. I found it, I was looking under system variables and not user variables sorry .

Alright so I linked by text entry box to this variable. Do I get rid of the submit box that appears with the text entry field? How will the system know if any information was entered into the entry box? On the certificate widget end, do I need to do anything?

Thank you


You can use a shortcut key (Enter?) instead of the Submit button. Normally the certificate interaction uses the content of that variable. I am busy finishing a workbook about using variables, looks like that would have been useful for you.

1 reply

Lilybiri
Brainiac
December 14, 2017

Are you talking about the variable cpQuizInfoUserName? That ivariable is retrieved from the login account to the LMS, if the LMS allows it. It is indeed the variable used in the certificate interaction?  You'll have to test it with the LMS.

Known Participant
December 15, 2017

Hi Lilybiri. Unfortunately we do not have an LMS but I was told I could still make it work by having the user name automatically appear on the certificate.

Known Participant
December 15, 2017

Exclamation mark is not included. Are you on a very old version of CP? The variable is normally automatically created in any new project since version 7 (if my memory is correct, can also be 6):


I am using 2017. I found it, I was looking under system variables and not user variables sorry .

Alright so I linked by text entry box to this variable. Do I get rid of the submit box that appears with the text entry field? How will the system know if any information was entered into the entry box? On the certificate widget end, do I need to do anything?

Thank you