Want to change default text(Select target record) from field 'list' type used to add multiple users

Raziya Sultana
Tera Contributor

Wanted to change the default text called "Select target record" from the field list type used to add multiple users from the user table. Check the below image and please let me know is there any possibility to remove the default text.

RaziyaSultana_0-1686219609779.png

Wanted to remove the above default text highlighted.

 

Thanks and Regards,

Syed Raziya Sultana.

9 REPLIES 9

Raziya Sultana
Tera Contributor

Hi Shravan,

Thank you soo much, it worked for me.

Thanks and Regards,

Syed Raziya Sultana.

Hi Shravan,

Is there any possibility like, change should be made for particular scoped application for particular field only.

Thanks and Regards,

Syed Raziya Sultana.

Hello,

 

If you use the onload client script it will only apply for the tables for which you want and it will not be global

Hi @Raziya Sultana  ,

First of all I would suggest don't go for changing the placeholder. But if you are to do it any how then, below is the way to do it  (however it won't work on portal. Write an onLoad client script on the respective table and use the below script. Modify this as per you field's backend name.

 

NOTE: Please make sure 'Isolate script' checkbox is not checked, else it won't work.

function onLoad() {
   //Type appropriate comment here, and begin script below
	var listField = gel("sys_display.your_table_name.your_field_name");
	listField.placeholder = "My custom Message"; // Put your custom message here
   
}

 

I Hope this helps.

 

Regards,

Shravan

Please mark this helpful and correct answer, if this helps you

 

Regards,
Shravan
Please mark this as helpful and correct answer, if this helps you

Hi @Raziya Sultana  ,

Please mark the solution as correct.

Thanks,

Shravan

Regards,
Shravan
Please mark this as helpful and correct answer, if this helps you