fields should be enable in a particular time

fields should be enable in a particular time

Hi,
      i have a form with 3 time fields,start time end time and shift time.and i added some data into it.Another form with shift time as lookup and some other fields.if start time<shift time<end time
the forms fileds should be enable.otherwise fileds should be disable.how to achieve this