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

Implement dependency from "State/Province" Field to "Country" in New Employee Form

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Release Branch 17.12, Trunk
    • 17.12.01
    • humanres
    • None

    Description

      In OFBiz go to Facility -> Contact Information -> New Contact Information
      Select "Postal Address" in the dropdown and click "create". In this form the "State/Province" dropdown is dependant on the "Country" dropdown. Once a country is selected the States of that country will be in the selection of the first dropdown. This behaviour should be part of every form which has an address as an input. The dropdown dependencies are realized with the getDependentDropdownValues function in miscAjaxFunctions.js.

      A place where this functionality is missing is in the HR section of OFBiz. Got to HR -> Employees -> New Employee (https://localhost:8443/humanres/control/NewEmployee)
      Here, the "State" dropdown lists ALL states which are listed in the geo entity. It would be nice to implement dependant dropdowns here aswell.

      Attachments

        Activity

          People

            mbrohl Michael Brohl
            bjugl Benjamin Jugl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: