I am facing some problem related to dynamic fields in jsp page. I have couple of fields in form which get displayed when you select a radio button. For these fields individual <div> has been defined. The problem is if the radio button is selected and dynamic fields are available on the page and if there is any error on the page, page gets refreshed and all dynamic fields get disappeared again. To make it available I again have to click on radio button.
I think I do need to set some property in form tag but don't have any clue which one? Can any one suggest?
I think it is not refresh. Sorry for unclear explanation. It is just if there is any error on the page, it keeps you on the same page and holds all value entered by the user .But dynamic fields are collapse upon error.