Skip navigation
Currently Being Moderated

Multiple dynamic tables in a form

Apr 19, 2012 1:16 PM

Tags: #dynamic #tables #livecycle_designer

I've been reading the forums a lot lately, trying to teach myself A LCD 8.

I found where I can add a row dynamically in a table by using

 

Table1._Row1.addInstance(true);

 

and it's working well.  I would like to have several of these type of tables on my form and I can't seem to get the others to work.  I'm working on a 7 page form for an insurance application, so it's a bit tedious for a beginner!

 

I tried using Table5._Row1.addinstance(true);

I also tried using form1.SecondPage.Table5._Row1.addinstance(true);

and neither are working.

 

Can someone point me in the right direction please?

 

I'd also like to put tabs, or buttons at the top of the form to push and go to another page in the form instead of having to scroll.  Is this something easy to do?

 

One more thing, is there a way to have the top part of a form static, and then just switch the bottom part to the different forms?  I was able to do this in Dreamweaver using divisions, but haven't quite figured that out yet in LiveCycle.

 

Thanks so much for any answers, I really appreciate the help.

 

Gretchen

 
Replies
  • Currently Being Moderated
    Apr 20, 2012 1:16 AM   in reply to gretchenhs42

    Hi,

     

    First make sure that the Row1 in Table5 is set to Repeat in the Object > Binding palette. Your script looks good, but if the object is not set to repeat, then the script will fail silently.

     

    If you have a look in the Custom Object Library, you will see a Page Navigation object. This is a collection of buttons (with script) that will allow the user to move between pages.

     

    Another option to allow a user to access different parts of a form is to use an Index button. There is an example here: http://assure.ly/h4sIcQ.

     

    If you put the top part of the form onto the Master Page, then it will be visible for all design pages.

     

    Hope that helps,

     

    Niall

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points