Question

I am modifying the TWiki.Registration form for my needs. However, the fields I have changed are not being e-mailed to me in the confirmation e-mail. Where else would I have to add the items to recieve them in the confirmation email (To the TWiki Admin).

Also, is there a way to have all the webs listed in the option bar without me having to handcode each one? I expect new webs to be created on a daily basis and it would be easy to forget to add a web to the list. Does anyone also know how to code the rule: If someone selects "other webs" they are forced to enter them in in the box below.

Thank you all for your time & help!

Below is the portion of the form I am trying to modify.

Web Access Request: Ctrl-click multiple items if needed **

Other Web(s) (not listed above):

Environment

TWiki version: TWikiRelease04x01x02
Server OS: Suse
Web server: Apache
Perl version:
Client OS:
Web Browser:
Categories: Forms

-- BrianMahoney - 08 Aug 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

For the first part of your question: You need to obey a name convention for your controls: Field names have to start with Twk1 for mandatory, or Twk0 for optional fields. If I recall correctly, all other fields are ignored by the registration process.

For the second part: This needs to be done outside TWiki, easiest way would be with Javascript - or with a decent hint close to the form field. If someone registers with an empty list, you should give him access to exactly that ;->

-- HaraldJoerg - 09 Aug 2007

Change status to:
Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007年08月09日 - HaraldJoerg
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /