Do any of you ever create applications that present forms to a user based on information entered by a different level of user? For example, in an event registration system I'm writing, a user is required to enter different information when registering for an event depending on the event specifics. The event specifics aren't known until the event is entered into the system by an administrative user.
The way I've handled this is by including fields named Custom1..CustomX in the database, and then inserting names in those records if needed. If the names are found when the sign-up display screen is shown then that information is required for the sign-up. This works pretty well, but it is a bit limited. For one thing, it currently only allows text field inputs to be entered, and no restraints are placed on what data is considered a valid entry. I'm thinking of extending this, at least in part by including regexen in the database to validate input. I'm trying to figure out a good way for administrative users to be able to edit these, though, as they certainly aren't familiar with the regexen. Ideas? =) --TWH --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
