script to display active portal row
I have a portal with rows of data, and would like to include a button in each row that pulls the information from that row (and elsewhere on the layout) and displays it on another layout. For example:
MONEY TOM IS DUE
[Portal Row 1] $20 <button>
[Portal Row 2] $15 <button>
When I press <button> in Portal Row 2 I would like to go to another layout that copies (I think I need to copy the information because I then want to do calculations on them) that information into new analogous fields, and is displayed like:
MONEY TOM HAS BEEN PAID TODAY
Does this make sense? Any suggestions?