[Mediawiki-l] Cascading HTMLForms

Robert Vogel vogel at hallowelt.biz
Tue Nov 8 10:00:08 UTC 2011


Hello everybody,

I am trying to write a SpecialPage with some kind of wizard functionality. On normal access a HTMLForm with a HTMLSelectField is presented. In the submit callback method of this HTMLForm object I create another HTMLForm with more HTMLFields. So far everything works fine. But when I submit this second HTMLForm the validation process breaks. Instead of running all validation- and filter-callbacks of the HTMLFormFields in the second HTMLForm the Framework renders the first HTMLForm with an error.

Does anybody know how to build a wizard with MediaWikis HTMLForm class? I'm a little stuck here. Help is very appreciated.

Best regards,

Robert Vogel
Social Web Technologien
Softwareentwicklung
Hallo Welt! - Medienwerkstatt GmbH

__________________________________

Untere Bachgasse 15
93047 Regensburg

Tel.  +49 (0) 941 - 66 0 80 - 198
Fax   +49 (0) 941 - 66 0 80 - 189

www.hallowelt.biz
vogel at hallowelt.biz


Sitz: Regensburg
Amtsgericht: Regensburg
Handelsregister: HRB 10467
E.USt.Nr.: DE 253050833
Geschäftsführer: Anja Ebersbach, Markus Glaser, Dr. Richard Heigl, Radovan Kubani



More information about the MediaWiki-l mailing list