How to clear fields in list view through onCellEdit client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2017 02:41 AM
Hi All,
I want to clear field value for certain combination of status and substatus through oncelledit client script but i am unable to empty the fields please suggest.
I have used g_form.setValue() , g_form.clearvalue() functions but it is not working.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2017 02:47 AM
You can do something like this:
var saveAndClose = true;
if(newValue == 7){
alert('Not allowed');
saveAndClose = false;
} else {
saveAndClose = true;
}
callback(saveAndClose);
}
This will set the value to whatever it was.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2017 05:13 AM
Hi ,
You have to create onCelledit with script include......