Add example text on Change Request form fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2022 05:43 AM
Hello Team,
I want to add some example text on the Change Request form fields which will be helpful for the users while submitting the Change Request.
I want to add some text inside the boxes displayed per the screenshot. Can anyone help me out on this?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2022 06:08 AM
Hi,
I guess the best way is to create an onLoad script, ideally with some condition (e.g. Change Category is ...) and fill in the fields by simply calling g_form.setValue().

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2022 06:09 AM
Hi @SNOW
You can follow this no-code approach in the field:
Catalog Data Lookup Definition on any table, eliminating Catalog Client Scripting
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2022 06:13 AM
You can use below link to achieve the same:
Configure suggested text for string fields
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2022 06:19 AM
You can use an onload client script like below (this doesn't set any 'values' in the fields, making it possible to make fields mandatory. Also you don't have to delete text before entering your own. Just start typing.
function onLoad() {
//Declare the field variables that need a placeholder and get control over them
var shortDesc = g_form.getControl('short_description');
var desc = g_form.getControl('description');
//Create the placeholder text(s) for the fields
shortDesc.placeholder = "Give your short description here";
desc.placeholder = "Please explain in detail what your issue is";
}
If my answer helped you in any way, please then mark it as helpful. If it resolved the issue, please mark it as correct.
Mark
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark