From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: radiobuttons
Date: Mon, 5 Aug 2019 10:03:03 +0200 [thread overview]
Message-ID: <7195B6EC-5ABC-47A9-AE93-042E7EB179F4@fiee.net> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2019-08-05 8:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-05 8:03 Henning Hraban Ramm [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7195B6EC-5ABC-47A9-AE93-042E7EB179F4@fiee.net \
--to=texml@fiee.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).