- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2017 09:40 AM
Hi All,
I'm auto populating the serial number based on hostname and which is working fine on catalog task level but when I save the catalog task form, I see blank value on serial number
Before saving the form
After saving the form
Any help will be appreciated.
Thanks,
sowmya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2018 02:42 AM
Field readonly feature was causing the issue.
Resolved the issue by setting value first and setting readonly to true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2017 11:29 AM
Hi Harsha,
Please check the Script include,
The newValue and the getValue will hold the same value. I have verified with fetching form value instead of passing the newValue. The issue I'm facing is not with the population of value but having value on the variable once I save the form. I'm not getting why g_form.setValue is not retrieving the value once the form gets saved.
Thanks,
Sowmya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2017 11:38 AM
would you mind to put alert() in your client script. before setting the value put the answer in alert. alert(answer). check if it's give the value on locating the form . if it's giving then check something interrupting on that field. also for testing try to set it in different field to make sure it's not an issue with script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2018 02:42 AM
Field readonly feature was causing the issue.
Resolved the issue by setting value first and setting readonly to true.