How to read the value of a radio button group

Previous topic - Next topic

titi

Hello

I am getting started with javascripting in Scribus and I made some working scripts but I do not succeed in reading the value of a radio button group.

More precisely, I have
  • four radio buttons grouped in a group named "gr",
  • a macro which on mouse up print this.getField("gr").value
and I get only the name of the radio button on which I have clicked.

How can I know which button is checked ?

I read things on exportvalue but I don't imagine how I can use it.

Thanks in advance for any hint.