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

Calculation in Floating Field adds unwanted line feed

Avatar

Avatar
Validate 1
Level 1
rgfischerjr
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
rgfischerjr
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

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

21-05-2015

Using Livecycle Designer ES4  w/ Javascript

I have a numeric field PurchasePrice and a Floating Field DepositAmt that is calculated using this.rawValue = PurchasePrice.rawValue * .3;

In Design View, the line that includes DepositAmt looks like this:

  •     30% or {DepositAmt} with this signed agreement as a deposit;

In Preview the line looks like this:

  • 30% or

        with this signed agreement as a deposit;

And after a number is entered into PurchasePrice it looks like this:

  • 30% or $1,000.00

     with this signed agreement as a deposit;

I have other lines with "30% to include..." and no return is added.

I have deleted the line and retyped it

I have deleted the Floating Field and recreated it

I have tried FormCalc with the same result

Thanks in advance for any assistance!

R

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 3
Level 1
jsanborn58
Level 1

Likes

3 likes

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Boost 3
Level 1
jsanborn58
Level 1

Likes

3 likes

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Boost 3
Boost 1
Affirm 1
View profile
jsanborn58
Level 1

22-05-2015

I have had assorted issues with floating fields, mainly with extra spaces being placed before and after a currency field. For example, I had an extra space between the floating field and punctuation that immediately followed.

If you select the field type as "Numeric Field", then set the pattern to the following, it should help. Be sure to take out the spaces before and after the floating field, as you are adding them to the pattern.

     30% or{DepositAmt}with this signed agreement as a deposit

     num{('$zzz,zzz,zzz,zzz,zz9.99' ')}

Answers (2)

Answers (2)

Avatar

Avatar
Validate 10
Level 3
SI_MSD7
Level 3

Likes

17 likes

Total Posts

220 posts

Correct Reply

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

Avatar
Validate 10
Level 3
SI_MSD7
Level 3

Likes

17 likes

Total Posts

220 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
SI_MSD7
Level 3

17-05-2017

I'm having the same issue with floating fields adding extra spaces before and after the currency. The issue is that I need to show parenthesis before & after the currency so the extra spaces are problematic.

I'm getting something like ( $95,000 ) instead of ($95,000). Or if I end a sentence with a currency floating field, I get a space just before the punctuation. So something like: "...the cost for the trip is $325.00 !")

Is there a fix to this issue? It only happens with numeric floating fields for some reason.

Avatar

Avatar
Level 1
christopherf635
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
christopherf635
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile
christopherf635
Level 1

27-05-2015

rgfischerjr,

If this worked, you should mark this answer as correct....