I need to check if the value of field patientid
is empty or null and print an alert.
Somehow the code below is not working:
<td width="75">Patient ID<font color="red">*</font></td>
<td width="166"><form:input path="patientid"/></td>
Could you please help me out?
<form:input path="patientid"/>
is not html.This should get you started:
Or you could try to do this: