creating a variable for required
adding datetime picker widget