Changes for page Form Builder

Last modified by Sachin Patil on 2024/08/30 07:28

From version 21.9
edited by Sachin Patil
on 2024/08/30 07:08
Change comment: There is no comment for this version
To version 16.1
edited by rijo
on 2022/12/07 07:21
Change comment: introduced heading for the Extra Script/Style sample code; introduced sample code for hidding options in form

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Form Builder
1 +Copy of New Form Builder
Parent
... ... @@ -1,1 +1,0 @@
1 -ONEcount Customer Documentation
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.sachin
1 +XWiki.rijo
Content
... ... @@ -1,12 +2,21 @@
1 -The Form Builder tool allows you to create, edit, delete, and manage forms and pop-ups in a WYSIWYG way. Creating a form is as simple as defining basic form information, choosing which questions/fields will be included on the form, selecting which products and/or packages you want included in the form, and then designing the look and feel. You can also add a thank-you e-mail and message to your form.  When a user completes and submits a form, all of the demographic and transaction information from the form is saved in the ONEcount database, and any transactions that are captured by the form are immediately stored in the ONEcount database.
2 2  
3 -What is unique about the ONEcount Form Builder is that questions, products and packages are not defined in the form, but elsewhere in the ONEcount system. This allows your organization to have some level of control over the information and data collected by the forms, while allowing any qualified user to build and edit forms. The presentation layer–the form–is separated from the data layer, meaning your web designer can't change field options or the business logic behind your products and packages.
2 +The Forms tool allows you to create, edit, delete, and manage forms and questions. Creating a form is as simple as defining basic form information, choosing which questions/fields will be included on the form, selecting which products and/or packages, designing the look and feel, and dragging in questions and other elements onto the Forms webpage using an easy to use WYSIWYG editor. When a user completes and submits a form, all of the demographic and transaction information from the form is saved in the ONEcount database.
4 4  
5 -**Questions are shared among ALL forms, so any changes made to question type, text, responses, alias, report header (See Question Builder - Create and Manage Questions for more detail) will change ALL forms, not just the form you are working on. Deleting a question will remove that question from ALL forms as well. **
4 +\\
6 6  
7 -**Changes made to form information, form layout, order of questions, and optional validations are form-specific and will NOT universally change forms; these changes will be applied only to the form you are working on.**
6 +\\
8 8  
8 +When a user completes and submits a form, all of the information gathered from the form is entered into the ONEcount database. Plan forms carefully to ensure that you include questions and possible responses that will provide you with all the data you wish to collect from subscribers/purchasers.
9 9  
10 +\\
11 +
12 +\\
13 +
14 +**Questions are shared among ALL forms, so any changes made to question type, text, responses, alias, report header (See Question Builder - Create and Manage Questions for more detail) will change ALL forms, not just the form you are working on. Deleting a question will remove that question from ALL forms as well. **
15 +**Changes made to form information, form layout, order of questions, and optional validations will NOT universally change forms – these changes will be applied only to the form you are working on.**
16 +
17 +\\
18 +
10 10  Form-related tasks include:
11 11  
12 12  * creating database fields/questions available for placement in online forms; (See __[[Questions - Create and Manage Questions>>url:http://docs.onecount.net:8090/display/OD/Questions+-+Create+and+Manage+Questions||shape="rect"]]__ for more detail.)
... ... @@ -15,104 +15,64 @@
15 15  * creating source codes that are used to track the source of a name/transaction;
16 16  * and creating individually branded, designed forms.
17 17  
18 -The first task listed above – creating questions is accomplished by clicking the Demographics tab under SETUP on the left-hand men. The next two tasks – creating new forms and managing existing forms – are carried out using the Form Builder tool under SETUP Creating source codes is handled under __[[Source Codes>>url:http://docs.onecount.net:8090/display/OD/Source+Codes+-+How+to+Create+and+Manage+Source+Codes||shape="rect"]]__ and creating branded forms is handled under __[[Brands>>url:http://docs.onecount.net:8090/display/OD/Brand+-+How+to+Create+and+Manage+Brands||shape="rect"]]__. All of these tools are found under SETUP
27 +\\
19 19  
29 +The first task listed above – creating questions is accomplished using the Question Builder tool. The next two tasks – creating new forms and managing existing forms – are carried out using the Form Builder tool under INVENTORY. Creating source codes is handled under __[[Source Codes>>url:http://docs.onecount.net:8090/display/OD/Source+Codes+-+How+to+Create+and+Manage+Source+Codes||shape="rect"]]__ and creating branded forms is handled under __[[Brands>>url:http://docs.onecount.net:8090/display/OD/Brand+-+How+to+Create+and+Manage+Brands||shape="rect"]]__. All of these tools are found under INVENTORY.
30 +
20 20  [[image:attach:Form-builder-nav.png||height="250"]]
21 21  
33 +\\
22 22  
23 -**STEP 1: Defining the Form**
35 +__PHASE A: Defining the Form__
24 24  
25 -The first screen you'll see in the Form Builder is where you define the basics of the form. For this panel, the only required options are a Title and a Source Code. You will then get to pick between two different presentations: a "Form" presentation, which is a web-page, and a pop-up, which appears over the page that the user is looking at. The Form format is typically used for landing pages, gating, data collection and subscriptions since it can not be closed. A pop-up can be used for data collection and subscriptions, but since it can be closed by clicking the X in the upper right corner, it's not effective for gating.
37 +__[[image:attach:FormDefinitionAug22.png||height="250"]]__
26 26  
27 -__[[image:attach:FormDefinitionAug22.png||width="800"]]__
39 +\\
28 28  
29 -//A Form landing page above.//
41 +**Required:** First, give your Form a title. You will have an option to use this title when designing the form in Phase D. If you want to use a different title when designing the form you may do so by using a custom “text section” content block when designing the form.[[image:attach:FB Title.png||height="250"]]
30 30  
31 -[[image:1725014789095-972.png]]
43 +Give your Form a description. You will have an option to use this title when designing the form in Phase D. If you want to use a different title when designing the form you may do so by using a custom “text” content block when designing the form.
32 32  
33 -//A pop-up landing page above.//
34 -
35 -
36 -You may give your Form a description. You will have an option to use this title when designing the form in Phase D. If you want to use a different title when designing the form you may do so by using a custom “text” content block when designing the form.
37 -
38 38  **Required: **Assign a source code to a Form. To add or change existing source codes, go to the source code manager in the inventory tab of the navigation bar at the top. If you do not have a source code for this form then use a generic source code.
39 39  
40 -If choosing popup as the 'Form Type', for best viewing experiences, please ensure that the minimum width and height used are 350-400. You have several options for a pop-up, including:
47 +If choosing popup as the 'Form Type', for best viewing experiences, please ensure that the minimum width and height used are 350-400.
41 41  
42 -* **Width and Height:** choose dimensions that work well for desktop and mobile
43 -* **Horizontal Position:** where it appears horizontally on the user's screen
44 -* **Vertical Position:** Where the pop-up appears vertically on the page. This is relative to the entire web page. Be careful if your site has long pages or uses infinite scroll, because the pop-up may render "below" the user's screen causing some confusion.
45 -* **Slide Positon:** This describes what part of the screen the pop-up will appear from (ie., enter stage-left)
46 -* **Pop-Up Delay:** This allows you to program a slight delay into the pop-up so that it doesn't appear immediately on the screen.
47 -* **Pop-up Definition :**
48 -** (% style="font-family:Liberation Sans,sans-serif; font-size:10pt; line-height:100%" %)**Pop-up Shadow : **This will add the shadow to the pop-up box . [[image:1725015808108-336.png||height="78" width="148"]][[image:1725015836339-358.png||height="84" width="226"]]
49 -** (% style="font-family:Liberation Sans,sans-serif; font-size:10pt; line-height:100%" %)**Pop-up Radius : **This will change the shape of your pop-up and we can make pop-up round or ellipse. [[image:1725015904419-419.png||height="130" width="121"]][[image:1725015940232-868.png||height="131" width="127"]]
50 -** (% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Pop-up border width & Pop-up border Color : **This will add the extra border width to the popup also you can change the width color. [[image:1725016042172-661.png||height="128" width="121"]][[image:1725016078700-211.png||height="125" width="108"]]
51 -* (((
52 -**Pop-up Close Button Definition :***
49 +OPTIONAL: If you want to direct users to a specific page after submitting the form, then place the url into the "Thank you page URL" field.
53 53  
54 -(((
55 -(% class="western" style="text-align:left" %)
56 -(% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Close Button Color & Close Button Text Color: **This will change the close button color also the text used in the close button .
57 -)))
51 +Select a submission option. Submission Option is a feature that allows ONEcount to require a user to subscribe to a product or package in order to submit the form. There are three settings:
58 58  
59 -* (((
60 -(% class="western" style="text-align:left" %)
61 -(% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Close Button Text : ** This can change the text of close button like X, close , end whatever you want.
62 -)))
63 -* (((
64 -(% class="western" style="text-align:left" %)
65 -(% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Close Button Position : **This can align the close button left or right. you can change the position of close button.
66 -)))
67 -* (((
68 -(% class="western" style="text-align:left" %)
69 -(% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Close Button Shape :** (% style="font-family:Liberation Sans,sans-serif; font-size:10pt; line-height:100%" %)This will change the shape of your close button and we can make pop-up round,ellipse or rectangle .
70 -)))
71 -* (((
72 -(% class="western" style="text-align:left" %)
73 -(% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Close Button Font Size : **This will change help to change the text size of close button.
74 -)))
75 -* (((
76 -(% class="western" style="text-align:left" %)
77 -(% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Close Button Height  & Close Button Width : **This will help to change the height and width of the close button.
78 -)))
79 -* (((
80 -(% class="western" style="text-align:left" %)
81 -(% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Vertical Position : **This will help to move the close button vertical if you want to move the close button outside the popup.
82 -)))
83 -)))
84 -* (((
85 -(% class="western" style="text-align:left" %)
86 -**Pop-up Background Light-Box :**
53 +[[image:attach:selection-required.png||height="216"]]
87 87  
88 -*
55 +The first option allows the user to submit the form without subscribing to a product, but a message is displayed telling the user that they did not subscribe to a product before hitting submit. The second option allows the user to submit the form without any warning. The third option is effective in cases where the forms are pre-populated, and users might be tempted to hit "Submit" without subscribing to anything. This option issues a warning and forces the user to return to the form and subscribe to a product.
89 89  
90 -(% class="western" style="text-align:left" %)
91 -(% style="color:#333333; font-family:Liberation Sans,sans-serif; font-size:10pt; font-style:normal; font-variant:normal; line-height:100%" %)**Pop-up Background Color & Pop-up Background Opacity : **This will change the pop-up background you can change the color and the opacity of the color.
92 -)))
57 +Show only relevant products ~*~*~*~*~*~*~*~**
93 93  
94 -If you want to direct users to a specific page after the form is submitted, you can place the url into the "Thank you page URL" field.
59 +Enter the text/message to be displayed if an email already exists.
95 95  
96 -Select a submission option. Submission Option is a feature that allows ONEcount to require a user to subscribe to a product or package in order to submit the form. An example of where this might be used is when you e-mail a link to a subscription form for requalification of a controlled circulation product. Very often users will see their information pre-populated in the form, but won't check the box subscribing (or renewing) them to the product. This option allows you to either force the user to to subscribe to a product in order to submit the form, remind the user that he or she has not subscribed but allow them to continue anyway, or just accept the day with no warning and no subscription requirement.
61 +Body markers that may be used in the text are as follows:
62 +%%TEXT%% – will link to Sign in page%%
63 +~#~#TEXT - will be linked to Password Reset page~#~#
97 97  
65 +STATUS: Activate the Form for user access or disable the form.
98 98  
99 -[[image:attach:selection-required.png||height="216"]]
67 +\\
100 100  
69 +\\
101 101  
71 +PHASE B: Adding Demographic Questions.
102 102  
103 -Step 2: Define your demographic questions.
104 -
105 105  [[image:attach:AddingDemoQuesAuf22.png||height="400"]]
106 106  
75 +\\
107 107  
108 -1. Start by adding your first demographic questionin the Demo column. All ONEcount questions that are in your question inventory will appear in the dropdown menu list.  You may also type the question name or number into the dropdown box to find a question to add.
109 -1. VALIDATIONS: If needed, select validation(s) to require a specific format for responses to this question. Allowed validations are: alphanumeric, date, email, email-match, or required field. Be careful with alphanumeric because it does not include any punctuation, meaning you could not enter (305) 555-1212. For the email validation, ONEcount only checks that the e-mail address matches an appropriate format; it does not validate that the e-mail address really exists. Email match presents two e-mail boxes to the user and requires that both entries match. This is a way to reduce data entry errors from people entering the wrong e-mail addresses in your forms. Multiple validations can be added to each question.
110 -1. AUTO POPULATE: You may choose to have fields auto populated for identified users by setting the auto populate switch to yes. This is the default. If your publication is audited and the rules of your audit require the user to enter a field manually, you can turn Auto Populate off for that specific field.
77 +1. Start by adding your first demographic question. In the first dropdown box all ONEcount questions that are in your question inventory will appear in the dropdown menu list.  You may also type the question name or number into the dropdown box to find a question to add.
78 +1. VALIDATIONS: If needed, select validation(s) to require a specific format for responses to this question. Validations include alphanumeric, date, email, or is a required field. In email match (email address matches the email in the email question/field), or is a number. Multiple validations can be added to each question.
79 +1. AUTO POPULATE: You may choose to have fields auto populated for identified users by setting the auto populate switch to yes.
111 111  1. To add additional questions, click the “Add” button in the top right hand corner.
112 112  1. To remove a question click the “X” at the end of the respective row.
113 -1. You can not edit a row once it had been created; if you find an error, you must delete it
114 -1. The order of the questions on this page is not important.
115 115  
83 +\\
84 +
116 116  PHASE C: Add Products and Packages.
117 117  
118 118  [[image:attach:form-builder-products-Aug22.png||height="400"]]
... ... @@ -129,6 +129,8 @@
129 129  1. To add additional products- click the add product button in the right hand corner.
130 130  1. To remove a product, click an X
131 131  
101 +\\
102 +
132 132  **PACKAGES:** Add a group of products, like a digital and print subscription, multiple issue magazine subscription, a magazine subscription and e-newsletter, digital access or other bundled resources with a term duration (expiration date) or access limit. Optional: to have a package automatically selected, choose which option to have selected using the “Pre-Selection” dropdown.
133 133  
134 134  1. Choose a template for how you want Package options displayed. Examples of template types are in the images below. ~*~*~*~*~*~*~*~*
... ... @@ -137,6 +137,8 @@
137 137  1. To add additional packages- click the add product button in the right hand corner.
138 138  1. To remove a package, click the X
139 139  
111 +\\
112 +
140 140  **Pre-selection of Products and Packages with query string **
141 141  
142 142  In order to preselect the terms via the query string, a comma-separated value of term ids can be passed as a query string on parameter name "terms". The respective packages for the given term ids should be present on the created form. The term ids can be appended on the URL as:
... ... @@ -145,7 +145,9 @@
145 145  
146 146  &prods=10001,20001
147 147  
121 +\\
148 148  
123 +\\
149 149  
150 150  PHASE D: Designing the Form
151 151  
... ... @@ -155,11 +155,13 @@
155 155  
156 156  Use the editor to customize the look and feel of your form webpage. To add page and form elements, drag the element(s) from the menu on the right to where you want them to appear. Sections of the Elements menu can be collapsed for ease of use to drag in content blocks that are located lower in the menu.
157 157  
133 +\\
158 158  
159 159  To create additional content areas, start by adding a “Grid Template” from the Elements menu.
160 160  
161 161  [[image:attach:FB Grid Template.png||height="250"]]
162 162  
139 +\\
163 163  
164 164  BUILD FORMS FROM SCRATCH
165 165  
... ... @@ -172,6 +172,8 @@
172 172  11. Simply select your choice of component from the options in the right-hand panel with your mouse
173 173  11. Drag it over to the spot on the canvas, as you prefer
174 174  
152 +\\
153 +
175 175  Let's start with selecting a grid format from the 'Grid Templates' option in the right-hand panel. This helps with adding elements to the canvas, eventually your form, in an organized/disciplined manner.
176 176  
177 177  Below is a screen-shot where the 'Grid Templates' expands on beings selected, and the 'three column' grid is chosen
... ... @@ -178,6 +178,7 @@
178 178  
179 179  [[image:attach:formbuilder-three-column-demosAug23.png||height="250"]]
180 180  
160 +\\
181 181  
182 182  1. First, let's expand the 'Grid Templates' option by selecting it.
183 183  1. From there, select the preferred column type, then drag it to the canvas, as shown below (three-column grid selected)
... ... @@ -185,6 +185,8 @@
185 185  (% style="margin-left: 40.0px;" %)
186 186  [[image:attach:formbuilder-drag-a-grid-onto-canvas.png||height="250"]]
187 187  
168 +(% style="margin-left: 40.0px;" %)
169 +\\
188 188  
189 189  (% style="margin-left: 40.0px;" %)
190 190  3. To populate the columns, let's choose from the 'Demographics' option.
... ... @@ -195,6 +195,7 @@
195 195  (% style="margin-left: 40.0px;" %)
196 196  [[image:attach:formbuilder-drag-fields-from-toolbar-onto-canvasAug23.png||height="250"]]
197 197  
180 +\\
198 198  
199 199  (% style="margin-left: 40.0px;" %)
200 200  4. The three-column grid will look as follows:
... ... @@ -226,10 +226,14 @@
226 226  (% style="margin-left: 40.0px;" %)
227 227  [[image:attach:formbuilder-completed-formAug23.png||height="250"]]
228 228  
212 +(% style="margin-left: 40.0px;" %)
213 +\\
229 229  
215 +\\
230 230  
231 231  ELEMENTS MENU
232 232  
219 +\\
233 233  
234 234  To add elements, like titles, text blocks, images/logos, products/packages, or questions/fields use the Elements menu (image).
235 235  
... ... @@ -263,56 +263,15 @@
263 263  (% style="margin-left: 80.0px;" %)
264 264  b. Please [[click here>>attach:formbuilder-R-PaintBrush-Aug23.mp4]] to view a video showing how a button's background color was changed.
265 265  
253 +\\
266 266  
255 +TEMPLATES MENU
267 267  
268 -{{id name="click-thru-button"/}}
269 -
270 -=== Click-Thru Button ===
271 -
272 -Often users will want to create a pop-up or landing page that has a button that clicks through to another site or page. The specific use-case could be clicking to a partner site to download a digital edition, clicking to a non-ONEcount form, or clicking off-site to a thid-party application.
273 -
274 -To create a click-thru button, click in the cell or grid where you want the button to appear, and from the tool-bar on the right, select Form Options, and then Submit. ONEcount will place a button on your form.
275 -
276 -[[image:attach:submit-button-tool.png||thumbnail="true" height="250"]]
277 -
278 -
279 -Now click on the button, and click on the gear icon above the tool bar.
280 -
281 -[[image:attach:click-thru-button.png||height="250"]]
282 -
283 -Click on the Action Pull-down and select Clickthrough. In the box for Label, add whatever text you would like to appear on the button. In the URL box, put the full URL where you would like the user to be sent when they click on the button. Please note that this URL will open in a new window, leaving the pop-up on the screen. The user will need to close the pop-up.
284 -
285 -A future version of ONEcount will track these click-throughs as "completions" in both the form and segment analytics, giving you insights into how many people are clicking through to the URL.
286 -
287 -
288 -=== Click-Thru Image : ===
289 -
290 -Same as click throue button we have can aslo count the completions on image click throue. To setup this we need to use link-box and image
291 -
292 -First we need to drag the link-box and the inside it we need to drag image.
293 -
294 -after this pick the link-box from layers or you can find it on canvas and the go to the gear button there you can see extra option called completion which by default set as yes which means it will count the completion , you can select  "No" if you do't want to count completion.
295 -
296 -[[image:1725015402669-281.png]][[image:1725015494395-170.png]]
297 -
298 -
299 -=== Close pop-up after Action: ===
300 -
301 -So for Click-Thru Image and Button popup will automaicaly close after it redirects to the target page and if you want to close popup after any specific action like form-sumition or clicking on any element the you can use the below extra script.
302 -
303 -
304 -{{code language="Javascript"}}
305 -$("#button or image id or element id").click(function(){
306 -setInterval(function(){window.parent.postMessage("closepopup", "*");},1000);
307 -});
308 -{{/code}}
309 -
310 -=== TEMPLATES MENU ===
311 -
312 312  The Templates menu contains a set of four pre-designed set of templates you can choose from. Clicking on the Templates option, (found on the right-hand panel) displays the template set.
313 313  
314 314  [[image:attach:TEMPLATES menu Aug22.png||thumbnail="true" height="250"]]
315 315  
261 +\\
316 316  
317 317  To use a template, drag-n-drop the preferred template from the right-hand panel to the canvas.
318 318  
... ... @@ -320,6 +320,7 @@
320 320  
321 321  [[image:attach:Drag-n-DropTemplate.png||height="250"]]
322 322  
269 +\\
323 323  
324 324  The various types of templates include:
325 325  
... ... @@ -334,6 +334,7 @@
334 334  
335 335  Please Note: For ease of use, please ensure the canvas is empty before the drag-n-drop.
336 336  
284 +\\
337 337  
338 338  STYLE MENU
339 339  
... ... @@ -349,10 +349,13 @@
349 349  11. DECORATIONS: Edit background colors, borders of content blocks or individual elements.
350 350  111. Make sure the Opacity Slider is set above 10% for color edits to be visible. It is recommended to move the Opacity Slider all the way to the right.
351 351  
300 +\\
301 +
352 352  To alter the text of a button (like a submit, etc) select the button and click on the gear icon on the upper-right:
353 353  
354 354  [[image:attach:editor-object-settings.png||height="250"]]
355 355  
306 +\\
356 356  
357 357  To preview, click the Preview link at the top.
358 358  
... ... @@ -366,6 +366,8 @@
366 366  1. Open the component settings by clicking the gear icon at the top. ()
367 367  1. Paste or type the url destination for the link into the “Href” field. You may also add a title and specify a target for the link.
368 368  
320 +\\
321 +
369 369  PHASE E: EMAIL CONFIRMATION
370 370  
371 371  The Email Confirmation tab is used to fill out details of the confirmation email.
... ... @@ -386,6 +386,8 @@
386 386  Enter the subject of the email in the "Update Thank You Email Subject" field.
387 387  Enter the email address for BCC in the "Email Confirmation BCC" field.
388 388  
342 +\\
343 +
389 389  PHASE F: DESIGNING THANK YOU PAGE
390 390  
391 391  The 'ThankYou Page Design' tab helps in designing a thank you page after form has been submitted.
... ... @@ -406,6 +406,7 @@
406 406  
407 407   [[image:attach:FormDefn-TYURLAug23.png||height="250"]]
408 408  
364 +\\
409 409  
410 410  2. Choose a preferred template from the 'Thank you Page Design' tab.  If step 1. is not provided, step 2. takes priority, if provided.
411 411  
... ... @@ -425,17 +425,23 @@
425 425  
426 426  [[image:attach:TYDeleteIconAug23.png||height="250"]]
427 427  
384 +\\
428 428  
429 429  Please [[click here>>attach:formBuilder-TYSelectDelete-Rayaan-OC2201.mp4]] to view video showing how to select and delete a 'Thankyou Page Design.'
430 430  
388 +\\
431 431  
390 +\\
432 432  
433 433  TO DUPLICATE A FORM
434 434  
435 435  1. From the “Manage Forms” page click the copy icon at the end of the row for the form you wish to copy. ()
436 436  
396 +\\
397 +
437 437  TO EDIT A FORM
438 438  
400 +\\
439 439  
440 440  1. Click the Pencil Icon () towards the end of the row of the Form that you wish to edit. ()
441 441  
... ... @@ -443,6 +443,8 @@
443 443  
444 444  1. Click on the Trash Icon () towards the end of the row of the Form that you wish to delete. ()
445 445  
408 +\\
409 +
446 446  **~ **
447 447  
448 448  (% style="margin-left: 0.0px;" %)
... ... @@ -449,7 +449,7 @@
449 449  (((
450 450  (% class="pagetitle with-breadcrumbs" %)
451 451  (((
452 -(% id="HNewFormBuilderNotes:" class="with-breadcrumbs" %)
416 +(% class="with-breadcrumbs" %)
453 453  = New Form Builder Notes: =
454 454  )))
455 455  )))
... ... @@ -476,16 +476,19 @@
476 476  
477 477  [[image:attach:image2020-10-9_14-8-52.png||height="250"]]
478 478  
443 +\\
479 479  
480 480  After selecting template type as landing page select redirect form from the drop down. Drag and Drop the package or product from blocks to the canvas from design tab. Below is the image of landing page design.
481 481  
482 482  [[image:attach:image2020-10-9_14-9-30.png||height="250"]]
483 483  
449 +\\
484 484  
485 485  The images on the design is from the URL present to that package or product as shown in image below.
486 486  
487 487  [[image:attach:image2020-10-9_14-9-51.png||height="250"]]
488 488  
455 +\\
489 489  
490 490  = ADDING BRAND HEADER AND FOOTER TO FORMS: =
491 491  
... ... @@ -497,8 +497,11 @@
497 497  
498 498  * By selecting a brand from the dropdown present in tab definition tab.
499 499  
467 +\\
468 +
500 500  Once brand is selected you can drag brand header and footer from design tab and edit them. Editing brand header and footer gives flexibility to remove or change design or text for the particular form.
501 501  
471 +\\
502 502  
503 503  = CREATING POPUPS USING FORM BUILDER: =
504 504  
... ... @@ -519,32 +519,38 @@
519 519  
520 520  ===== You can use this to ensure CNAME set up is done correctly. This box will be auto filled with <client>-[[reg.onecount.net>>url:http://reg.onecount.net||shape="rect"]] but If you need to gate a page or section on site [[abc.com>>url:http://abc.com||shape="rect"]] then enter oc.[[abc.com>>url:http://abc.com||shape="rect"]] in text box (because popup will appear on [[abc.com>>url:http://abc.com||shape="rect"]], This step is just for CNAME setup validation). If CNAME setup is not done, then it will throw warning while saving Product/Package. Also, the pop-up won't work on your site. =====
521 521  
522 -===== ·      Popup setup for targeting: Once popup is created you need to create the action in action manager. While creating the action manager select popup form created. If popup should appear on site [[abc.com>>url:http://abc.com||shape="rect"]] then enter oc.[[abc.com>>url:http://abc.com||shape="rect"]] in Target Domain. We will check if CNAME set up is done correctly, if not error will be warning. =====
492 +===== ·      Popup setup for targeting: Once popup is created you need to create the action in action manager. While creating the action manager select popup form created. If popup should appear on site [[abc.com>>url:http://abc.com||shape="rect"]] then enter oc.[[abc.com>>url:http://abc.com||shape="rect"]] in Target Domain. We will check if CNAME set up is done correctly, if not error will be warning. =====
523 523  
524 -**Extra Scripts/Extra Styles:**
525 -These boxes allow you to add additional Javascript code or CSS to your forms to alter the appearance or function of the form.
494 +**Extra Scripts/Extra Styles:
495 +**These boxes allow you to add additional Javascript code or CSS to your forms to alter the appearance or function of the form.
526 526  
527 527  [[image:attach:image2020-10-9_14-10-26.png||height="250"]]
528 528  
499 +\\
529 529  
530 530  One use for these boxes is to add Javascript code to your form that will change the questions and/or question responses based on a user’s response to a question on the form.
531 531  
532 532  = ADVANCED FORM TECHNIQUES: =
533 533  
534 -With Extra Scripts/Extra Styles, you can add features to your form or popup to enhance its look-and-feel as well as operations.  Following are examples of how this can be achieved.
505 +With Extra Scripts/Extra Styles, you can add features to your form or popup to enhance its look-and-feel as well as features.  Following are examples of how this can be achieved.
535 535  
507 +\\
536 536  
537 537  **Example 1: Code for altering responses based on select type demographics:**
538 538  
511 +\\
539 539  
540 540  **Example:** If a form contains a question which ask whether the user is a doctor or a patient. If the user selects doctor the demographic fields which are related to doctor will appear (type of specialty, NPI #, medical degree achieved, etc.). Otherwise, demographic fields for a patient will appear on the form. This modifications helps to show user only those demographic fields which are related to their previous answers.
541 541  
515 +\\
542 542  
543 543  **Example Sample Code:**
544 544  
519 +\\
545 545  
546 546  removeInitial = [1043,859,659,683,699,707,723,731,747,771,779,787,795,867,915,739,763,1059,1075,1083,1091,755];
547 547  
523 +\\
548 548  
549 549  var hcpObj = {
550 550  
... ... @@ -564,6 +564,7 @@
564 564  
565 565  document.getElementById("q_id_1051").onchange = function(){autoDropDown(hcpObj)};
566 566  
543 +\\
567 567  
568 568  var hcpNoObj = {
569 569  
... ... @@ -581,7 +581,9 @@
581 581  
582 582  document.getElementById("q_id_683").onchange = function(){autoDropDown(hcpNoObj)};
583 583  
561 +\\
584 584  
563 +\\
585 585  
586 586  **Steps:**
587 587  
... ... @@ -595,6 +595,8 @@
595 595  * getElementById("q_id_1051") – 1051 will be the demographics id which will be same as dropDownId.
596 596  * autoDropDown(hcpNoObj) – autoDropDown() function is called and object which is created above will be passed as a parameter this function implements the response base altering the demographics.
597 597  
577 +\\
578 +
598 598  **Note:**
599 599  
600 600  * removeInitial is assigned only once at the beginning of the script.
... ... @@ -602,50 +602,55 @@
602 602  
603 603  **Example 2: Code for removing an option from the form**
604 604  
586 +\\
605 605  
606 -**Example:** A form contains a collection of questions.  The client decides that a question/option needs to be done away with, but without disturbing the rest of the form. You want to have it removed or hidden.  You can make this field invisible without changing anything else about the form, using the Extra Script option.  Without re-designing the form, we are able to remove the unwanted option by using the sample code below.  
588 +**Example:** A form contains a collection of questions.  If the need to get rid of a question or option, you may want to have it removed.  You can make this field invisible without changing anything else about the form, using the Extra Script option.  Without re-designing the form, we are able to remove the unwanted option by using the sample code below. 
607 607  
590 +\\
608 608  
609 609  **Example Sample Code:**
610 610  
611 -(% class="p1" %)
594 +(% class="p1" style="" %)
612 612  var removeId = document.getElementsByClassName("labelId");
613 613  
614 -(% class="p1" %)
597 +(% class="p1" style="" %)
615 615  for(var i = 0; i < removeId.length; i++){
616 616  
617 -(% class="p1" %)
600 +(% class="p1" style="" %)
618 618  if(removeId[i].innerText(% class="apple-converted-space" %)  (%%)== "RemoveMePlaceHolder"){
619 619  
620 -(% class="p1" %)
603 +(% class="p1" style="" %)
621 621  removeId[i].parentNode.style.display="none";
622 622  
623 -(% class="p1" %)
606 +(% class="p1" style="" %)
624 624  }
625 625  
626 -(% class="p1" %)
609 +(% class="p1" style="" %)
627 627  }~/~/end of for loop
628 628  
612 +\\
629 629  
630 630  **Steps:**
631 631  
632 632  * Initialize a variable to grab all the instances of the id from the form you want hidden. 
633 -** var removeId = document.getElementsByClassName("labelId"); //(notice the semi-color)//
634 -** removeId: name of variable (//you can choose a name of your choice, but remember to be consistent with the use through the code//)
617 +** var removeId = document.getElementsByClassName("labelId");
618 +** removeId: name of variable (you can choose a name of your choice, but remember to be consistent with the use through the code)
635 635  ** labelId: replace this with the id of the field you want checked/removed
636 636  ** getElementsByClassName: property of javascript that allows you to get elements by the class name property
637 637  * Traverse through the array of the gathered instances (of removeId), and check for the corresponding text by comparing the innerText property to  "RemoveMePlaceHolder"
638 -** removeId[i].innerText(% class="apple-converted-space" %)  (%%)== "RemoveMePlaceHolder" (//check for matches//)
622 +** removeId[i].innerText(% class="apple-converted-space" %)  (%%)== "RemoveMePlaceHolder" (check for matches)
639 639  ** RemoveMePlaceHolder: replace this with the text you want hidden
640 640  * If a match is found, then grab its parentNode
641 641  ** removeId[i].parentNode
642 -** [i] is the index of the array where the match was found, during traversal
626 +** i is the index of the array where the match was found
643 643  * Change the style of the parentNode to display it as none.  This keeps the field hidden in your forms.
644 -** removeId[i].parentNode.style.display="none"; (//notice the semi-color//)
628 +** removeId[i].parentNode.style.display="none";
645 645  
630 +\\
631 +
646 646  **Note:**
647 647  
648 -* All the code must be included in the form Extra Script field.
634 +* All the code must be included in form extra script area.
649 649  * The code is to be inserted in the forms in which the value need not been shown or hidden
650 650  
651 651  = DYNAMIC/PROGRESSIVE LOOK-UP: =
... ... @@ -669,3 +669,5 @@
669 669  [[image:attach:VerifyEmailExists-2.png||height="150"]]
670 670  
671 671  The Lookup link takes you to the login/sign-in page.
658 +
659 +\\
1725014756511-571.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -66.9 KB
Content
1725014789095-972.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -67.1 KB
Content
1725015402669-281.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -16.3 KB
Content
1725015494395-170.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -18.3 KB
Content
1725015808108-336.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -10.2 KB
Content
1725015836339-358.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -13.6 KB
Content
1725015904419-419.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -45.5 KB
Content
1725015940232-868.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -69.8 KB
Content
1725016042172-661.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -48.2 KB
Content
1725016078700-211.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.sachin
Size
... ... @@ -1,1 +1,0 @@
1 -39.1 KB
Content
AddingDemoQuesAuf22.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -848.8 KB
Content
DefaultTY-Aug22.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -267.3 KB
Content
Drag-n-DropTemplate.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -776.1 KB
Content
Editori-main-menu copy.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -679.6 KB
Content
Editori-main-menu.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -433.0 KB
Content
EmailConfirmationTab.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -138.1 KB
Content
FB Grid Template.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -11.5 KB
Content
FB Title.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -9.6 KB
Content
Form-builder-nav.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -35.1 KB
Content
Form-builder-page one.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -97.1 KB
Content
FormDefinitionAug22.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -804.8 KB
Content
FormDefn-TYURLAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -199.8 KB
Content
Inventory Screen Shot.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -37.2 KB
Content
Screen Shot 2022-08-23 at 2.23.31 PM.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -5.4 KB
Content
Screen Shot 2022-08-23 at 2.24.42 PM.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -8.0 KB
Content
Screen Shot 2022-08-23 at 2.25.10 PM.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -6.4 KB
Content
Screen Shot 2022-08-23 at 2.28.56 PM.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -4.8 KB
Content
Screen Shot 2022-08-23 at 4.52.47 PM.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -9.3 KB
Content
Sign in:Lookup page.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -397.0 KB
Content
TEMPLATES menu Aug22.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -579.3 KB
Content
TYClosePanelAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -766.5 KB
Content
TYDeleteIconAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -488.6 KB
Content
TYPageDesign-Aug22.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -601.7 KB
Content
VerifyBox-LookupOption1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -217.2 KB
Content
VerifyEmailExists-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -320.5 KB
Content
VerifyEmailExists-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -260.0 KB
Content
click-thru-button.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -260.6 KB
Content
editor-object-settings.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -418.6 KB
Content
form-builder-EmailConfirmationTabAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -259.5 KB
Content
form-builder-demos.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -74.2 KB
Content
form-builder-pop-up.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -49.1 KB
Content
form-builder-products-Aug22.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -613.2 KB
Content
form-builder-products.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -101.9 KB
Content
formBuilder-TYSelectDelete-Rayaan-OC2201.mp4
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -21.6 MB
Content
formbuilder-AddImage-R-Aug23.mp4
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -47.5 MB
Content
formbuilder-R-GearsURL-Aug23.mp4
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -14.1 MB
Content
formbuilder-R-PaintBrush-Aug23.mp4
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -2.6 MB
Content
formbuilder-R-YTVideo-Aug23.mp4
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -27.6 MB
Content
formbuilder-add-captchaAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -195.5 KB
Content
formbuilder-completed-formAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -287.0 KB
Content
formbuilder-drag-a-grid-onto-canvas.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -181.2 KB
Content
formbuilder-drag-fields-from-toolbar-onto-canvasAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -222.5 KB
Content
formbuilder-edit-object-propertiesAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -1.0 MB
Content
formbuilder-three-column-demosAug23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -875.3 KB
Content
image2020-10-9_14-10-26.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -35.2 KB
Content
image2020-10-9_14-8-52.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -227.6 KB
Content
image2020-10-9_14-9-30.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -64.3 KB
Content
image2020-10-9_14-9-51.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -43.8 KB
Content
object-tools.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -437.5 KB
Content
selection-required.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -23.5 KB
Content
submit-button-tool.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -36.9 KB
Content
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -77496361
1 +77496616
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/77496361/Form Builder
1 +https://info.onecount.net//wiki/spaces/OD/pages/77496616/Copy of New Form Builder