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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / If windows contains Te...
Power Automate
Unanswered

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,204 Super User 2025 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard