aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Hidden fields 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 "Hidden fields" Watch "Hidden fields" New topic
Author

Hidden fields

Krish Khan
Ranch Hand

Joined: Dec 14, 2009
Posts: 46
Hey All,

I need to understand with hidden fields.

I am assigning hidden field


I have written set and get methods in form.

I have set its value in the action class in default mode which is it gets loaded initially. Now when i press a button its should check this value so I am trying to call hidden field value

I am getting null value.. please help me.
Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
Hi,
Get hidden field value using formName.


and script



Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

It has nothing at all to do with the fact the field is hidden. Use modern addressing mechanisms such as document.getElementById().


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hidden fields