on 2006 Jan 11 9:32 AM
Hey
Im using interactive form from Adobe to show the content of my context, but the linebreaks gets converted into spaces. Heres my scenario:
I have create a context:
Person (node)
- Name (value attribute)
- Lastname (value attribute)
I have create a view (view1) with 2 TextEdit to enter som text. This two TextEdit fields is binded to the contextnode.
I have created another view (view2) with interactive form. The interactive forms consist of 2 InputFields that is also binded to the context.
When i run the application i insert som text in the first view (view1). Then i go to the second view(view2) to display the content as a PDF. This works, but my problem is that the linebreaks I have created in the view1 gets converted into spaces in view2. I have allowd multiple lines.
My question is that:
does Adobe interactive form support linebreaks from the context? It is possible to enter linebreaks if I edit the interactive form at runtime, but I want it to display the linebreaks automaticly from the context.
Are there any way around this? Please help me out. I cant find any sap note about this issue
Hello Kristoffer,
you mention that you have set the field property to "multiple lines". However you also need to ensure that the data is encoded in XHTML instead of plain text (which is the default). To do this select the "Binding" Tab and change data format to XHTML. In the "Field" tab you should also uncheck "Allow plain text only".
Let us know if this solves your issue.
Cheers,
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know a little more about the problem now. After viewing the XML source I change the property of the inputfield.
It was like this:
<field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="ReadOnly">
but i changed the access to be nonInteractive
<field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="nonInteractive">
now view2 shows the linebreak as in view1... Buut! when im going back to view1 from view2, the linebreaks gets converted into spaces
thats pretty wierd, aint it?
User | Count |
---|---|
68 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.