Comment to Form Templates (custom classes for inputs)
-
Thanks for the help! I am doing it in my own module so it won't block any updates :)
One more question - Inside serviceLoginForm, it looks like most of the code I want to modify comes from:
$sFormCode = $oForm->getCode();
($oForm is this: $oForm = BxDolForm::getObjectInstance('sys_login', 'sys_login');)
Which seems to be the default way code is generated for any form. If I want to generate the elements differently for the login form, how can I do that?
-
You can do it via Studio->Forms app in the first zoom. No need to change smth in the form classes. Also, look at this manual forms here https://github.com/unaio/una/wiki/Dev-Forms
-