nuBuilder Documentation
|
Edit Code
![]() Before OpenThis PHP code is executed when the Edit Screen loads. (Hash Variables are allowed here: see Appendix for Hash Variables)Before SaveThis PHP code is executed before the Edit Screen is saved. (This section can be used to revalidate data that may have been hacked by using browsers add-in tools)Setting an error message to $errorMessage (eg. $errorMessage = 'Something went wrong..';) will display that message in an alert box and return to the unchanged edit form without saving and data. (Other Hash Variables are also allowed here: see Appendix for Hash Variables) After SaveThis PHP code is executed when the Edit Screen record is saved. (Hash Variables are allowed here: see Appendix for Hash Variables)After DeleteThis PHP code is executed when the Edit Screen record is deleted. (Hash Variables are allowed here: see Appendix for Hash Variables)
|
Login |
||||