Set the form values in the definition_after_data function rather than the constructor