How to add HINT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 02:16 AM
We have requirement on change table .
We have add new field called ' Backout Options ' under Planning section .
The field should be display right after 'BackOut Plan '.
Field should be select Box .
Field Name :- Backout Options
Below are options to be displayed
Tested Backout - (This specific change has been implement in NonProd or Prod and backed out successfully )
Untested Backout - (Back Out procedure is documented and available but has not been tested)
No Back Out - (This change cannot be backed out.)
NOTE - Based on the options selected Which are brackets those texts are HINT .
I have created the new field
But how to add HINT text based on the options selected .
Please prvoide steps and screenshot for better understanding .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 03:46 AM
use this syntax ,
g_form.showFieldMsg("field name","error message","error");
I hope this helps...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 03:55 AM
try this :
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if (newValue == 'Tested Backout') {
g_form.ShowFieldMessage('u_backout_options', 'This specific change has been implement in NonProd or Prod and backed out successfully', 'info');
} else if (newValue == 'Untested Backout') {
g_form.ShowFieldMessage('u_backout_options', 'Back Out procedure is documented and available but has not been tested', 'info');
} else if (newValue == 'No Back Out') {
g_form.ShowFieldMessage('u_backout_options', 'This change cannot be backed out', 'info');
}
}
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 03:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 03:43 AM
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if (newValue == 'Tested Backout') {
g_form.ShowFieldMessage('u_backout_options', 'This specific change has been implement in NonProd or Prod and backed out successfully', info);
} else if (newValue == 'Untested Backout') {
g_form.ShowFieldMessage('u_backout_options', 'Back Out procedure is documented and available but has not been tested', info);
} else if (newValue == 'No Back Out') {
g_form.ShowFieldMessage('u_backout_options', 'This change cannot be backed out', info);
}
}
@Sohail Khilji Please correct my script ,