Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to set default value in HTML field?

Aryan
Tera Contributor

Hello All,

 

I created a HTML type field on change form when I am trying to put default value in that the format is not same on the form as i put in default value field on dictionary?

Please let me know hoe can i get the correct format in HTML field!!

4 REPLIES 4

Sagar Pagar
Tera Patron

Hi @Aryan,

 

Yes. You can put the default value in default value field on dictionary.

 

Thanks,
Sagar Pagar

The world works with ServiceNow

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Aryan 

AGLearnNGrow_0-1711457820252.png

 

AGLearnNGrow_1-1711457836084.png

 

*************************************************************************************************************
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]

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

Hello Atul,

 

we have a 10 line default value data with number formatting like,

1 ABC 

2. DEF

this format when I set in HTML field default value so the format is not reflecting as i put in default value it is coming like

1.ABC2.DEF

                 

Hi @Aryan 

 

AGLearnNGrow_0-1711458542876.png

 

AGLearnNGrow_1-1711458552562.png

 

*************************************************************************************************************
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]

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