Hot answers tagged


There really isn't a good way to do this. Your best bet is parsing the already generated HTML and making a replacement there. For the component this can be done using onAfterDispatch event. Below is a basic example that adds enctype attribute to all component forms with item-form ID. Regex can probably be optimized and maybe a check should be added to ...

Only top voted, non community-wiki answers of a minimum length are eligible