I have a couple questions about the formSpecialPage class and how it works.
For starters, I cannot seem to make anything happen in the onSubmit
callback, regardless of what I do. In addition, I'm also not certain how to
return error messages upon failure to perform the action. What's more, I
made onSubmit() just return true regardless of anything, and I still could
not get the onSuccess() message to display.
In a nutshell, I don't understand the submit process for this class, and
would like some tips on how to make sure I'm doing everything properly.
My extension I am developing is located in my github, here:
http://github.com/Justin-Folvarcik/ContactUs
Source for the class is in SpecialContactUs.php, and the js and css are
currently unused while I work out the rest of the technical details.
If I could possibly get some pointers about it, I'd appreciate it. I'm
basically stuck, and don't know what to do next.
--
----
Justin Folvarcik
*"When the power of love overcomes the love of power, the world will
finally know peace."*-Jimi Hendrix