"description": "Output (ml)",
"type": "integer"
},
- "io_duration": {
- "description": "Intake Output Duration (hour)",
- "type": "integer"
+ "io_from": {
+ "description": "I/O Since",
+ "type": "time"
+ },
+ "io_to": {
+ "description": "I/O Upto",
+ "type": "time"
},
"stool": {
"description": "Times stool passed",
$("#upload-error").text("");
}
});
- $("[name='date']").each(function(){
+ $("[type='date']").each(function(){
if($(this).val()==""){
$(this).val(moment().format("YYYY-MM-DD"));
}
});
- $("[name='time']").each(function(){
+ $("[type='time']").each(function(){
if($(this).val()==""){
$(this).val(moment().format("HH:mm"));
}