Friday, April 2, 2010

How to design a tight fit with...

I'm trying to transition a Word form using Liveycycle Designer ES version 8.2. The Word format contains a paragraph style format containing several text fields scattered throughout the paragraph. The fields expand to what is entered which displays and prints nicely with no spacing issues.

However, using Livecycle the only way the form displays and prints with no spacing issues, was to separate each word after the first text field within the pargagraph as separate text. This way no matter what the length of the entry in the text field, the words that follow it will break where needed with what will fit within the margin which then displays a 'normal' paragraph style.

This was very tedious! Surely there is a better way of doing this?

I have attached one of the paragraphs to refer to. You will see that I have set a flowed subform, flow direction Western Text, Layout Auto-fit. The fields within the subform are set to Expand to fit Width.

I appreciate any help I can get.--Thanks

How to design a tight fit with...

Hi,

If I understand correctly you want to look at using floating field.?These can be inserted into a text object and will flow their contents in a paragraph as you would expect Word to.

I閳ユ獫e uploaded a sample, type a value in the contractor textbox then tab out and the value will be inserted into the paragraph below.?Note: I閳ユ獫e used xfa.layout.relayout(); just for this example, you probably want to bind the floating field to your data source so wont need this.

Bruce

How to design a tight fit with...

Hello, Bruce, thanks for getting back to me.

Your example contains an extra text field (Contractor) placed on top of the paragraph containing the text floating field. This option won't work for me because the fill-in field must be within the actual paragraph (refer to my original pdf attachment for the example).

Is there another way without adding a text field?

Thank you.

The floating field should do what you want.

Where is your data coming from, if it's a data connection you should be able to bind the floating field to an element in the data connection.

If it is from another field on the form or from some formatting script then you would need to use script as I have done.

Did you type into the text field and tab out to see the paragraph being laid out with the new value for the floating field?

Bruce

Hi Bruce,

I believe formsmanger and I are having the same problem.?We are both looking to make forms that look like the first example in the attached pdf without having to break each word into its own text block.

The first example is what formsmanger submitted and the second example is how I would like to be able to do it.?We are simply wondering if there is a way to make what I have in the second example wrap correctly to look like the first example.

The data is not coming from a datasource.?These are fillable text fields to be filled in by the user of the form.

Thanks,

~Josh

I see what you mean now but can't help you.?I have only done this sort of thing with bound data and calculated values (that is read only fields).

Bruce

You are describing an interactive fillable field which are not supported yet.

Paul

Paul, I'm really sorry to hear that. I've got a lot of forms that need this feature. Have you heard anything from Adobe concerning a timeframe that this would be supported?

Hi,

One work around is to have a series of input fields (one for each of the variables) and then concatenate these into your paragraph. You could set up a subform, whose presence is determined by a click of a button or checkbox (so that it does not take space in the form, eg like a floating window). The user would click the button, which shows the subform. The user would then fill in the fields (this would be easier for the user setting up the form, as the fields could have proper captions and tooltips). When the fields are completed, the user would click the button/checkbox, which would hide the input subform, showing the full paragraph with the variables in the right place.

Once this is complete, you could have another button to lock the form (including hiding the button/checkbox controlling the presence of the iput subform).

Just a thought,

N.

I cannot comment on what is coming .....Niall's example is how we get around the limitation today.

Paul

No comments:

Post a Comment