how to make fields mandatory with oncelledit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2016 02:08 PM
I want to make a cell editable but madatory on certain condition. Can I use Oncelledit function? Please suggest,
Regards,
Purbali
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2016 02:09 PM
Hi Purbali,
This feature is available with the Helsinki release with List v3. List editing respects mandatory fields.
Here's a starting point: Use the list editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2016 06:11 PM
Thanks Ctomasi!
Is there any way other than onCellEdit to make fields mandatoryon list view?
Regards,
Purbali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2016 06:15 PM
Not pre-Helsinki.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2016 09:27 PM
Hi Purbali,
The other option is to have a alert message on edit of the cell and then have a before business rule and abort the transaction if the required fields are not populated as per condition.
You can display info message to the user in case transaction is aborted.