Show Wizard not working

 1 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Eddie Smith
Advanced Member
Posts: 39
Advanced Member
    We have created a form wizard and want the Wizard to load automatically whenever a user accesses the custom form. We have tried to use Lawson JAVA script below, but the form wizard does not show. Are we misinterpreting Lawson's script?

    function FORM_OnInit()
    {
    oWizard=new Wizard(window, strPDL, strTKN);
    oWizard.showWizard();
    return true;
    }
    Eddie Smith
    Advanced Member
    Posts: 39
    Advanced Member
      Went to Lawson Design Studio class in MN and was able to get the answer, in case others want to know. Instead of having the Wizard load everytime, we decided to put a clickable -button on the form that would launch the form Wizard. Below is the code....

      function popupWizard(e)
      {
      portalWnd.frmDoWizard(window,strTKN);
      return true;

      }