Home » Developer & Programmer » Forms » Deselect all checkboxes except the one which has been selected (windows)
Deselect all checkboxes except the one which has been selected [message #552938] Mon, 30 April 2012 04:42 Go to next message
nvsr
Messages: 54
Registered: December 2011
Location: HYDERABAD
Member

Hello All,

I have multi record block and a select checkbox in that block. ( Non - DataBase Block)
My requirement is whenever I select any checkbox all other checkboxes should get deselected except the one which I have selected just now.
Re: Deselect all checkboxes except the one which has been selected [message #552939 is a reply to message #552938] Mon, 30 April 2012 04:52 Go to previous messageGo to next message
cookiemonster
Messages: 13925
Registered: September 2008
Location: Rainy Manchester
Senior Member
In the when-checkbox-changed

1) Check if the checkbox is checked
2) record the current record in a variable,
3) Go to first record
4) Set checkbox to unchecked value unless current record is the one to started in.
5) Go to next record
6) Repeat steps 4 and 5 until you get to the last record
7) Go back to the record you started in.
Re: Deselect all checkboxes except the one which has been selected [message #552941 is a reply to message #552939] Mon, 30 April 2012 04:59 Go to previous message
nvsr
Messages: 54
Registered: December 2011
Location: HYDERABAD
Member

thanks its working
Previous Topic: what trigger to use?
Next Topic: webutil problem
Goto Forum:
  


Current Time: Fri Jul 05 21:21:58 CDT 2024