**Scenario :**

* I have a table containing input fields and the number of input fields are not fixed, it can any number as the table is being rendered everytime based on what data user wants from the database.
* So, every the table is rendered,each row of table has 5 input fields
as :

> 
> 
> ```
>      <input name="t-1">
>      <input name="r-1">
>      <input name="q-1">
>      <input name="s-1">
>      <input name="p-1">
> 
> ```
> 
>
* The next row of table has again 5 input fields simliar to first row but the count number in the name for each input filed is incremented by 1.

> 
> 
> ```
>     <input name="t-2">
>     <input name="r-2">
>     <input name="q-2">
>     <input name="s-2">
>     <input name="p-2">
> 
> ```
> 
>

So for each row , the count number is incremented by 1 as per row number.
The user can modify and post the table to update database.

**Todo :**

* I want to retrieve values of all these input fields while the form table is posted for updation. 

**Is there any easy way to achieve this ?**

Please suggest.  
Thank You.