how to clear one field value at first time loading
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2016 07:12 AM
hi team ,
i have field assignee that field value should be empty at the first loading time
and if we are selecting this field value and if i save this value then this field should not be empty.
please help me how to do this

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2016 07:13 AM
You can use an onLoad client script and put this in there
if(g_form.isNewRecord()){
g_form.setValue("your field name",'');
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2016 07:17 AM
Right but the bigger problem is that he's got a value sitting there on-load in the first place. Why is that? Some logic must have populated it already.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2016 07:25 AM
I agree, but it can be default value set at the dictionary level. If that is the case creating a new onLoad client should do. or else as you mentioned tweaking the existing onLoad client script will get him there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2016 05:11 AM
Hi Abhinay,
if directly i am going to create change form and creating change record
there i am getting the assignee field fine no opend by field value is populating
but if i am creating the change form from record producer then only bydefault opend by field value is taking
i have checked all client script and business rule nowhere assignee field is mapped by opend by field
is there any other reason because of that it is auto populating
by record producer in the assignee field select value is based on the assignment group that is ok
that is coming in the assignee select but issue is only why it is taking the default value same as the opend by value