From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Making a feedback form
Date: Mon, 30 Aug 2010 16:02:29 +0200 [thread overview]
Message-ID: <87zkw4nqq2.fsf@linux-lqcw.site> (raw)
In-Reply-To: <4C7A47C8.10202@wxs.nl> (Hans Hagen's message of "Sun, 29 Aug 2010 13:43:04 +0200")
Op zondag 29 aug 2010 13:43 CEST schreef Hans Hagen:
>>>>> there is the widgets manual on the website .. still valid
>>>>
>>>> Thanks. This is for interactive feedback forms and I need paper ones,
>>>> but I think I can use it.
>>>
>>> ok, paper is easier, mostly itemize (which has some features for that) and
>>> framed and so then
>>
>> I'll look into that. I also need checkboxes, but htere was something
>> like that in widgets.
>
> yes, but using pdf fill in forms for that is overkill, better define a
> symbol for that
I think I'll use '[ ]' for that. That is what I use in my current
OpenOffice document.
> aren't there users out there who have made forms already who can provide
> examples?
It looks like not. Well it is for me to take up the gauntlet then.
I'll try to make a set off macros and when successful, I'll put them
on the WiKi.
I am thinking about the following:
A macro to input several fields. The input's the same length and
starting at the same character every time position. Like (looks only
correct with a mono-spaced font):
Contact Details:
Company: ________________________________________
Name: ________________________________________
Address: ________________________________________
ZIP City: ________________________________________
E-mail: ________________________________________
Phone: ________________________________________
GSM: ________________________________________
Which would be called with something like:
\multiple-input{
"Contact Details"
40
"Company"
"Name"
"Address"
"ZIP City"
"E-mail"
"Phone"
"GSM"
}
And properly make a macro for this one also, because this will be info
that is requested often.
Next will be creating check (or radio) buttons. Would it be a good
idea to use different 'boxes' for those? I was thinking about:
Did you find this workshop useful?
[ ] Yes
[ ] No
[ ] A little bit
This would be generated with:
\radio-buttons{
Did you find this workshop useful?
"Yes"
"No"
"A little bit"
}
Next would be a construction like (always using the complete line):
What did you find the most useful?
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
This would be generated with:
\multiline-input{
what did you find the most useful?
10
}
Is this an useful way to tackle this?
Are there other input elements I should define?
Elements should always be on one page. How can I make sure this will
be the case?
Any tips about how to write those macros?
--
Cecil Westerhof
M CLDWesterhof@gmail.com
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please do not send me Microsoft Office/Apple iWork documents.
Send OpenDocument instead! http://fsf.org/campaigns/opendocument/
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-08-30 14:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-27 13:03 Cecil Westerhof
2010-08-27 21:25 ` Hans Hagen
[not found] ` <AANLkTimcFL8ebDZakq_wFNNpJ3cZtkM64EFkoqM6JowE@mail.gmail.com>
[not found] ` <4C78CA9A.4030408@wxs.nl>
[not found] ` <AANLkTi=7LsvxpsB3BkU0rZkuRvyO5m+ve1E+JHckfD4G@mail.gmail.com>
2010-08-29 11:43 ` Hans Hagen
2010-08-30 14:02 ` Cecil Westerhof [this message]
2010-08-30 18:46 ` Henning Hraban Ramm
2010-08-29 13:18 ` Vnpenguin
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=87zkw4nqq2.fsf@linux-lqcw.site \
--to=cldwesterhof@gmail.com \
--cc=ntg-context@ntg.nl \
/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).