Skip to Content
avatar image
Former Member

Assigning text's value with floating field to other text


I have an issue with floating fields.

I need dynamic appearence of different texts within a text field. This could be easily achieved by using floating fields which contains those different possible texts.

But if I try to assign (using script) different text which also contains floating fields to this floating field (or even other static text field) then values of floating fields are lost.

For simplified example:

FloatingField = "this example"

StaticText1 = "Test {FloatingField}"

StaticText = " "

FormCalc Script for StaticText in INITALIZE part:

StaticText = StaticText1

StaticText recieves just static value from field StaticText1 loosing value of floating field, i.e., StaticText = "Test ".

Is there a way not to loose value of floating field? ...and to get StaticText = "Test this example".

Best regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 07, 2014 at 10:13 AM

    Hi Former Member,

    Try this:-

    StaticText.rawValue =  StaticText1.rawValue + FloatingField.rawValue;

    I hope it will work.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Amit,

      Thank you for answer! Such approach is usable just for this simplified example. But your suggestion does not help to hande this issue if I will give you such example:

      StaticText1 = "Test {FloatingField} carefully"

      Best regards,