OnCellEdit() how can i write validation based on any other field value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2018 09:26 AM
Hi All,
FIELD VALIDATION:
As per the requirement I need to populate state field value based on country value in list view. i have made state field value dependent on country field.
now the problem is State field shows all the dropdown options when country is empty in the list view. i am writing the oncelledit script to resolve this issue. basically if country is empty script will not allow state value submission.
Now the challenge I am facing is that i am unable to get the country value within the onCellEdit script. g_form.getValue is not working. Is there any alternate ways to resolve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 02:58 PM
I was able to figure out the issue. I was not providing a callback(true); function call for all scenarios and this was causing a problem.