Ask Your Question
0

Make Checkboxes behave like radio (option) buttons [closed]

asked 2012-07-02 02:59:41 +0200

boristhespider gravatar image boristhespider
1 1 1 1

I have searched the web for a solution to this, but most I have found have been on Javascript websites. On a scale of 10 to 1, 10 being a Java guru and 1 being "Man, that's a good cup o' Joe", I'm a 1.

I have created a table in Writer (that will be turned into a fill-in PDF) that has multiple rows. Some of the rows have 2 checkboxes, and some have 3. The default will be that no boxes are checked, but if one box is checked, and if subsequently if any other checkbox is checked within the same row, the previously checked checkbox will be unchecked.

I'm hoping all I need is to write a macro to accomplish this

I sincerely hope this is the proper place to ask this question.

delete reopen flag offensive retag edit

The question has been closed for the following reason "question is not relevant or outdated" by qubit
close date 2013-02-19 04:31:24.886170

1 Answer

Sort by » oldest newest most voted
0

answered 2012-07-02 16:48:14 +0200

qubit gravatar image qubit flag of United States
5693 3 48 41

Hi, It looks like there's some good documentation about form controls on the wiki here: http://help.libreoffice.org/Common/Form_Controls#Option_Button

In the general case, it sounds like you could use the 'Option Button' control in your form and give all of the option buttons in a given row the same group name to get the "radio button"-style interface. But it sounds like you really want to use checkboxes.

In that case, you might either be able to style the radio buttons to look like checkboxes, or you could try to write a macro. Do you know how well LO macros export to PDF format?

link delete flag offensive edit

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-07-02 02:59:41 +0200

Seen: 753 times

Last updated: Jul 02 '12