Dependent Field is not refreshing when case is opened again

sri vijaya
Tera Contributor

Hi Team

i have 2 fields 1.Event (choice)and 2.Event details (choice) in case form

Event details field is dependent on Event Field as "If event =Epidemic then only Event details field should be visible with choices"( i have created a ui policy)

In first step In case from, I have selected Event = Epidemic and Event details=Flu and saved the form

In second step ,in same case i have selected Event="some other choice" when Event details field should not be visible and saved the form

In third step,in same case then again selected Event =Epidemic so then i expected Event details should be visible as blank with None but its appeared as "Flu " in which i selected this as in first step and saved the form and its not refreshed 

 

I am not sure is this the existed behavior as it will be stored in table for his field value

Please help to resolve this issue

@Dr Atul G- LNG @Danish Bhairag2 @Tai Vu 

2 ACCEPTED SOLUTIONS

Hey @sri vijaya 

As I mentioned earlier, when the Event Details become invisible, the value is not cleared. So when you save the form, the Event Details keep the value and save to the database.

Let's attempt the following changes:

  1. In the UI Policy condition, set it to => Event is not Epidemic.

  2. In the UI Policy Action, set Visible to False, and ensure that the "Clear the field value" option is checked.

 

Cheers,

Tai Vu

View solution in original post

Hi,

Please update your UI Policies as suggested below:

Update condition like: Event IS NOT Epidemic

Screenshot 2023-11-30 at 3.46.35 PM.png

Set Visible = False

Check the 'Clear the field value' Checkbox

Screenshot 2023-11-30 at 3.44.25 PM.png

 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

8 REPLIES 8

@sri vijaya 

 

Update your ui policy condition with Event changes to Epidemic and try 

 

Mark this answer as correct or helpful if it helps

Thanks,

Manjusha Bangale

 

Hey @sri vijaya 

As I mentioned earlier, when the Event Details become invisible, the value is not cleared. So when you save the form, the Event Details keep the value and save to the database.

Let's attempt the following changes:

  1. In the UI Policy condition, set it to => Event is not Epidemic.

  2. In the UI Policy Action, set Visible to False, and ensure that the "Clear the field value" option is checked.

 

Cheers,

Tai Vu

Hi,

Please update your UI Policies as suggested below:

Update condition like: Event IS NOT Epidemic

Screenshot 2023-11-30 at 3.46.35 PM.png

Set Visible = False

Check the 'Clear the field value' Checkbox

Screenshot 2023-11-30 at 3.44.25 PM.png

 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Anubhav24
Mega Sage
Mega Sage

Hi @sri vijaya ,

Please check the checkbox Clear Field Value and then check if the issue still persists.

Please mark helpful/correct if my response helped you.