Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Add row under current row -- or move instance? LiveCycle Designer form

$
0
0

I have a table with add and remove instances coded into buttons. Remove is working well -- I have it set to remove the instance of the row the button is on, not the last row of the table.

 

I need to have the add button add a row under the current row -- not to the bottom of the table. I've seen discussions about move up and move down buttons, but I cannot figure out the JavaScript.

 

Hierarchy

Form1

     Pageonesubform

          Descriptiontablesubform

               Descriptiontable

                    Descriptiontableheaderrow

                    Descriptiontablerepeatrow

                         Numericfield

                         Checkbox

                         Descriptionofwork

                         Addremovesubform

                              Addbutton

                              Deletebutton

                    Descriptiontablefooterrow

 

Thoughts?

 

Do the move up and down buttons go in the subform with the add/delete buttons?

Do they need to be in their own subform?

Does the Descriptiontablerepeatrow need to be in a subform to move up and down?

What would the code be for that hierarchy?

 

Thanks -- I'm very novice at LiveCycle Designer and completely ignorant of JavaScript.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>