Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12510

Action buttons should be hidden while creating a new item for a customer request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 18.12.06
    • None
    • framework/widget
    • None

    Description

      Issue can be shown with demo data loaded.

      To add a new item to a customer request, the user will visit the following screen with custRequestId query argument set accordingly:

      https://localhost:8443/ordermgr/control/requestitem?custRequestId=9000

      While editing the field values on this screen, a menu is visible showing the following actions:

      • Edit
      • New Item
      • Create Quote from request

      If the user clicks on one of these buttons they will lose the changes they have entered into the request item fields.

      A few possible changes should be made to this screen to prevent data loss:

      • Hide the action menu when editing a request item. User should be presented with the Submit button and a cancel link.
      • Detect when changes have been made to an edit form (i.e. when the form is dirty) and get confirmation from the user when they attempt to navigate away from the page.

      This pattern of usage probably applies in lots of other areas, too.

      Possible implementation for detecting dirty forms and requesting confirmation from user - https://www.jqueryscript.net/form/alert-form-changed-dirty.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            danwatford Daniel Watford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: