ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* radiobuttons
@ 2019-08-05  8:03 Henning Hraban Ramm
  2019-08-05 13:10 ` radiobuttons Henning Hraban Ramm
  2019-08-13 18:01 ` radiobuttons Henning Hraban Ramm
  0 siblings, 2 replies; 9+ messages in thread
From: Henning Hraban Ramm @ 2019-08-05  8:03 UTC (permalink / raw)
  To: ntg-context

Hi, coming back to an old form project I find that something changed WRT to form fields.

For one, some fields appear smaller and shifted upwards – I managed to fix that with setups.

What I can’t change is behaviour of radiobuttons: if I click one, all rbs of one group activate, and I can’t deactivate them any more.

In my project all of the fields are duplicated on other pages, and while all other fields’ contents get copied, it doesn’t work for radiobuttons; my minimal example unfortunately can’t show that.


\setupinteraction[state=start]

\setupfield[MMradio][
  option=printable,
  frame=overlay, corner=round,
  height=1em, width=1em,
  align=bottom,
]

\definefield[chooseTeX][radio][MMradio][rbContext,rbLatex,rbOther][rbContext]
\definesubfield[rbContext][][]
\definesubfield[rbLatex][][]
\definesubfield[rbOther][][]

\starttext

I want to use \field[rbContext] \CONTEXT\ \field[rbLatex] \LaTeX\ \field[rbOther] other.

\page

Just to confirm:
I want to use \field[rbContext] \CONTEXT\ \field[rbLatex] \LaTeX\ \field[rbOther] other.


\stoptext


Greetlings, Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-08-16 12:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-05  8:03 radiobuttons Henning Hraban Ramm
2019-08-05 13:10 ` radiobuttons Henning Hraban Ramm
2019-08-05 15:07   ` radiobuttons and other widgets Henning Hraban Ramm
2019-08-14 20:09   ` radiobuttons Wolfgang Schuster
2019-08-13 18:01 ` radiobuttons Henning Hraban Ramm
2019-08-14 17:20   ` radiobuttons Hans Hagen
2019-08-15 20:40     ` radiobuttons Henning Hraban Ramm
2019-08-16 12:25       ` radiobuttons Henning Hraban Ramm
2019-08-15 17:25   ` radiobuttons Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).