Changes for page Form Builder
Last modified by Sachin Patil on 2024/08/30 07:28
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -38,28 +38,32 @@ 38 38 39 39 \\ 40 40 41 -1. Required: 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"]] 42 -1. 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. 43 -1. 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. 44 -1. 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. 45 -1. Select a submission option ~*~*~*~*~*~*~*~*~*~** 46 -1. Show only relevant products ~*~*~*~*~*~*~*~** 47 -1. Enter the text/message to be displayed if an email already exists. 48 -1. **Email Confirmation (Yes/No) **is where you select whether a confirmation email will be sent upon subscription to/registration for any products listed on the form. 49 -11. **a. Enter Acknowledgement Email Information. (See Items B-C below.)** 50 -11. This is where you can create customized acknowledgement emails specific to the form/product attached to the form. Creating these customized emails is optional, as default acknowledgement emails not specific to any form and/or product are configured in the Configuration Manager. 51 -11. Enter the subject of the email in "New Thank You Email Subject" field. 52 -Enter the content of the email in "New Thank You Email" field. 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"]] 42 + 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. 44 + 45 +**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. 46 + 47 +If choosing popup as the 'Form Type', for best viewing experiences, please ensure that the minimum width and height used are 350-400. 48 + 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. 50 + 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: 52 + 53 +[[image:attach:selection-required.png||height="216"]] 54 + 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. 56 + 57 +Show only relevant products ~*~*~*~*~*~*~*~** 58 + 59 +Enter the text/message to be displayed if an email already exists. 60 + 53 53 Body markers that may be used in the text are as follows: 54 -%%USERNAME%% – will replace the body marker %%USERNAME%% with the subscriber's username. 55 -%%PASSWORD%% – will replace the body marker %%PASSWORD%% with the subscriber's password. 56 -%%ONECOUNTID%% – will replace the body marker %%ONECOUNTID%% with the subscribers account number/ONEcount ID. 57 -%%RECEIPTDISPLAY%% – will replace the body marker %%RECEIPTDISPLAY%% with a receipt for purchase amount, if any. 58 -%%%PASSWORDRESETLINK%%% – will replace the body marker %%%PASSWORDRESETLINK%%% with a unique link to reset the user's password. 59 -Enter the subject of the email in the "Update Thank You Email Subject" field. 60 -Enter the content of the email in the "Update Thank You Email" field. 61 -11. STATUS: Activate the Form for user access or disable the form. 62 +%%TEXT%% – will link to Sign in page%% 63 +~#~#TEXT - will be linked to Password Reset page~#~# 62 62 65 +STATUS: Activate the Form for user access or disable the form. 66 + 63 63 \\ 64 64 65 65 \\ ... ... @@ -66,7 +66,7 @@ 66 66 67 67 PHASE B: Adding Demographic Questions. 68 68 69 -[[image:attach:AddingDemoQuesAuf22.png||height=" 250"]]73 +[[image:attach:AddingDemoQuesAuf22.png||height="400"]] 70 70 71 71 \\ 72 72 ... ... @@ -80,7 +80,7 @@ 80 80 81 81 PHASE C: Add Products and Packages. 82 82 83 -[[image:attach:form-builder-products-Aug22.png|| thumbnail="true" height="250"]]87 +[[image:attach:form-builder-products-Aug22.png||height="400"]] 84 84 85 85 In this phase, you can add a single product or package, or a combination of multiple products and packages. 86 86 ... ... @@ -120,6 +120,8 @@ 120 120 121 121 PHASE D: Designing the Form 122 122 127 +This is an example of a form built using the form builder. 128 + 123 123 [[image:attach:Editori-main-menu copy.png||height="250"]] 124 124 125 125 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. ... ... @@ -132,6 +132,82 @@ 132 132 133 133 \\ 134 134 141 +BUILD FORMS FROM SCRATCH 142 + 143 +Form Building is a multi-step process. 144 + 145 +Form can be built from scratch. It requires, at the very minimum, a Captcha and Submit button, if building from scratch. If choosing to do so, 146 + 147 +1. Navigate to the 'Form Design' tab, after you have filled out the basic information as required by the 'Form Definition,' 'Add Demographics,' and 'Add Products/Packages' tabs. 148 +1. The canvas can be populated by dragging-and-dropping elements/components from the right-hand panel. 149 +11. Simply select your choice of component from the options in the right-hand panel with your mouse 150 +11. Drag it over to the spot on the canvas, as you prefer 151 + 152 +\\ 153 + 154 +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. 155 + 156 +Below is a screen-shot where the 'Grid Templates' expands on beings selected, and the 'three column' grid is chosen 157 + 158 +[[image:attach:formbuilder-three-column-demosAug23.png||height="250"]] 159 + 160 +\\ 161 + 162 +1. First, let's expand the 'Grid Templates' option by selecting it. 163 +1. From there, select the preferred column type, then drag it to the canvas, as shown below (three-column grid selected) 164 + 165 +(% style="margin-left: 40.0px;" %) 166 +[[image:attach:formbuilder-drag-a-grid-onto-canvas.png||height="250"]] 167 + 168 +(% style="margin-left: 40.0px;" %) 169 +\\ 170 + 171 +(% style="margin-left: 40.0px;" %) 172 +3. To populate the columns, let's choose from the 'Demographics' option. 173 + 174 +1. 175 +11. Select First Name and drag it to the left-most cell, followed by Last Name to the middle cell, next email to the last one. 176 + 177 +(% style="margin-left: 40.0px;" %) 178 +[[image:attach:formbuilder-drag-fields-from-toolbar-onto-canvasAug23.png||height="250"]] 179 + 180 +\\ 181 + 182 +(% style="margin-left: 40.0px;" %) 183 +4. The three-column grid will look as follows: 184 + 185 +(% style="margin-left: 40.0px;" %) 186 +[[image:attach:formbuilder-three-column-demosAug23.png||height="250"]] 187 + 188 +(% style="margin-left: 40.0px;" %) 189 +5. To add Captcha to the form: 190 + 191 +1. 192 +11. Select 'Form' from the right-hand panel[[image:attach:Screen Shot 2022-08-23 at 4.52.47 PM.png||thumbnail="true" width="150"]] 193 +11. Select Captcha and drag it over to the spot on the canvas. In this case, we choose below the 3-column grid 194 + 195 +(% style="margin-left: 40.0px;" %) 196 +[[image:attach:formbuilder-add-captchaAug23.png||height="250"]] 197 + 198 +(% style="margin-left: 40.0px;" %) 199 +6. To add a 'Submit' button: 200 + 201 +1. 202 +11. Select it from the 'Form' option and, 203 +11. Drag it to the spot you prefer on the canvas, 204 +11. Eventually this position will impact how your final form is displayed) 205 + 206 +(% style="margin-left: 40.0px;" %) 207 +7. Below is what the final form/pop-up will look like after the additions/modifications described in steps 1-7. 208 + 209 +(% style="margin-left: 40.0px;" %) 210 +[[image:attach:formbuilder-completed-formAug23.png||height="250"]] 211 + 212 +(% style="margin-left: 40.0px;" %) 213 +\\ 214 + 215 +\\ 216 + 135 135 ELEMENTS MENU 136 136 137 137 \\ ... ... @@ -141,6 +141,7 @@ 141 141 1. Begin creating a layout by first adding **Grid Templates. **First add One Column Grid Templates to define the basic layout. For multiple columns, add a one column Grid Template before dragging 2 or 3 column Grid Templates into the form. 142 142 1. To add a Title and Description, drag in the “Title” or “Description” content blocks from the “Form Info” section of the Elements menu. The “Title and Description” will be what you have entered during Phase 1, Form Definition. 143 143 11. To create a custom heading or text block, add a “Text” or “Text Section” from the list of products near the lower part of the Elements menu. 226 +11. Click [[here>>attach:formbuilder-R-YTVideo-Aug23.mp4]] to view how you can add a Youtube video to your form. 144 144 11. To add Products/Packages drag in the Product or Package from the Elements menu on the right. The layout of Products or Packages will be based on what Template Type you selected during Phase 3, Add Products & Packages. 145 145 11. Adding Images, first drag the image icon from the Elements Menu and place it where you want an image to be placed. 146 146 111. A pop-up window will open with a library of images already added. ... ... @@ -147,16 +147,59 @@ 147 147 111. To add a new image, click the left-hand side of the image pop-up window. Using the folder browser, choose an image from your files that you would like to upload. 148 148 111. After uploading an image file, select the image from the image library list on the right hand side. 149 149 111. After selecting your image, click the “X” button to close the image library. Your image will be placed in the image content block. 233 +111. Here is a video showing how to select images to your canvas: [[How to upload image video>>attach:formbuilder-AddImage-R-Aug23.mp4]] 150 150 111. To add Questions/Fields drag the questions you have selected during Phase 2, “Add Demographics”, from the “Demographics” section of the Elements menu. 151 151 1111. It is recommended to place each Question in individual Grid Templates (single or multiple column). 152 -1111. To add additional questions, return to Phase 2 “Add Demographics”. 236 +1111. To add additional questions, return to Phase 2 “Add Demographics”. 153 153 238 +Once created, we can edit the added elements to the canvas. Let us see how URL links can be added and how to the 'paint brush' icon can be used. 239 + 240 +1. URL links can be added to components that use the 'Link' feature. 241 +11. To add or modify a URL link, use the 'Components Settings' option on the toolbar, denoted by a 'gear' icon [[image:attach:Screen Shot 2022-08-23 at 2.25.10 PM.png||thumbnail="true" width="20"]]on the above toolbar. 242 +11. You can add URL to the 'Href' field, which will then link the selected component to the URL specified in this field. 243 +11. Please [[click here>>attach:formbuilder-R-GearsURL-Aug23.mp4]] to view a video showing how to create a URL link. 244 +1. Components can be modified in terms of typography(text-related features such as fonts, alignment), dimensions (height, width, padding, etc.) or background decorations (color, radius, etc.). 245 +11. To do so, select the component, then click on the 'paintbrush' icon on the above toolbar, denoted by[[image:attach:Screen Shot 2022-08-23 at 2.28.56 PM.png||thumbnail="true" width="20"]]. In the screen shot below, the image on the right is selected and edited. 246 + 247 +(% style="margin-left: 80.0px;" %) 248 +[[image:attach:formbuilder-edit-object-propertiesAug23.png||height="400"]] 249 + 250 +(% style="margin-left: 80.0px;" %) 251 +b. Please [[click here>>attach:formbuilder-R-PaintBrush-Aug23.mp4]] to view a video showing how a button's background color was changed. 252 + 154 154 \\ 155 155 156 156 TEMPLATES MENU 157 157 257 +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. 258 + 259 +[[image:attach:TEMPLATES menu Aug22.png||thumbnail="true" height="250"]] 260 + 158 158 \\ 159 159 263 +To use a template, drag-n-drop the preferred template from the right-hand panel to the canvas. 264 + 265 +To drag-n-drop a template, first click on the 'Templates' option in the right-hand panel. This will display the templates. Now, choose a template and drag it to the canvas to the left, as shown below. 266 + 267 +[[image:attach:Drag-n-DropTemplate.png||height="250"]] 268 + 269 +\\ 270 + 271 +The various types of templates include: 272 + 273 +1. Three-column with graphic 274 +1. Two-column with graphic 275 +1. One column/graphic on top 276 +1. One-column graphic click-through 277 + 278 +The Demographic components and other features can be added to the forms per the designated space provided in the chosen template. 279 + 280 +The templates are designed to be responsive, that is moldable to the various screen-sizes. These can be used for either 'Forms' or 'popups.' 281 + 282 +Please Note: For ease of use, please ensure the canvas is empty before the drag-n-drop. 283 + 284 +\\ 285 + 160 160 STYLE MENU 161 161 162 162 To customize the design or CSS styles like dimensions, typography and colors use the CSS editor (). ... ... @@ -191,6 +191,78 @@ 191 191 1. Open the component settings by clicking the gear icon at the top. () 192 192 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. 193 193 320 +\\ 321 + 322 +PHASE E: EMAIL CONFIRMATION 323 + 324 +The Email Confirmation tab is used to fill out details of the confirmation email. 325 + 326 +[[image:attach:form-builder-EmailConfirmationTabAug23.png||height="250"]] 327 + 328 +1. **Email Confirmation (Yes/No) **is where you select whether a confirmation email will be sent upon subscription to/registration for any products listed on the form. 329 +11. **a. Enter Acknowledgement Email Information. (See Items b-c below.)** 330 +11. This is where you can create customized acknowledgement emails specific to the form/product attached to the form. Creating these customized emails is optional, as default acknowledgement emails not specific to any form and/or product are configured in the Configuration Manager. 331 +11. Enter the subject of the email in "New Thank You Email Subject" field. 332 +Enter the content of the email in "New Thank You Email" field. 333 +Body markers that may be used in the text are as follows: 334 +%%USERNAME%% – will replace the body marker %%USERNAME%% with the subscriber's username. 335 +%%PASSWORD%% – will replace the body marker %%PASSWORD%% with the subscriber's password. 336 +%%ONECOUNTID%% – will replace the body marker %%ONECOUNTID%% with the subscribers account number/ONEcount ID. 337 +%%RECEIPTDISPLAY%% – will replace the body marker %%RECEIPTDISPLAY%% with a receipt for purchase amount, if any. 338 +11. Enter the content of the email in the "Update Thank You Email" field. 339 +Enter the subject of the email in the "Update Thank You Email Subject" field. 340 +Enter the email address for BCC in the "Email Confirmation BCC" field. 341 + 342 +\\ 343 + 344 +PHASE F: DESIGNING THANK YOU PAGE 345 + 346 +The 'ThankYou Page Design' tab helps in designing a thank you page after form has been submitted. 347 + 348 +Below is a screen-shot of the default Thank you page template, that is automatically populated in the 'Thank you Page Design' tab. 349 + 350 +[[image:attach:TYPageDesign-Aug22.png||height="400"]] 351 + 352 +Up to four templates, that are drag-n-droppable, are provided in the right-hand panel. To view them, please click on the 'Thank you Templates' option in the right-hand panel. 353 + 354 +[[image:attach:TYClosePanelAug23.png||height="250"]] 355 + 356 +These templates can be further customized using the components from the form builder, such as the Submit button, Captcha, Demographics components, and such. 357 + 358 +So, we now have three ways for designating a Thank you page: 359 + 360 +~1. Provide a URL in the 'Thank you Page URL' field found in the 'Form Definition' tab. This has priority over the following two steps (2. and 3.) 361 + 362 + [[image:attach:FormDefn-TYURLAug23.png||height="250"]] 363 + 364 +\\ 365 + 366 +2. Choose a preferred template from the 'Thank you Page Design' tab. If step 1. is not provided, step 2. takes priority, if provided. 367 + 368 +3. Using the default Thank you page. This comes into play if steps 1. and 2. are left blank. This is also what will be used for the older forms (that did not have the Thank You Page Design feature). 369 + 370 +The older forms that did not have the 'Thank you Page Design' feature, will now include this feature so that the 'Thank you' pages are now customizable 371 + 372 +The templates provided in the 'Thank you page Design' tab are responsive. 373 + 374 +The default Thank you page looks as shown below: 375 + 376 +[[image:attach:DefaultTY-Aug22.png||height="250"]] 377 + 378 +The default values in the Thank you page are populated from the Config Manager. 379 + 380 +To delete a template from the canvas, click on the 'trash can' icon found on the above toolbar. 381 + 382 +[[image:attach:TYDeleteIconAug23.png||height="250"]] 383 + 384 +\\ 385 + 386 +Please [[click here>>attach:formBuilder-TYSelectDelete-Rayaan-OC2201.mp4]] to view video showing how to select and delete a 'Thankyou Page Design.' 387 + 388 +\\ 389 + 390 +\\ 391 + 194 194 TO DUPLICATE A FORM 195 195 196 196 1. From the “Manage Forms” page click the copy icon at the end of the row for the form you wish to copy. () ... ... @@ -302,10 +302,16 @@ 302 302 303 303 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. 304 304 305 - **Codeforaltering responses based on select type demographics:**503 += ADVANCED FORM TECHNIQUES: = 306 306 505 +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. 506 + 307 307 \\ 308 308 509 +**Example 1: Code for altering responses based on select type demographics:** 510 + 511 +\\ 512 + 309 309 **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. 310 310 311 311 \\ ... ... @@ -377,4 +377,79 @@ 377 377 * removeInitial is assigned only once at the beginning of the script. 378 378 * All the code must be included in form extra script area. 379 379 584 +**Example 2: Code for removing an option from the form** 585 + 380 380 \\ 587 + 588 +**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. 589 + 590 +\\ 591 + 592 +**Example Sample Code:** 593 + 594 +(% class="p1" %) 595 +var removeId = document.getElementsByClassName("labelId"); 596 + 597 +(% class="p1" %) 598 +for(var i = 0; i < removeId.length; i++){ 599 + 600 +(% class="p1" %) 601 +if(removeId[i].innerText(% class="apple-converted-space" %) (%%)== "RemoveMePlaceHolder"){ 602 + 603 +(% class="p1" %) 604 +removeId[i].parentNode.style.display="none"; 605 + 606 +(% class="p1" %) 607 +} 608 + 609 +(% class="p1" %) 610 +}~/~/end of for loop 611 + 612 +\\ 613 + 614 +**Steps:** 615 + 616 +* Initialize a variable to grab all the instances of the id from the form you want hidden. 617 +** var removeId = document.getElementsByClassName("labelId"); //(notice the semi-color)// 618 +** removeId: name of variable (//you can choose a name of your choice, but remember to be consistent with the use through the code//) 619 +** labelId: replace this with the id of the field you want checked/removed 620 +** getElementsByClassName: property of javascript that allows you to get elements by the class name property 621 +* Traverse through the array of the gathered instances (of removeId), and check for the corresponding text by comparing the innerText property to "RemoveMePlaceHolder" 622 +** removeId[i].innerText(% class="apple-converted-space" %) (%%)== "RemoveMePlaceHolder" (//check for matches//) 623 +** RemoveMePlaceHolder: replace this with the text you want hidden 624 +* If a match is found, then grab its parentNode 625 +** removeId[i].parentNode 626 +** [i] is the index of the array where the match was found, during traversal 627 +* Change the style of the parentNode to display it as none. This keeps the field hidden in your forms. 628 +** removeId[i].parentNode.style.display="none"; (//notice the semi-color//) 629 + 630 +\\ 631 + 632 +**Note:** 633 + 634 +* All the code must be included in the form Extra Script field. 635 +* The code is to be inserted in the forms in which the value need not been shown or hidden 636 + 637 += DYNAMIC/PROGRESSIVE LOOK-UP: = 638 + 639 +This is a feature provided by ONECount. 640 + 641 +A check is performed after two pieces of data is entered in the form. 642 + 643 +This check looks-up the database till a match is found. Once it does, the user is asked to confirm. 644 + 645 +The user can choose to log in by clicking on the 'Lookup' link. 646 + 647 +[[image:attach:VerifyBox-LookupOption1.png||height="150"]] 648 + 649 +If the Lookup is clicked, the user is taken to the Lookup/Sign-in page, that may appear as shown below: 650 + 651 +[[image:attach:Sign in:Lookup page.png||height="150"]] 652 + 653 +This is similar to the Verification Box that pops up if the 'Email Exists' tag is selected when adding Demographic 'Email'. A similar pop-up as shown below appears: 654 + 655 +[[image:attach:VerifyEmailExists-2.png||height="150"]] 656 + 657 +The Lookup link takes you to the login/sign-in page. 658 + 659 +\\
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -77496 3651 +77496878 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/77496 365/Copy of New Form Builder1 +https://info.onecount.net//wiki/spaces/OD/pages/77496878/Copy of New Form Builder