- 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 08:17 PM - edited ‎03-21-2024 08:17 PM
Hi @Le Son you can create a before insert business rule on that table
script:
// if not new record clear the field value
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 08:22 PM
Hi Harish KM,
When I create new record ABC field is setting default value. However, Before save record We clear this field (ABC field = empty) and save record.
However, Value of ABC field still save with value is default value not empty

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 08:37 PM
Hi @Le Son in that case create a onload client script like below
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 08:59 PM
Hi Harish KM,
Save the record then set value to empty. If user reload page this value will be not saved