This demonstrates a form that can be attached to each EventAnnouncement topic.

This form should be filled in when the topic is created.

Name Type Size Values Tool tip
State radio 3 Future, Past, Planning The current state of this event
When text 40   When the event occurs.
One Liner text 40   A one-line description of the event.

Note that the "When" could be of type "date", which would provide a pop-up calendar to assist in selecting a date. However, only one date can be selected, and we have events that may span multiple days (e.g. Hosstraders). Also, once selected a date can't be removed (or made blank), so I just decided to make this a text field.

Ideally, the State field should not be there, but I haven't figured out how to search for only a certain value. (Well, searching for a single value is easy, but constructing date values isn't that easy, and this is just a demo...)

-- BruceDawson - 06 Oct 2005

Topic revision: r1 - 2005-10-06 - BruceDawson
 

All content is Copyright © 1999-2024 by, and the property of, the contributing authors.
Questions, comments, or concerns? Contact GNHLUG.
All use of this site subject to our Legal Notice (includes Terms of Service).