Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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

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.

*************************************************************************************************************
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/dratulgrover [ 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.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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