only code business rule, there is no custome feild required on the Change form.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2025 07:29 AM
If I select certain change type the form should show me dates that I can implement the change from.
Process defined timelines:
- Standard = N/A
- Normal - Minor (as below) = 1 working day
- Normal - Major = Five working days and to be created before a CAB agenda is issued
- Emergency = N/A
kindly help on this how to do...
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2025 02:41 AM
Hello @keerthana10 ,
It's not exactly clear what you want to do. Do you want the above information to be shown as just a message, or do you want some date fields to become visible on the form depending on the selected Type, or even want those dates auto populated?
If you just want to show a message then you can create an onChange Client Script for the Type field, like:
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if (newValue === 'normal_minor') {
g_form.showFieldMsg('type', 'Process defined timeline is 1 working day');
}
}
If you want the date fields to become visible then use UI Policies.
Regards,
Robert