form parser Put in data/plugins/parser Tested in moin 1.5 Todo: * default values * Would like the ability to use cfg.xyz, user.xyz, get.xyz or post.xyz to pull default values in from moin config, user preferences, get/url vars and post vars from a previous submission (to link multiple forms) * more advanced validation * additional widgets * time/date/date-time chooser * chained selections (i.e. two lists allowing moving options from one to the other) * input sanity checking * right now, you could enter an option such as abc=xyz=pdq and get unpredictable results * I'm not sure what happens if you start the row off with invalid data * Allow wiki content, or at least wiki links in the labels (maybe) Hey, cool feature - use the form builder to create your forms. Form is defined by rows. The first row must be the "form" row. The columns are 1. form element type 2. options for the form element, separated by ; and options are key=value formatted. Extra = will likely cause a problem. 3. name of the form field 4. label text 5. default value 6. options for radio/check/select lists, again separated by ; and in the form of key or key=value (in the case of key only, then it will be converted to key=value) 7. extra explanitory text shown in a (evenutally) smaller font below the form field Here's an example form: {{{#!form form|id=TheRealForm;method=get;cancel=f;submit_text=Submit|form1|http://www.google.com section|||Personal Information text|required=t|firstname|Please enter your first name text|width=100%;required=f|lastname|Please provide your lastname|||Please tell us your lastname email|width=100%;required=t|email|Please enter your e-mail address password|width=15;required=t|password|Please provide a password password|width=15;mustmatch=password|password2|Repeat password||Please type your password again||You are asked to enter your password twice so that you can be sure you've not made a simple typing error that would prevent you from accessing your preferences section|||Preferences url|width=100%|homepage|What is the link to your homepage? select|allowmulti=t|fav_colors|What are your favorite colors?||red=Red;blue=Blue;green=Gren;all=All of the colors select||fav_linux|What is your favorite Linux distro?||Ubuntu;Redhat;Novell;Debian;Other=None of the above checkbox||languages|What are your favorite programming languages?||python;C=C/C++/C#;Ruby;PHP;Perl;Basic=Basic/Visual Basic;Java;dotnet=Other .Net language;other radio||employertype|What type of company do yo work for?||student;non-profit;smallbiz=small or medium commercial business;bigbiz=large business/enterprise;government hidden||referrer||cookie=referrer textarea|wysiwyg=t|about|Enter your bio }}}