- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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";
Views
Replies
Total Likes