dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #13859
DHIS2- Giving class To data Element in source code of dataset
Source Code: (Data Set )
While Creating a Dataset i given the dataelements to create a dataset and
in source code i have added a class to input field of dataelement to apply
css affect on that dataelement.
After that css is applied But DataELement not working like a default
dataelement.
Means it can't save the value.
or shown green field when data is enter in dataelement.
When i remove that class from dataelement input field. It work properly.
Saving the data. and show green color to field.
How I use class/style to dataelement so that it maintain its functionality
Also ??
<table>
<tr>
<td> </td>
<td class="text-center"> </td>
<td class="text-center"> </td>
<td><input class="form-control" id="EIaewXOK4p3-HllvX50cXC0-val"
name="entryfield" title="5 Date of Visit" value="[ 5 Date of Visit ]"
/></td>
<td><input class="form-control" id="rRM6XNQkad8-HllvX50cXC0-val"
name="entryfield" title="4 Organization" value="[ 4 Organization ]" /></td>
<td><input class="form-control" id="qfesvAfjndJ-HllvX50cXC0-val"
name="entryfield" title="3 Name of trainings" value="[ 3 Name of trainings
]" /></td>
<td><input class="form-control" id="fNAydvgh37h-HllvX50cXC0-val"
name="entryfield" title="3 Organization" value="[ 3 Organization ]" /></td>
</tr>
</table>
Follow ups