Author Topic: How To Uncheck Radio Button  (Read 1904 times)

0 Members and 1 Guest are viewing this topic.

Humbertogo

  • Guest
How To Uncheck Radio Button
« on: October 05, 2012, 04:10:47 AM »
I have two boxed_radio_column, with a radio button that users must select.
[boxed_radio_column="A"]
[boxed_radio_column="B"]


I want to uncheck the check buttons if column A is check uncheck all buttons from column B

irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
Re: How To Uncheck Radio Button
« Reply #1 on: October 05, 2012, 04:33:12 AM »
Use the set_tile function. Set to an empty string to turn off all radio buttons in a cluster.
Code - Auto/Visual Lisp: [Select]
  1. (set_tile "radio-column-key" "")

Edit: Else (if you want a particular button to be turned on) set the value to the index if the button inside the cluster. E.g. to turn on the 3rd button:
Code - Auto/Visual Lisp: [Select]
  1. (set_tile "radio-column-key" "2")
« Last Edit: October 05, 2012, 04:37:19 AM by irneb »
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.

Humbertogo

  • Guest
Re: How To Uncheck Radio Button
« Reply #2 on: October 05, 2012, 04:54:46 AM »
Thanks

irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
Re: How To Uncheck Radio Button
« Reply #3 on: October 05, 2012, 04:59:13 AM »
Pleasure  :laugh:
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.