Changes for page Form Builder
Last modified by Sachin Patil on 2024/08/30 07:28
From version 21.7
edited by Sachin Patil
on 2024/08/30 06:46
on 2024/08/30 06:46
Change comment:
There is no comment for this version
To version 21.1
edited by Admin
on 2023/08/14 17:46
on 2023/08/14 17:46
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. sachin1 +XWiki.Admin - Content
-
... ... @@ -1,3 +1,4 @@ 1 + 1 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 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. ... ... @@ -6,6 +6,7 @@ 6 6 7 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.** 8 8 10 +\\ 9 9 10 10 Form-related tasks include: 11 11 ... ... @@ -15,10 +15,13 @@ 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 20 +\\ 21 + 18 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 19 19 20 20 [[image:attach:Form-builder-nav.png||height="250"]] 21 21 26 +\\ 22 22 23 23 **STEP 1: Defining the Form** 24 24 ... ... @@ -28,10 +28,11 @@ 28 28 29 29 //A Form landing page above.// 30 30 31 -[[image: 1725014789095-972.png]]36 +__[[image:attach:form-builder-pop-up.png||width="800"]]__ 32 32 33 33 //A pop-up landing page above.// 34 34 40 +\\ 35 35 36 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 37 ... ... @@ -44,66 +44,24 @@ 44 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 45 * **Slide Positon:** This describes what part of the screen the pop-up will appear from (ie., enter stage-left) 46 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 . 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. 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. 51 -* ((( 52 -**Pop-up Close Button Definition :*** 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 -))) 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 :** 87 - 88 -* 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 -))) 93 - 94 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. 95 95 96 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. 97 97 58 +\\ 98 98 99 99 [[image:attach:selection-required.png||height="216"]] 100 100 62 +\\ 101 101 64 +\\ 102 102 103 103 Step 2: Define your demographic questions. 104 104 105 105 [[image:attach:AddingDemoQuesAuf22.png||height="400"]] 106 106 70 +\\ 107 107 108 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 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. ... ... @@ -113,6 +113,8 @@ 113 113 1. You can not edit a row once it had been created; if you find an error, you must delete it 114 114 1. The order of the questions on this page is not important. 115 115 80 +\\ 81 + 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 98 +\\ 99 + 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 108 +\\ 109 + 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 118 +\\ 148 148 120 +\\ 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 130 +\\ 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 136 +\\ 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 149 +\\ 150 + 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 157 +\\ 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 165 +(% style="margin-left: 40.0px;" %) 166 +\\ 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 177 +\\ 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 209 +(% style="margin-left: 40.0px;" %) 210 +\\ 229 229 212 +\\ 230 230 231 231 ELEMENTS MENU 232 232 216 +\\ 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,18 +263,20 @@ 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 250 +(% style="margin-left: 80.0px;" %) 251 +\\ 266 266 253 +(% style="margin-left: 80.0px;" %) 254 +\\ 267 267 268 -=== === 256 +=== 257 + === 269 269 270 -=== === 271 - 272 272 {{id name="click-thru-button"/}} 273 273 274 -=== === 261 +=== 262 + === 275 275 276 -=== === 277 - 278 278 {{id name="click-thru-button"/}} 279 279 280 280 === Click-Thru Button === ... ... @@ -285,6 +285,7 @@ 285 285 286 286 [[image:attach:submit-button-tool.png||thumbnail="true" height="250"]] 287 287 274 +\\ 288 288 289 289 Now click on the button, and click on the gear icon above the tool bar. 290 290 ... ... @@ -294,25 +294,8 @@ 294 294 295 295 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. 296 296 284 +\\ 297 297 298 -=== Click-Thru Image : === 299 - 300 -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 301 - 302 -First we need to drag the link-box and the inside it we need to drag image. 303 - 304 -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. 305 - 306 - 307 -=== Close pop-up after Action: === 308 - 309 -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. 310 - 311 - 312 -$("#button or image id or element id").click(function(){ 313 -setInterval(function(){window.parent.postMessage("closepopup", "*");},1000); 314 -}); 315 - 316 316 === TEMPLATES MENU === 317 317 318 318 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. ... ... @@ -319,6 +319,7 @@ 319 319 320 320 [[image:attach:TEMPLATES menu Aug22.png||thumbnail="true" height="250"]] 321 321 292 +\\ 322 322 323 323 To use a template, drag-n-drop the preferred template from the right-hand panel to the canvas. 324 324 ... ... @@ -326,6 +326,7 @@ 326 326 327 327 [[image:attach:Drag-n-DropTemplate.png||height="250"]] 328 328 300 +\\ 329 329 330 330 The various types of templates include: 331 331 ... ... @@ -340,6 +340,7 @@ 340 340 341 341 Please Note: For ease of use, please ensure the canvas is empty before the drag-n-drop. 342 342 315 +\\ 343 343 344 344 STYLE MENU 345 345 ... ... @@ -355,10 +355,13 @@ 355 355 11. DECORATIONS: Edit background colors, borders of content blocks or individual elements. 356 356 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. 357 357 331 +\\ 332 + 358 358 To alter the text of a button (like a submit, etc) select the button and click on the gear icon on the upper-right: 359 359 360 360 [[image:attach:editor-object-settings.png||height="250"]] 361 361 337 +\\ 362 362 363 363 To preview, click the Preview link at the top. 364 364 ... ... @@ -372,6 +372,8 @@ 372 372 1. Open the component settings by clicking the gear icon at the top. () 373 373 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. 374 374 351 +\\ 352 + 375 375 PHASE E: EMAIL CONFIRMATION 376 376 377 377 The Email Confirmation tab is used to fill out details of the confirmation email. ... ... @@ -392,6 +392,8 @@ 392 392 Enter the subject of the email in the "Update Thank You Email Subject" field. 393 393 Enter the email address for BCC in the "Email Confirmation BCC" field. 394 394 373 +\\ 374 + 395 395 PHASE F: DESIGNING THANK YOU PAGE 396 396 397 397 The 'ThankYou Page Design' tab helps in designing a thank you page after form has been submitted. ... ... @@ -412,6 +412,7 @@ 412 412 413 413 [[image:attach:FormDefn-TYURLAug23.png||height="250"]] 414 414 395 +\\ 415 415 416 416 2. Choose a preferred template from the 'Thank you Page Design' tab. If step 1. is not provided, step 2. takes priority, if provided. 417 417 ... ... @@ -431,17 +431,23 @@ 431 431 432 432 [[image:attach:TYDeleteIconAug23.png||height="250"]] 433 433 415 +\\ 434 434 435 435 Please [[click here>>attach:formBuilder-TYSelectDelete-Rayaan-OC2201.mp4]] to view video showing how to select and delete a 'Thankyou Page Design.' 436 436 419 +\\ 437 437 421 +\\ 438 438 439 439 TO DUPLICATE A FORM 440 440 441 441 1. From the “Manage Forms” page click the copy icon at the end of the row for the form you wish to copy. () 442 442 427 +\\ 428 + 443 443 TO EDIT A FORM 444 444 431 +\\ 445 445 446 446 1. Click the Pencil Icon () towards the end of the row of the Form that you wish to edit. () 447 447 ... ... @@ -449,6 +449,8 @@ 449 449 450 450 1. Click on the Trash Icon () towards the end of the row of the Form that you wish to delete. () 451 451 439 +\\ 440 + 452 452 **~ ** 453 453 454 454 (% style="margin-left: 0.0px;" %) ... ... @@ -455,7 +455,7 @@ 455 455 ((( 456 456 (% class="pagetitle with-breadcrumbs" %) 457 457 ((( 458 -(% id="HNewFormBuilderNotes:"class="with-breadcrumbs" %)447 +(% class="with-breadcrumbs" %) 459 459 = New Form Builder Notes: = 460 460 ))) 461 461 ))) ... ... @@ -482,16 +482,19 @@ 482 482 483 483 [[image:attach:image2020-10-9_14-8-52.png||height="250"]] 484 484 474 +\\ 485 485 486 486 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. 487 487 488 488 [[image:attach:image2020-10-9_14-9-30.png||height="250"]] 489 489 480 +\\ 490 490 491 491 The images on the design is from the URL present to that package or product as shown in image below. 492 492 493 493 [[image:attach:image2020-10-9_14-9-51.png||height="250"]] 494 494 486 +\\ 495 495 496 496 = ADDING BRAND HEADER AND FOOTER TO FORMS: = 497 497 ... ... @@ -503,8 +503,11 @@ 503 503 504 504 * By selecting a brand from the dropdown present in tab definition tab. 505 505 498 +\\ 499 + 506 506 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. 507 507 502 +\\ 508 508 509 509 = CREATING POPUPS USING FORM BUILDER: = 510 510 ... ... @@ -525,13 +525,14 @@ 525 525 526 526 ===== 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. ===== 527 527 528 -===== · 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 +===== · 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. ===== 529 529 530 -**Extra Scripts/Extra Styles: **531 -These boxes allow you to add additional Javascript code or CSS to your forms to alter the appearance or function of the form. 525 +**Extra Scripts/Extra Styles: 526 +**These boxes allow you to add additional Javascript code or CSS to your forms to alter the appearance or function of the form. 532 532 533 533 [[image:attach:image2020-10-9_14-10-26.png||height="250"]] 534 534 530 +\\ 535 535 536 536 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. 537 537 ... ... @@ -539,18 +539,23 @@ 539 539 540 540 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. 541 541 538 +\\ 542 542 543 543 **Example 1: Code for altering responses based on select type demographics:** 544 544 542 +\\ 545 545 546 546 **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. 547 547 546 +\\ 548 548 549 549 **Example Sample Code:** 550 550 550 +\\ 551 551 552 552 removeInitial = [1043,859,659,683,699,707,723,731,747,771,779,787,795,867,915,739,763,1059,1075,1083,1091,755]; 553 553 554 +\\ 554 554 555 555 var hcpObj = { 556 556 ... ... @@ -570,6 +570,7 @@ 570 570 571 571 document.getElementById("q_id_1051").onchange = function(){autoDropDown(hcpObj)}; 572 572 574 +\\ 573 573 574 574 var hcpNoObj = { 575 575 ... ... @@ -587,7 +587,9 @@ 587 587 588 588 document.getElementById("q_id_683").onchange = function(){autoDropDown(hcpNoObj)}; 589 589 592 +\\ 590 590 594 +\\ 591 591 592 592 **Steps:** 593 593 ... ... @@ -601,6 +601,8 @@ 601 601 * getElementById("q_id_1051") – 1051 will be the demographics id which will be same as dropDownId. 602 602 * 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. 603 603 608 +\\ 609 + 604 604 **Note:** 605 605 606 606 * removeInitial is assigned only once at the beginning of the script. ... ... @@ -608,9 +608,11 @@ 608 608 609 609 **Example 2: Code for removing an option from the form** 610 610 617 +\\ 611 611 612 -**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. 619 +**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. 613 613 621 +\\ 614 614 615 615 **Example Sample Code:** 616 616 ... ... @@ -632,6 +632,7 @@ 632 632 (% class="p1" %) 633 633 }~/~/end of for loop 634 634 643 +\\ 635 635 636 636 **Steps:** 637 637 ... ... @@ -649,6 +649,8 @@ 649 649 * Change the style of the parentNode to display it as none. This keeps the field hidden in your forms. 650 650 ** removeId[i].parentNode.style.display="none"; (//notice the semi-color//) 651 651 661 +\\ 662 + 652 652 **Note:** 653 653 654 654 * All the code must be included in the form Extra Script field. ... ... @@ -676,3 +676,4 @@ 676 676 677 677 The Lookup link takes you to the login/sign-in page. 678 678 690 +\\
- 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