# Working with for loop

**URL:** <https://forum.uipath.com/t/working-with-for-loop/556965>\
**Category:** Studio\
**Tags:** system, activities\
**Created:** [June 23, 2023, 2:53pm UTC](https://forum.uipath.com/t/working-with-for-loop/556965 "2023-06-23T14:53:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![imumeriqbal](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@imumeriqbal](https://forum.uipath.com/u/imumeriqbal)\
**Post date:** [June 23, 2023, 2:53pm UTC](https://forum.uipath.com/t/working-with-for-loop/556965/1 "2023-06-23T14:53:18Z")

</div>

I want to get input from user and update timesheet from Monday to Friday AND store data like you can see picture with loop  
can someone guide

 ![oo](https://global.discourse-cdn.com/uipath/original/4X/8/9/c/89cec28a8c2ae31dc0ddcdcb47e752d5752033bb.png)  
me

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [June 23, 2023, 4:19pm UTC](https://forum.uipath.com/t/working-with-for-loop/556965/2 "2023-06-23T16:19:41Z")

</div>

@imumeriqbal

You can first use get attribute to find the required row and column using the innertext property for both row and column

for col - use Mon 6/19 and for row tablerow=‘1’ or the innertext if that is unique

cheers

---

<div class="post-metadata">

**Author:** ![postwick](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/postwick/32/227083_2.png) [@postwick](https://forum.uipath.com/u/postwick)\
**Post date:** [June 23, 2023, 4:37pm UTC](https://forum.uipath.com/t/working-with-for-loop/556965/3 "2023-06-23T16:37:24Z")

</div>

Why not pass a datatable to a UiPath form and let them enter it all directly in table form?

---

<div class="post-metadata">

**Author:** ![imumeriqbal](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@imumeriqbal](https://forum.uipath.com/u/imumeriqbal)\
**Post date:** [June 23, 2023, 4:40pm UTC](https://forum.uipath.com/t/working-with-for-loop/556965/4 "2023-06-23T16:40:36Z")

</div>

can you explain little bit please

what i want to do  
i want to get input from user 5 time  
and store in this web table

---

<div class="post-metadata">

**Author:** ![postwick](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/postwick/32/227083_2.png) [@postwick](https://forum.uipath.com/u/postwick)\
**Post date:** [June 23, 2023, 4:43pm UTC](https://forum.uipath.com/t/working-with-for-loop/556965/5 "2023-06-23T16:43:12Z")

</div>

You don’t need to get it 5 times. You can use the Create Form activity, pass in a datatable, present the datatable to them on the form, and when they submit it now your datatable has all the data which you can then use to put into the web form.
