ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henning Hraban Ramm <texml@fiee.net>
Subject: Re: radiobuttons
Date: Wed, 14 Aug 2019 22:09:11 +0200	[thread overview]
Message-ID: <7af9902a-9804-9126-c53e-733eb248b328@gmail.com> (raw)
In-Reply-To: <FD5E0F97-FFA8-4C85-B23B-BDC6777C27D5@fiee.net>

Henning Hraban Ramm schrieb am 05.08.2019 um 15:10:
> Of course the behaviour depends on the PDF viewer… :-(
> In Acrobat Pro 9 the radiobuttons work while I highlight form fields; if I switch that off, all options are checked.
> In Adobe Reader DC you can’t switch off form field highlighting.
> Preview.app only highlights on mouseover and checks all radiobuttons.
> PDF Studio (that I try to establish as a cheap alternative to Acrobat Pro) sometimes shows an error after asking if I’d like to activate JavaScript and won’t open my form document at all.
>
> Since I need also a non-interactive version for printout, and since ConTeXt doesn’t reserve the space of form fields if I switch off interaction, I used to remove form fields with Acrobat.
> In previous versions (I can prove 2018-11) ConTeXt used its own frames for radiobuttons and checkboxes. Now it seems to use options of the PDF form fields that look different in viewers and disappear if I delete the field…
>
> Custom symbols of radiobuttons and checkboxes are displayed constantly (that used to work only in MkII 10 years before or so, probably due to changes in Acrobat), and it’s not possible to use different symbols for checkend and unchecked
>
> 😭😤
>
> Hraban
>
>> Am 2019-08-05 um 10:03 schrieb Henning Hraban Ramm <texml@fiee.net>:
>>
>> 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,
>> ]
Use (with "framed" in the second optional argument)

\setupfield [MMradio] [framed] [..,..=..,..]

to get normal framed fields.

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2019-08-14 20:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Wolfgang Schuster [this message]
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=7af9902a-9804-9126-c53e-733eb248b328@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).