on 10-03-2011 12:58 PM
Hi all,
Please look at this scenario: I have two checkboxes, one text_edit and one button. If at all two checkboxes are checked and create button is clicked, the system should throw an error "Either of the check boxes should be selected", which is working fine.After showing this error message, if some text is typed into text_edit and create button is clicked.It should not take it.
But whats happening is instead of restricting from taking the text into text_edit, its showing a dump which is accessed through the method of the assistance class instead of the method in the component controller.Could u pls sort out this problem?
Tanvi.
Hello Tanvi,
If at all two checkboxes are checked and create button is clicked,
the system should throw an error "Either of the check boxes should be selected"
Why don't you use the radio button instead ?
It will make it much easier.
Warm regards,
Upendra Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the help....Ur answers helped a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tanvi..
How you are throwing Error Message...?
If you are using MESSAGE AREA for message handling then when ever two check boxes are checked and create button is click a message is throwed.So after entering the text in TEXT EDIT, In the action handler of the Create Button,check if any mesages exists in the Message Area,if so do not take text from the TEXT EDIT..?
With Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.