- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 07:58 PM
Hi everyone,
I have create default value for a field.
When create new record default value is setting for this field. However, When remove value of field (field = empty) and save record, Record still save is default value.
I want when user create new record and remove default value, record will save this field is empty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 11:40 PM
Hi @Le Son
The behavior you're observing with the Default Value is normal. It's not advisable to try to circumvent it to force the field to remain empty.
Instead, you can utilize the mentioned business rule display. Just ensure that you remove the Default Value when applying the Business Rule.
Cheers,
Tai Vu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 09:29 PM
Hi @Le Son that's the first solution i shared, before insert BR,
script:
the BR will clear the value after you hit save button, It works fine in my PDI
1.
2. Save the record. Channel field cleared out
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 09:21 PM
Hi @Le Son
That's the expected behavior of the Default Value feature.
Specify a default field value
current.isNewRecord();
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 09:44 PM
Hi Timi,
Can you explain in more detail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 09:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 11:03 PM
Hi Timi,
I still can't save empty values.
I create a new record, before saving I delete the value, then I save the record.
After I save the saved record value is the non-empty default value