Thank you Very Much, Sir, Now I can Suppress Default Submit Button.
On Thu, Feb 8, 2018 at 4:05 AM, Brian Wolff bawolff@gmail.com wrote:
Hi,
Assuming you HTMLForm object is named $form, You can call $form->suppressDefaultSubmit()
For more information see https://doc.wikimedia.org/mediawiki-core/master/php/classHTMLForm.html# ad378993f825a14e63cb0e15d7e95e383
-- Brian
On Wed, Feb 7, 2018 at 9:08 PM, Jay prakash 0freerunning@gmail.com wrote:
Hello Everyone,
Sorry If this is wrong Place For that kind of
Questions. My Question is How I can remove Sumit Button From My Special Pages Form. I am HTMLSelectNamespaceWithButton::class from HTML class.
As per you can see https://www.mediawiki.org/wiki/HTMLForm/tutorial3,
- *HTMLSubmitField*: Additional submit button (HTMLForm always adds
one
anyway...)
That is my problem. It is adding one Sumit Button Extra, Which is Totally Useless. How can I Remove this?
Thanks in advance _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l