Hi guys

I have created a form with dropdowns where user selects location and then the next box (sub location) is generated

that works fine, my problem is

I have validation on my my form and when the pages reloads the values are reset


Is there a way to keep the values in the ajax dropdown boxes?