Dispatch an event when create the form options