Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Text Field within text block?

Avatar

Level 1

Hi,

I've built a number of very basic forms in LiveCycle so I've not run into this problem before.  However I've been recently asked to create a "MSWord-like" form in PDF that has text entry fields within a paragraph of text.  Basically it's a contract type letter with a bunch of legalaese that says Herein the undersigned otherwise known as...etc etc.  and the user needs to fill in the blanks.

I'm stumped as to how to do this.  I understand that a floating field would accomplish this if the user entered the information elsewhere on the form, however it doesn't have the desired effect of having the user enter the data for the form at the place in the paragraph where that information occurs.

Here's an example (totally made up) of what I'm trying to accomplish:

Hi my name is {full name} and I'm trying really really hard to figure out how to get LiveCycle to do what MS Word can do in terms of putting a field in-line with static text.  Which is really {negative emotion} because Word isn't really all that good at form building.  How is it that it can do something that Adobe can't?

So, in the above (lame) example, the user would type in their full name and then emotion when they come to it int he paragraph. Obviously the text trailing each field would shift to accommodate (again, like MS Word fields do).  This (according to those who want me to make this) will ensure that the user reads the whole form before getting to the bottom where there will be a signature field.

If anyone can help me out here I'd really appreciate it.  I've googled the crap out of this and all I come up with is floating fields and as I said before that isn't quite it.

Thanks.!

4 Replies

Avatar

Level 7

There may be a better way to do this but something which would work is to use a textfield and variables. So your textfield would have a formReady value of something like (in formcalc):

$ = Concat("Hi my name is ", nameVariable," and I'm trying...")

You would make a form Variable called nameVariable with a default value of name.

Then in the enter event of the textfield you would put something like:

if (nameVariable == "name") then

nameVariable = xfa.host.response("What is your full name?")

endif

$ = Concat("Hi my name is ", nameVariable," and I'm trying...")

That would then update the text with the response they give in the pop-up box.

Avatar

Level 1

Hi whyisthisme,

I see what you're saying, but I think like just using the floating field, this method would remove the user from the actual document. 


Unfortunately, for now at least, it looks like I'm going to have to go back to Word for this kind of form.

Avatar

Level 1

Thanks Jono.

Pretty amazed what John Brinkman did to create a workaround to this problem.  It's a crying shame that Adobe hasn't actually gotten the message that this should just be a built-in feature.  Sounds like I'm one in a very long line of users who have inquired about it.

Anyway, thanks for the link, I'm going to try to employ this method and see where it gets me.  I think might also write a letter to Adobe directly.