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
I have the same question (0)
  • 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,522 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard