I am using grails 2.4.2 version which uses HTML 5. I have some form element based on some condition. Such as District, Thana. When I select the district then I am hiding thana and when selecting thana then hiding district. This works fine.
But when I click the go back button of the browser then it shows both the field. I want to keep the form element condition as I expected when a user click the go back button of the browser. How can I implement it?