New Action Button

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
angus
Veteran Member
Posts: 128
Joined: 2020-05-28 22:27

New Action Button

Post by angus » 2023-01-19 16:00

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'
AppGini 22.13

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: New Action Button

Post by pbottcher » 2023-01-19 20:49

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.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

Post Reply