Fillable template with dynamic tables?

Fillable template with dynamic tables?

Is there a way to build a fillable template so that users can add rows to a table? To describe what I'm trying to accomplish the table has 3 sections; a header row, some number of rows with custom information, and a summary row with totals. I can't figure out how to do the middle part so the person filling out the form can set the number of rows.