On 8/13/2019 8:01 PM, Henning Hraban Ramm wrote:
Regardless of my other mails, I’d appreciate to have this bug fixed.

Last time I checked this (widget crap) there was an issue with acrobat and apearances ... I think that this model of parents and kids never really worked well and when one switches a page existing renderings get messed up. Irr some of these widgets (check boxes?) can't even have a custom visualization any more that is kept when one goes through pages.

I also have no clue to what extend all this is part of the 'standard'.

Anyway, if you can make a working example (uncompressed pdf) in official acrobat (not some other tool) that works in acrobat reader we can maybe figure out what todays demands are. Implementing stuff like this is trivial but the trial and error is painful.

Hans

(I only have acrobat X and reader for checking this.)


\nopdfcompression

\setupinteraction
  [state=start]

\definesymbol[yes][1]
\definesymbol[nop][0]

\setupfield[whatever][width=20mm,height=20mm,frame=off]

\definefield[what][radio][whatever][whatone,whattwo][whatone]
\definesubfield[whatone][][yes,nop]
\definesubfield[whattwo][][yes,nop]

\setupfield[textstuff][horizontal][width=50mm,height=15mm,offset=0pt,option={printable},offset=overlay]

\definefield[whatthree][text][textstuff]

\starttext

\startTEXpage[offset=2cm]
    \field[whatone]\space\field[whattwo]\space\field[whatthree]
\stopTEXpage

% \startTEXpage[offset=2cm]
%     \field[whatone]\space\field[whattwo]\space\field[whatthree]
% \stopTEXpage

\stoptext


Greetlings, Hraban

Am 2019-08-05 um 10:03 schrieb Henning Hraban Ramm <te...@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,
]

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

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



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to