Re: [Dhis2-devs] [Dhis2-users] Dataset Custom Forms (CSS & JS)

2018-02-07 Thread Timothy Harding
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

Re: [Dhis2-devs] [Dhis2-users] Dataset Custom Forms (CSS & JS)

2018-02-06 Thread Jason Pickering
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

Re: [Dhis2-devs] [Dhis2-users] Dataset Custom Forms (CSS & JS)

2018-02-06 Thread Mamadou Diao Diallo
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