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,