Tags:
create new tag
, view all tags

Enhancement: Registration should get its settings from the form...

MC, could you explain that in more detail? There are all manner of possible hidden gotchas lurking in that.

I could interpret your statement as meaning that the HTML form in TWikiRegistration is dynamically generated from the user data form in much the same way that

That would be unacceptable to me. I have an extended form, as you can see at http://www.infosecwiki.com/bin/view/TWiki/TWikiRegistration. The layout is important too. Using HTML for the form gives a flexibility

-- AntonAylward - 01 Oct 2005 (Abridged from Develop:Bugs.Item497)

http://koala.ilog.fr/twikiirc/bin/irclogger_log/twiki?date=2005-10-04,Tue&sel=78#l74

-- MartinCleaver - 04 Oct 2005

Perhaps there is a way to implement what Martin is proposing while retaining the flexibility you need. First of all, there should be only one UserForm (be it the TWiki06x00 or the Main one, but I'm inclined for the later for consistency). Then, build the TWikiRegistration using the variable. For that you have two options:

* Separate variable for the title and the value:

%FORMFIELD{"name" topic="Main.UserForm" format="$title"} %FORMFIELD{"name" topic="Main.UserForm" format="$value"}

* Use one variable with the format parameter:

%FORMFIELD{"name" topic="Main.UserForm" format="$title$value"}%

other way (my personal favorite):

  • Set FORMAT=$title$value
%FORMFIELD{"name" topic="Main.UserForm" format="$title$value"}%

Haven't tested, so I don't know if there is any hidden issue with it, but it's worth a try.

-- TWiki:Main.RafaelAlvarez - 01 Oct 2005 (In Develop:Bugs.Item497)

Anton wanted both validation and enhanced layout of the form. I believe that a plugin somewhere would do these jobs, and that WorkFlow is a key infrastructure need for TWiki.

-- MartinCleaver - 05 Oct 2005

A few points:

  1. The 'abridged' cut out a lot, quite possibly because Martin wasn't really understanding what my objections were, what I was asking for. I think I'll have to create a whole topic to address that.
  2. In short, I was concerned with complex validation. Martin latched onto twikiforms as a means to that and ignored just about everything else.
  3. I agree that workflow is important. There are workflow considerations in The Real World™ that need to be addressed
  4. There is a huge gap between PeterThoeny's idea of TWiki on the intranet and and the requirements of a TWiki in the field. There are already many hundreds of TWiki sites on the Internet.
    • Martin elided my references to sites that support membership, clubs, communities and professional organizations where registration requires "proof that you belong"
    • Martin elided my references to sites that support products and would want "proof of purchase" or product detail as part of the registration process.
      • Why the above? To filter out spammers, tire-kickers and wannabes.
        I run such a site and know that they come around.
  5. No I don't want a plugin. I don't want the overhead of a plugin loading down every other topic.
    • Enhancing the existing code to have optional user handlers will be quite adequate, thank you. Its a minimalist approach that does not add complexity.

-- AntonAylward - 05 Oct 2005

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-10-05 - AntonAylward
 
  • Learn about TWiki  
  • Download TWiki
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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.