How can I add inside a field info and when the user start typing the info disappeared

Alon Grod
Tera Expert

Hi,

How can I add inside a field info and when the user start typing the info disappeared. for example:

'Please write a short description' inside the short_description field


Screenshot 2024-05-02 at 12.58.59.png

12 REPLIES 12

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Alon Grod 

 

Add the example text

 

AGLearnNGrow_0-1714644335328.pngAGLearnNGrow_1-1714644349201.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]

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

@Dr Atul G- LNG hi what if i want it not from the record producer but from the Backend? where can I add this?

Hi @Alon Grod ,

 

You can write Onload Client script and add the below code,

swathisarang98_0-1714645440783.png

 

function onLoad() {
    g_form.showFieldMsg('Field_name', 'msg'); 
    var valueOfSD = g_form.getValue('short_description'); // example
    g_form.showFieldMsg('short_description', valueOfSD);

}

 

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

@swathisarang98 its not working