I was unable to find this documented, hope it helps. I have applied to INSERT/SAVE buttons here but could be extended easily to other buttons. These are in the tablename_init hook.
Change button label
$Translation['Add New'] = 'Submit New Registration Request';
$Translation['Save New'] = 'Save Registration Request';
Change insert message
$Translation['new record saved'] = "Your request has been submitted. You will be contacted with details.";
Change redirect after insert
$options->RedirectAfterInsert = 'Thank_you.php'; // some other page
I also highly recommend using Jan's App Helper library for adding new buttons.
Got something cool to share with AppGini users? Feel free to post it here!
1 post • Page 1 of 1