Hi Jean-Pierre,

On Thu, May 21, 2026 at 20:12 (+0200), Jean-Pierre Delange via ntg-context 
wrote:

> Hi Jim,

> Here, you can find some doc : https://wiki.contextgarden.net/Widgets

That's perfect, just what I was looking for.

I added the information to the \field wiki page.  (When I went to do that
for \definefield and \setupfield, I see it was already there.  Duh.)

> Don't forget : the main command without it nothing can works is :

> \setupinteraction     [state=start]

I had already discovered that the hard way.  :-)

> MWE : \setupinteraction[state=start] \setupfield [TextFieldSetup]
> [frame=on, width=8cm, height=1.2em, background=color,
> backgroundcolor=lightgray] \definefield [UserName] [line]
> [TextFieldSetup] \starttext Please enter your name: \blank[small]
> \field[UserName] \stoptext

Thanks for that.  I hope you don't mind that I put it in the wiki page for
\field.  (If you prefer I don't, let me know and I'll remove it from that
page.)

                                Jim


> Le 21/05/2026 à 19:55, Jim via ntg-context a écrit :
>> Hi all,

>> I've been trying to wrap my mind around \field, \setupfield and
>> \definefield.

>> Unfortunately, the (knowledgeable) wiki contributors have not yet got very
>> deep into that corner of the wiki, and the chapter in
>>      .../tex/texmf-context/doc/context/sources/general/manuals/interaction
>> dealing with widgets is "commented out".

>> My grep command did not reveal anything else in the standalone distribution
>> that uses \field & friends.

>> Does anyone have a pointer to some current documentation for these things,
>> or, failing that, any extensive examples?  There is an example for one type
>> of field (line) in the wiki, but not the others.

>> Thanks.
>> Jim
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________

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

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

Reply via email to