aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes disabling and enabling text boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "disabling and enabling text boxes" Watch "disabling and enabling text boxes" New topic
Author

disabling and enabling text boxes

surya gond
Greenhorn

Joined: Sep 28, 2004
Posts: 2
Hi,
I have a form in which, there will be a table with x number of rows and 2 columns coming from the database. These two columns are text boxes. In each row there will be a check box adjacent to the textboxes.

What I want is
1) on loading the form, all the x number of rows in the table should be disabled for editing.
2) When a user clicks on the check box in a row the text boxes in that row should be enabled for editing.
3) when a user does not put any data in the row the user should get a popup about the null value.

Please let me know if I need to provide some more information

Thank You
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You want to do this server or client side?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: disabling and enabling text boxes