if (First time user input)

if (First time user input)

Is there a way to only execute a function if a user has not inputted into a field?  For example, I have  a form with a Start_Time and End_Time.  I would like that if "On Edit", the End_Time will be set to now, but only if it has not been previously inputted by a user.