Page 1 of 1

New Action Button

Posted: 2023-01-19 16:00
by angus
Hi Everyone, is it possible to add a new action button at the side, similar to the 'Save Changes' button.

I want it to save the changes to the form but also update a field to 'Ready'

Re: New Action Button

Posted: 2023-01-19 20:49
by pbottcher
Hi,

as far as I know, for new entries the button labels "Save New", if you edit an existing record the button text changes to "Save Changes".
Not sure what else you would need. If you need to update a field on the "save change" action you can use the _before_update or _after_update function within the hook.