Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Add expanding field to paragraph

Yvette_s_Channe
Level 2
Level 2

I have a letter that I am creating in Livecycle.  I want the user to be able type there answers i.e.

I will (enter name) be able to attend the following meetings.  The (type meeting title) on (enter date) and my party will consist of (type the number of persons attending).  Inside the brackets I would like an expanding field, so that the paragraph looks just like a letter.  Is there a way of placing expanding fields?

Thank you in advance,

Ife

3 Replies
lateniteNC
Level 4
Level 4

I have created customized policies which are comprised of standardized text combined with unique user input. You use the "concat" function in FormCalc to put the two together. On page 2 I layout the policy with text fields. I used the calculate function of the field to perform the concatenation function. On page 3, I build text strings (the standardized language.

In the text fields on page 2, I combine the user input from page 1 with the standard text on hidden page 3. You do this by putting something like this in the text field's calculate event:

Concat(Page1.TextField1Name," ",Page3.TextString1," ",form1.Page1.TextField2Name,"."," ",.Page3.TextString2," ",Page1.TextField3Name," ")


etc. Notice the " " embedded in the formula - this will create a space between fields so it looks like a normal paragraph. You can insert a sentence period as well. Substitute your field names accordingly.


I place a checkbox on Page 1 to generate the policy, which is done by nothing more complicated than switching the second page's presence from hidden to visible (or back to hidden (place this JavaScript in the checkbox change event:

     if (this.rawValue == "1")

         Page2.presence = "visible";

     else

         Page2.presence = "hidden";

Yvette_s_Channe
Level 2
Level 2

Thank you for your response.  Can you send me a sample form?

Yvette

lateniteNC
Level 4
Level 4

I do not have a way to send a sample without your e-mail. But here is a link to a form I created for a client discussed in my response above. I'd be happy to discuss this further if you need additional assistance.

Link:

 

https://www.dropbox.com/s/u3550le4tuh15nd/Title%20VI%20Notice%20Form.pdf?dl=0