Need help urgent. I want to reload the page after ...
# general
v
Need help urgent. I want to reload the page after i change a particular field. i used client script. i used window.location also. no use. could anyone please help me?
c
Dare I ask why you'd want to do this?
m
Really horrible UX. A vendor of ours does this whenever the subsidiary changes on some entry forms and you lose everything you already entered.
Having said that, window.location should work.
n
What does your code look like?
v
@michoel same here, when i enter a field value the page should reload with the new value, but it says "the changes you made cannot be saved"
so i used the window.location.reload(url) where the url contains the url concatenated with vendor id and the field values as variables
still facin the same issue.
m
You probably need to clear window.unload first
v
still it is not reflecting. I need to reload the page after i change the particular field.
ITs done with the help of window.location.replace
Thanknyou