Richard -- thank you for this code. I am also using gravity perks "populate anything" plugin on my form. I'd like to dynamically alter the button event click details based on the value chosen in a previous field.
Basically I have several rows of data entry fields and want to have an EDIT button for each row. The form user manually enters an ID in the first field of each row. The perks code allows me to dynamically populate the next input[type=text] field in the row with some data based on the id# entered in first input[type=text] field. I'd like something similar for the button field.
Would you happen to have any guidance for me on how to do this?