* \setupfields doesn’t set all defaults for all fields, e.g. I must set "frame=off" for each field type.
* radiobuttons work only if you set a value for each – that makes sense, but the value is also used as displayed symbol. Support of viewers for that is horrible. But it’s not possible to just use the default symbol. Also, size settings of radiobuttons are not the same as with checkboxes; makes no sense IMO. I suggest to make the display of custom symbols configurable, or drop the support for them completely, so that the user interface of \field stays the same.
* I didn’t yet check label/choice/popup/combo/signature fields. * The widgets chapter of the interactions manual is still empty. """ \setupinteraction[state=start] \setupfields[ option=printable, frame=off, height=2em, offset=0mm,frameoffset=0mm, align=bottom, style=bold, ] \setupfield[MMshortString][reset,horizontal][width=0.2tw,height=2em,frame=off,] \setupfield[MMcheck][height=1em,width=1em,align=bottom,offset=0mm,frameoffset=0mm,frame=on] \setupfield[MMradio][height=1.25em,width=1.25em,align=bottom,offset=0mm,frame=off,] \setupfield[MMtextfield][reset,horizontal][width=0.6tw,height=12.5em,frame=off,] \definefield[Nickname][line][MMshortString][][] \definefield[Agreement][radio][MMradio][doesAgree,doesntAgree][doesntAgree] \definesubfield[doesAgree][][Y] \definesubfield[doesntAgree][][N] \definefield[Urgent][check][MMcheck] \starttext \starttabulate[|r|l|] \NC Nickname: \NC \field[Nickname]\NC\NR \NC I agree: \NC \field[doesAgree] Yes \vl\ \field[doesntAgree] No\NC\NR \NC This is urgent: \NC \field[Urgent]\NC\NR \stoptabulate \stoptext """
beschwerdeform.tex
Description: TeX document
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
