public inbox for
 help / color / mirror / Atom feed
* Append only field
@ 2004-08-28  6:59 Stuart Stevens
  0 siblings, 0 replies; only message in thread
From: Stuart Stevens @ 2004-08-28  6:59 UTC (permalink / raw)
  To: help-gnats

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

I am interested in having an append only field.  When edited, the field
would be blank and any new text would be added to the field with the date
and user name.  The entries would have the newest first.  Perhaps the order
would be an attribute.  A template can be used to define the separation of
each entry.

This can be achieved partially by using on-change and a one line change to  Editpr users would have to clear the "Comments" field for
every submission.  Is anybody working on an append only field?  Is there any
interest in such a field?

field "Comments" {
    multitext {
        default ""
    on-change "Comments!=\"\"" {
        set-field "Comments" {
"================================================\n%D  %s\n\n%s\n\n%s\n"
                "$CurrentDate" "$EditUserEmailAddr" "$NewValue" "$OldValue"

    on-change "Comments==\"\"" {
        set-field "Comments" {
            "%s" "$OldValue"

Stuart Stevens
Firmware Engineer
Sierra Logic Inc.
9083 Foothills Blvd., Suite 300, Roseville, CA 95747
916 772-1234 x146,  916 772-1811 Fax

NOTICE:  This email message is for the sole use of the intended recipients
and may contain confidential and privileged information.  Any unauthorized
review, use, disclosure or distribution is prohibited.  If you are not the
intended recipient, please contact the sender by reply email and destroy all
copies of the original message.

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

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

Help-gnats mailing list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-26 20:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-28  6:59 Append only field Stuart Stevens

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 read-only IMAP folder(s) and NNTP newsgroup(s).