Answer the question
In order to leave comments, you need to log in
CFormOutput::ShowSubmitButton: Bitrix method. Is it possible to change the source code so that the name of the submit button can be changed?
I just have two identical forms in the header and on the page, both with Ajax. The network advises to assign different names to submits to avoid problems.
The source code of the method is here bxapi.ru/src/?module_id=form&name=CFormOutput::Sho...
Answer the question
In order to leave comments, you need to log in
Such a self =)
php.net/manual/ru/function.classkit-method-redefine.php
First, you can inherit the class and override the method.
secondly, judging by the code, it is enough to pass $caption to the function when it comes to value.
thirdly, it's just a wrapper over one tag, you can display your own html bypassing the form class.
problems can only be from the curvature of the hands of the developer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question