Form level validations are not working when case creates from portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2023 10:24 AM
Form level validations are not working when I created case from portal.
Ex: test field has 3 choices (1,2,3) and when the value is 2 I am populating another field (test2) with ui policy. This is not working when case created from portal but it is working when I change the field manually on form.
I am performing this in domain seperation instance.
Can anyone help me on this..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2023 11:18 AM - edited ‎11-07-2023 11:20 AM
This happens when the field is not available on the view that you are showing in the portal. since you are setting it using g_form.setValue() it was unable to find that field and didn't set it. Please add the field to the view or do a script in a before business rule to set the value when the option is selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2023 11:25 AM
Field is available on the form but ui policy validation is not working when case created automatically...I don't have any scripts I just used ui policy here.