0 Replies Latest reply on Jan 16, 2015 12:40 PM by baconrhae

    How can I auto-number particular rows in a table?

    baconrhae

      I have a table within a dynamic form.  In column 2 there is a drop-down where the user can pick a certain reagent.  I would like to set it up so that column 1 auto-populates with a series of numbers when certain reagents are chosen.  It needs to be an action/formula as the rows are added as needed to the form.

       

      For example:

       

      Reagent
      1Bottle
      2Bottle
      Can
      Paper
      3Bottle

       

      Can anyone help me out with a script or other way to accomplish this?

       

      Also, I'm relatively new to LiveCycle and although I have some limited scripting experience, I haven't applied it here yet - so I may need a little extra instruction on how to apply any script fixes...