Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Multiple line search and replace

Apemancity
Level 2
Level 2

Hello,

I was wonder if you can do a multiple line search and replace in either the xml source or on script event?

For example search for

if( i = 1){

     a = "fixe";

replace with

if( i == 1){

     a = "fixed";

}

I have a few forms where we should have used functions and didn't and have the same code multiple times on a form and needs to be updated.

Brad

1 Accepted Solution
dcidev
Correct answer by
Level 8
Level 8

You can always save your form as XDP then open it in a text editor that can search and replace multiple lines...

Kyle

View solution in original post

1 Reply
dcidev
Correct answer by
Level 8
Level 8

You can always save your form as XDP then open it in a text editor that can search and replace multiple lines...

Kyle

View solution in original post