MSS-required fields

Sort:
You are not authorized to post a reply.
Author
Messages
thanef
Veteran Member
Posts: 47
Veteran Member

    In MSS on the personnel action change page, is there a way to make the Reason codes required?  Currently you can submit an action without selecting something from that pull down box.  I'm on 9.0 apps and environment.

    Jay Riddle
    Veteran Member
    Posts: 191
    Veteran Member
      Yes you will need to edit some files under ....\lawson\xhrnet\personnelactions

      I was just quickly looking but I think possibly in pactions.htm in function continueClicked() you would add something like...

      f (self.main.document.getElementById("reasonSelect1").selectedIndex <= 0) {
      setRequiredField(self.main.document.getElementById("reasonSelect"));
      alert("Reason field is required");
      return;
      } else {
      arr = self.main.document.getElementById("reasonSelect1");
      i = self.main.document.getElementById("reasonSelect1").selectedIndex;
      strReason = arr.value; //JayR I want the code value here.
      }
      You are not authorized to post a reply.