function
FORM_OnInit()
{
/*
Required Fields (as retrieved from Fiddler):
_f2 LEL-COMPANY sz=4
_f4 LEL-EMPLOYEE sz=9
_f7 LEL-SEQ-NBR sz=4
*/
var
argCompany = portalWnd.getVarFromString(
"LEL-COMPANY"
, portalWnd.document.location);
argEmployee = portalWnd.getVarFromString(
"LEL-EMPLOYEE"
argSeqNum = portalWnd.getVarFromString(
"LEL-SEQ-NBR"
//
if
(argCompany !=
""
&& argEmployee !=
&& argSeqNum !=
)
lawForm.setDataValue(
, argCompany);
, argEmployee);
, argSeqNum);
lawformDoFunction(
"I"
);
}
Posted By Craig Derksen on 10/03/2011 08:26 AM Please note that the code above came over kind of wacky. In the "if" block, the Javascript "ands" were escaped instead of literals. I apologize if this is beating people over the head with the obvious but I know how tempting it can be to Copy and Paste... Thanks for your advice!