Hello Makhate,
Couple things!
So first of all, *if* the CSS is for the custom form and the custom form
only, putting them in the source tab like you described *should* work, but
it can be finicky, as DHIS 2 does alter the HTML as it is being displayed.
Best figure out what works in the chrome
Did you have a look at our developer documentation on the use of custom
CSS/JS?
https://docs.dhis2.org/master/en/developer/html/webapi_ui_customization.html
This should also work for inline JS in the form.
On Wed, Feb 7, 2018 at 6:38 AM, Makhate Makhate
Hi Makhate,
It maybe possible to use files but I used to paste Javascript code in the
Source window at the custom form editor, following this link
https://docs.dhis2.org/master/en/user/html/database_design.html#d0e36608
see the section *30.5.3.1.2. Custom Forms.*
Best
*Diao*
30.5.3.1.2. Custom
3 matches
Mail list logo