How to call related pages

Author
Messages
Terry P
Veteran Member
Posts: 234
Veteran Member

    If I want to automatically call a "related page" using javascript, how is that done? I've gone thru the Objects Viewer and can't figure it out.

    Example: on AP20 when a user is on the "Main Page", I want to switch to the "Options Page" without the user having to do it. I tried doing a "position in field", to a field on that page - but that did not work.

    Any suggestions to point me in the right direction?

    TracyO
    Veteran Member
    Posts: 97
    Veteran Member

      If the user was already on the tab that held the field I was postioning to it would work, but if they were on a different tab it would not work.  I brought my issue the labe Lawson CUE 07. At that time they decided it was a problem in the system, but gave me a work around that seems to work, so I did not pursue it any further with them.  Here is what I have on my AP10 DS form: 

       lawFormObj.setActiveTab ("Contact");
              lawForm.positionInFieldById("text19");

      Hope this helps

       

      brainet
      Basic Member
      Posts: 18
      Basic Member
        I need to set the tab position on the AP20 screen also. The lawForm.setActiveTab("Payment") did not work but when I used lawForm.setActiveTab("TF0-2"), it worked great. I had to look at the mxl source to find the tab number.
        ---