PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05/03/2016 10:23 AM by  brainet
How to call related pages
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Terry P
Private
Private
Veteran Member
(612 points)
Veteran Member
Posts:234


Send Message:

--
04/08/2008 6:18 PM

    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
    Private
    Private
    Veteran Member
    (253 points)
    Veteran Member
    Posts:95


    Send Message:

    --
    04/09/2008 2:07 PM

    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
    Private
    Private
    Basic Member
    (48 points)
    Basic Member
    Posts:18


    Send Message:

    --
    05/03/2016 10:23 AM
    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.
    You are not authorized to post a reply.