Skip to Content
Author's profile photo Former Member

Using floating field in Adobe Forms to display text paragraph with dynamic variables in between

I have faced some situation where I have to display some text paragraph where in between the text, there are some variables to display. But the length of these variables change dynamically. So adjusting the space for these variables in between the static text became problem as they are leaving empty space when the value of the variable is small or its getting truncated if the space allocated for that variable is not sufficient.

Eg: I have to display the below sentence in my adobe form.

Employee v_empname has worked in v_company_code from v_fromdate to v_todate as v_designation designation in v_department department.

In the above sentence, the words starting with “v_” are variables\employee details.

If the data in variable exceeds the allocated space for that variable, it will get truncated or if the value is small, it leaves out empty space in between. To resolve this, I have used floating field to display dynamic variables.


Drag and drop a text field into layout and use floating fields in place of all the variables in above statement and bind these variables with the required variable from DataView..  


Thanks and Regards,

Mahidhar Suggala.

Assigned tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Thanks Mahidhar..

      This Article very useful to me.


      Subba reddy

      Author's profile photo David Planansky
      David Planansky

      Hi Mahidhar,

      I would like to ask you about floating field and alternate function.

      My request to do is to create dynamic document title (language dependent), e.g.:

      - if delivery type LF - title is "Delivery note xxxx" where xxxx is document number

      - if delivery type NL - title is ......

      For this purpose I created text modules for each delivery type and put it in "ALTERNATE" in Context tab. So according to the condition, proper title is picked up. It works perfectly. But if I would like to combine it with floating field I fail. To floating field is only possible to put one knot from ALTERNATE, not whole group.

      Do you have any idea, how to solve it?



      P.S. This tiny tutorial is perfect and I have other issue to fix with this. Thank you.