What is the error message? It seems you just copied an example code, so i assume, that SpecialMyModule::processInput() doesn't exist?
If you want to add the form without any input validation you could use: $htmlForm->prepareForm()->displayForm( false );
But it would (maybe) make sense to use the built-in input validation :)
Best, Florian
Freundliche Grüße Florian Schmidt -----Original-Nachricht----- Betreff: [Wikitech-l] Disable validation in HTMLform Datum: Thu, 07 May 2015 10:20:41 +0200 Von: Toni Hermoso Pulido toniher@cau.cat An: Wikimedia developers wikitech-l@lists.wikimedia.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hello,
In an HTMLForm I'm filling a select with options extracted from a JSON call (using ResourceLoader addModules). Everything OK, excepts when I try to submit the form. The form is not properly validated before even when I put 'validation-callback' => true and required => false in the actual select I'm filling with Javascript.
I presume this may be happening because I'm puting these options not in the expected way.
How could this be solved? E. g., fully disabling validation of the form?
Involved code: http://pastebin.com/Q5KA2e1U
Any idea? Thanks!
- -- Toni Hermoso Pulido http://www.cau.cat http://www.similis.cc
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l