ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: checkbox in fields show the word yes
@ 2020-12-11 17:13 Andres Conrado Montoya
  2020-12-11 17:28 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Andres Conrado Montoya @ 2020-12-11 17:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1089 bytes --]

Firefox doesn't show the "yes", nor Acrobat X, but SumatraPDF does. I
modified your definition as:

\definefield[test][check][cbox][][]

And now the "yes" doesn't appear. However, I don't know how this affects
the functionality of the form.

-- 
Andrés Conrado Montoya
Andi Kú
andresconrado@gmail.com
http://sesentaycuatro.com
http://messier87.com
http://chiquitico.org
----------------------------------------
Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.
----------------------------------------

“You develop an instant global consciousness, a people orientation, an
intense dissatisfaction with the state of the world, and a compulsion to do
something about it. From out there on the moon, international politics look
so petty. You want to grab a politician by the scruff of the neck and drag
him a quarter of a million miles out and say, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell

[-- Attachment #1.2: Type: text/html, Size: 1621 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 7+ messages in thread
* checkbox in fields show the word yes
@ 2020-11-17 12:50 Jan U. Hasecke
  2020-12-11  7:46 ` Jan U. Hasecke
  0 siblings, 1 reply; 7+ messages in thread
From: Jan U. Hasecke @ 2020-11-17 12:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

with this example I get a checkbox that does not work; in my real world
document it works, I can't say why. But this minimal example shows the
problem I have in my real document.


\usemodule[fields]
\setupinteraction [state=start]

\setupfield[cbox][width=1em,height=1em,option=printable,frame=on,offset=0.5mm,frameoffset=1mm,type=radio,color=black]
\definefield[test][check][cbox][yes][no]

\starttext
\field[test] \space Do you see the word »yes«?
\stoptext

Unfortunately in Firefox and some other PDF Viewer there is the word
"yes" written in the checkbox.

This makes the form useless as people think the given option is set to
yes by default.

Can I avoid this somehow?

TIA juh
___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2023-10-05 13:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 17:13 checkbox in fields show the word yes Andres Conrado Montoya
2020-12-11 17:28 ` Hans Hagen
2023-10-05 13:44   ` [NTG-context] " juh via ntg-context
  -- strict thread matches above, loose matches on Subject: below --
2020-11-17 12:50 Jan U. Hasecke
2020-12-11  7:46 ` Jan U. Hasecke
2020-12-11  8:21   ` Floris van Manen
2020-12-11 17:33     ` Bruce Horrocks

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).