Want to change default text(Select target record) from field 'list' type used to add multiple users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:21 AM
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.
Wanted to remove the above default text highlighted.
Thanks and Regards,
Syed Raziya Sultana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:46 AM
Hi Shravan,
Thank you soo much, it worked for me.
Thanks and Regards,
Syed Raziya Sultana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:56 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:57 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 04:16 AM
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
Shravan
Please mark this as helpful and correct answer, if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:57 AM
Hi @Raziya Sultana ,
Please mark the solution as correct.
Thanks,
Shravan
Shravan
Please mark this as helpful and correct answer, if this helps you