Added Red * to required fields, fixed blank form dates not erroring out because of not being null, current defaults to 0000-00-00 if blank

This commit is contained in:
johnny@pittpc.com
2019-07-27 19:58:59 -04:00
parent 6a83e960f6
commit 56f839809a
65 changed files with 254 additions and 238 deletions

View File

@@ -11,11 +11,11 @@
<input type="hidden" name="note_id" value="<?php echo $note_id; ?>">
<div class="modal-body bg-white">
<div class="form-group">
<label>Subject</label>
<input type="text" class="form-control" name="subject" value="<?php echo $note_subject; ?>" required>
<label>Subject <strong class="text-danger">*</strong></label>
<input type="text" class="form-control" name="subject" value="<?php echo $note_subject; ?>" placeholder="Subject" required>
</div>
<div class="form-group">
<label>Note</label>
<label>Note <strong class="text-danger">*</strong></label>
<textarea rows="8" class="form-control" id="editClientNote" name="note"><?php echo $note_body; ?></textarea>
</div>
</div>