updated to the form handler to include the locking and setting of the default values for the field.