Adding date occurred to input forms