Using variable in question label

mikeriley
Tera Contributor

Hi all,
I have a some questions in a form that I would like to use variables that have been set earlier in the form to build the Label.

ex:  
"Please select your ${VariableName} from the drop down"

Not quite sure how to do this or what the syntax should be?

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @mikeriley 

 

Are you looking to display a variable message in a popup or on a form? If so, do you have any screenshots for reference?

 

In pop-up message, yes you can, but I doubt form level we can do it.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG 
I'm trying to use a previously set variable in a question label to show the user what type of data they are going to be selecting.  Thanks for your help!

mikeriley_0-1743510961804.png

 

Hi @mikeriley 

 

I dont think it is easy to do, 

 

https://www.servicenow.com/community/developer-forum/service-portal-widget-grabbing-variable-value-o...

 

@Medi C  any help here.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************