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
BedrockMission!

Learn More

View all

Sign in to view all badges

Use javascript "replace" function in dynamic pdf created with Livecycle designer

Avatar

Avatar
Validate 1
Level 1
cindyp9252819
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
cindyp9252819
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
cindyp9252819
Level 1

07-07-2015

Hi -

I have created a multi-field pdf form that includes a button that generates an email.  The email body contains content of specified fields.  All this is working fine.  The issue is that in one of the fields, a network path is entered.  When the email is generated that information is included in the body of the email and often the resulting link is broken, because the path often contains spaces in the path name.  It seems that i can fix this issue if the empty spaces in the path are replaced by %, for example, prior to having users generate the email.

How do I create a javascript event that looks at the raw value of the field where the network path is stored and replace any blank spaces with a % sign?

Thank you so much in advance for your help!!!!

View Entire Topic

Avatar

Avatar
Validate 1
Level 4
jasotastic81
Level 4

Likes

35 likes

Total Posts

329 posts

Correct Reply

43 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
jasotastic81
Level 4

Likes

35 likes

Total Posts

329 posts

Correct Reply

43 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
jasotastic81
Level 4

07-07-2015

Here's a screenshot of the example. This is the exit event for tfFieldWithSpaces.

786623_pastedImage_0.png