Incident form values are clearing out once form saved
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi All,
We have worked on capturing the business domain and business function values from the CI selected on the incident form through the below link
The solution is working fine but now the values are getting cleared out once the form is saved. Help me to understand why they are clearing out.
Thanks in advance
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Phanideepthi ,
It's clearing out on load, because you are clearing out value of fields without isLoading logic.
Add this to your client script in start :
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading) {
return;
}
if(!newValue) {
g_form.clearValue('description');
}
}
Thanks
Anand