This topic is locked
[SOLVED]

 Copying Layout from Edit to Add Page Breaks Save Button

5/25/2020 7:41:52 PM
PHPRunner General questions
M
MikeB941 author

phprunner 10.3
I copied the layout from an edit page to an add page in the Designer and now the Save button no longer works on the Add page -
If required fields are omitted and the Save Button is clicked on, it catches that and highlights the required field BUT once all the required fields are entered and the Save button is clicked on, nothing happens. The record is NOT saved and the page is NOT directed to the list page (per our set up in the Pages panel). Also the Before Record Added event is not executed.
Also, the alerts about leaving a page with data changed (via a browser back or the Back to List button) work UNTIL the Save button is pressed. Then in addition to not saving the record, the user can navigate away from the add page losing all data (either using the browser back button or the Back to List button).

  • Is this a known problem?
  • Is there an easy way to restore the Save Button functionality on the Add page (without having to create a custom button) - I've also tried adding another save button through the designer but any added Save Buttons also do not work (same behavior as above)
    Thanks for your help -

M
MikeB941 author 5/25/2020



phprunner 10.3
I copied the layout from an edit page to an add page in the Designer and now the Save button no longer works on the Add page -
If required fields are omitted and the Save Button is clicked on, it catches that and highlights the required field BUT once all the required fields are entered and the Save button is clicked on, nothing happens. The record is NOT saved and the page is NOT directed to the list page (per our set up in the Pages panel). Also the Before Record Added event is not executed.
Also, the alerts about leaving a page with data changed (via a browser back or the Back to List button) work UNTIL the Save button is pressed. Then in addition to not saving the record, the user can navigate away from the add page losing all data (either using the browser back button or the Back to List button).

  • Is this a known problem?
  • Is there an easy way to restore the Save Button functionality on the Add page (without having to create a custom button) - I've also tried adding another save button through the designer but any added Save Buttons also do not work (same behavior as above)
    Thanks for your help -