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#ad378...
-- 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