291
Views
2
Comments
Ajax refresh is not working
Question
Hello People,

I have country field on my form. I am changing Country's value from Popup. Pop up link has been given in front of country text box. When I come back to page after country change from Pop up, I want new Country value to be displayed on page but country value is not getting refreshed. 

I have used on notify event of pop up. Query is getting refreshed, container is getting refreshed but I am not getting actual result.

Please check the attached screenshot and advice.

Thanks and Regards,
Suraj Borade

PURCHASING POWER LLC.png
2022-08-05 20-06-58
Hélder Anselmo
Hi Suraj,

If you are using the EditRecord object you must refresh it also.
Just add one assign in your action and refresh the editRecord value (or record) with the output from the query.

Cheers!
2023-05-03 10-22-17
Victor Salvalagio Pereira
Like Hélder said, if you are using a EditRecord you must assign the valur to the EditRecord record, not in the Source. After that just use ajax refresh on you EditRecord.

Victor
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.