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 / If windows contains Te...
Power Automate
Suggested Answer

If windows contains Text Replace Text in Textfields

(0) ShareShare
ReportReport
Posted on by 18
Hello Power Platform Expert
I need some help with this task. 
 
If I use 'If windows contains' to find 999999
 
 
I need the 999999 in all the textfields to be replaced with the current date.
I know how to get the date. I don't know yet how to tell the program to locate those specific textfields that have 999999.
Also the textfields are not always at the same exact coordinates on the screen.
Sometimes the 999999 are at the top.
How can I accomplish this?
 
Thank you in advance
  • martinaKolafova Profile Picture
    29 on at
    Hi, try changing the selectors - create a collection of text fields that meet the condition 99999 and then iterate through these fields one by one.
  • Suggested answer
    eetuRobo Profile Picture
    4,587 Super User 2026 Season 2 on at
    Is this website or an application?

    If its a website you can use "Extract data from web page" -action and extract all those Expiration Date MMDDYY fields into one table.
    Result looks something like this:


    Then use "Find or replace in data table" -action to find the rows that have the value 999999


    Result:


    Now you have the row number which you want to modify to have a date. So you can then use For each loop to go through each Row which needs to be modified.

    Then you edit the UI element which refers to the input field that you want to edit so that it always finds the row that you are looping. 
    Usually if you have a table with multiple rows then the row is Ordinal attribute.

    Bug with PAD is that it cant take variables into attributes that are number type like Ordinal is when you have Text editor toggled off.  So if you put your variable into that Ordinal Value field it will not be stored there when you hit Save:


    You need to instead toggle the Text editor ON and then insert the variable and click save:


    My simple demo flow looks like this:
  • VN-30101939-0 Profile Picture
    18 on at
    Thank you for the response!

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 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard