This document describes the template & patterns for a “Edit Item” page in PASIprep for the PASIprep Page Layout Guidelines.
An “Edit Item” page's main function is to allow user to edit an existing instance of a Business Object.
The Page title of an Edit Item page should generally take the format of “Edit XXXXXX”. It should describe the type of data/Business Object the user is currently editing. If the record is linked to a student, the Student Identifier Subtitle should be present to identify the student.
Save and Cancel should generally be available in the Actions Toolbox for most edit screens.
The browser title should match the Page Title.
The Navigation Between Bulk List of Items and Individual Item View guidelines documents how user will generally enter this screen and where they would be redirected to when they Save or Cancel out of this Edit operation.
When the user leaves the Edit page with unsaved changes, they will be prompted to confirm they wish to leave without saving. The standard web browser/javascript confirmation dialog used for unloading/reloading pages is used for this purpose. The warning should not be shown when no changes have been made.
When saving a record, rule 9023 (Empty Update) should not be shown, and the user should be navigated in the same way that they would be in the regular success case.
If the record the user is viewing has associated Work Items that are not Acknowledged or Overridden then they should be presented as PASIprep Work Item Cards above the main form.
The form contains the Data Elements for the business Object, presented as a PASIprep Field Value List / Form on screen. Field/Values may be a mix of read-only and editable fields, depending on what the user is allowed to edit.
If user loads the Edit Page for a record that has been deleted (e.g. by bookmarking the page and returning to the page after the record is deleted), then a 404 error page (PASIprep Error Page Template) should be shown to prevent user from editing a deleted record.