how to put placeholder text on a string variable that is overwritten when text is entered in the field?

patricklatella
Mega Sage

Is it possible to place text in a string variable like in the screenshot?  This is not default text, but rather a "suggestion" for the text to be entered...and this needs to work in Service Portal.  thanks!

find_real_file.png

1 ACCEPTED SOLUTION

Using the example text field on the variable will achieve this for you patrick.

View solution in original post

6 REPLIES 6

Steven Parker
Giga Sage

Wouldn't the easiest way to do this be just add the Show Help field, which you are already showing for Show Description and make it always expanded?

find_real_file.png

So it looks like this when the page loads:

find_real_file.png

find_real_file.png

 


Please mark this response as correct and/or helpful if it assisted you with your question.
Steven

Joel Millwood2
Kilo Guru

Hi patricklatella,

Under the variable in question on the record producer, you can add some example text which will render the same as your example above and works both in the service catalog and service portal.

 

patricklatella
Mega Sage

Hi Steven and Joel,

thanks for the feedback...yep I know text can be displayed below the field using the help text...just looking to see if it's possible to put it in the field like the screenshot per a client's requirement.  

Using the example text field on the variable will achieve this for you patrick.