Problem

While using form templates, often there could be requirements wherein there are long paragraph texts and some binding of fields is required within those texts. 

For example, in case a form is meant for writing a letter, there may often be a requirement to bind a name in the continuous paragraph text. An example is shown below

Dear XYZ,

With reference to our letter dated <date1>, we would like to remind you that the payment of Amount XXX is pending at your end. Kindly clear the payment, latest by <date2>.

Kind Regards,
ABC

 

In this example, the fields indicated by “XYZ”, “<date1>”, “XXX”, “<date2>” and “ABC” are dynamic which will need to be bound to some data. Ideally, you would want to have this text bound without having to compromise on the aesthetics to provide a continuous appearance on the letter.

 

Solution

The adobe livecycle desiner offers something known as “Floating fields” which help realize this requirement. While the entire long text will as such be inserted in a text object, floating fields can be inserted within the text object. Floating fields support merging of text, numeric values, date values and scripting within the text objects.

 

Below is how you can insert floating fields in a form.

 

1)     Open the form template in which you want to insert the floating fields in Adobe Livecycle designer

2)     Choose the text object in which you want to insert the text field. Place the cursor at the position where you want to insert the field and then select “Insert à Floating field”

 

 

3)     The system will place a text field marked by “{“ and “}”. You can bind this field to a relevant data

value as appropriate based on your requirement.

 

 

 

Conclusion

The above procedure demonstrates in a simple way how floating fields can be used on the adobe form templates in S/4HANA cloud. A standard form for balance confirmation was copied and modified in the above example but you can do this on any of the forms wherein you may have such a requirement.