aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamic field collapse issue in Form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamic field collapse issue in Form" Watch "Dynamic field collapse issue in Form" New topic
Author

Dynamic field collapse issue in Form

Maria Laxmi
Ranch Hand

Joined: Aug 08, 2008
Posts: 40
Hi,

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?

Thanks,
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

A refresh is like wiping the chalkboard clean. You'll need to remember and reset the state yourself. Perhaps you could use a cookie?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Maria Laxmi
Ranch Hand

Joined: Aug 08, 2008
Posts: 40
Thanks for quick reply.

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.

I hope I am clear this time.

THanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic field collapse issue in Form