web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Fill multiline form wi...
Power Automate
Answered

Fill multiline form with repeating HTML structure without unique identifier

(0) ShareShare
ReportReport
Posted on by 13

I have a web from that i need to be filled automatically.

Within the form, i need to add some Filenames and URL´s into a Table. In the HTML code you can see that the fields have the same recurring names.

 

I need to fill in multiple lines with different values. However, PAD is always filling the first line, replacing the previous text when using a for each loop. I could maybe use the Key Input in Combiation with TAB, but i hope that there is an more elegant way.

 

I was expecting that more users do have issues with such forms, but could not find anything in the search.

Does anyone have an idea how I could solve this?

  • StevetheBeef Profile Picture
    13 on at

    Some images to make it more clear

     

    web view.pnghtml view.png

  • tkuehara Profile Picture
    667 on at

    Hi @StevetheBeef 

     

    As you are using For Each loop, you'll need to:

    1. Use a variable for index control
    2. Change the selector to a dynamic one

    Step 1: create the variable and increase it each loop

    tkuehara_0-1626090523646.png

    Step 2: change the selector by manually editing it. In my example, I used the following since I do not have different rows

    tkuehara_1-1626090667209.png

    In your case, I see that each input element lies in a different row, thus your selector should be something like this:

    tr:eq(%i%) > td[class="file_name"] > input[type="text"]

     

  • Verified answer
    StevetheBeef Profile Picture
    13 on at

    Thank you so much! Struggled with this for days and finally the solution is that easy 🙂 Thanks

  • tkuehara Profile Picture
    667 on at

    Glad to help! See ya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard