Need to put a more information annotation under or above Location field on Incident form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2022 02:00 AM
Hello All,
I want to put a annotation message or help information above or below of Location field in Incident form for the users to let them know if the current location is not their then they can reach out to IT Support to update their exact location.
This is how we can put in Record Producer but I want the same in Native Ui Incident form as well.
Can anyone help me out on this,
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2022 06:50 AM
okay which is strange I believe. Do one thing put a alert and debug if client script itself is getting executed or not.
So put a alert in first line before line number 4 in your client script shown above as below:
function onLoad() {
//Type appropriate comment here, and begin script below
alert('Script executing');
g_form.showFieldMsg('caller_id','Your messgae','info');
}
Screenshot attached for reference:
Also try explicitly checking for new record as below if above does not works and see if you get it through or not:
function onLoad() {
//Type appropriate comment here, and begin script below
if (g_form.isNewRecord()) {
alert('Script executing');
g_form.showFieldMsg('caller_id', 'Your messgae', 'info');
}
}
For me both the scripts works.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2022 10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 05:40 AM
Do one thing try showing the Field Message for some other field say Caller(caller_id) and see if message is coming or not.
This way we can eliminate one scenario if there is an issue with this script or something else.
Also remove the annotation in yellow and then try with your script again.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2022 02:25 AM
Also would like to add you can add a Help Text on the Field you need by Right click on the Field and then select Configure--Label
Then add the Help text you need as shown below:
Result:
So when some one hovers on the field the message will be displayed.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke