Page tree
Skip to end of metadata
Go to start of metadata


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 Form’s 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.



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.



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. 
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.


Form-related tasks include:

  • creating database fields/questions available for placement in online forms; (See Questions - Create and Manage Questions for more detail.)
  • creating new forms;
  • managing existing forms;
  • creating source codes that are used to track the source of a name/transaction;
  • and creating individually branded, designed forms.


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 and creating branded forms is handled under Brands. All of these tools are found under INVENTORY.


PHASE A: Defining the Form


  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.
  2. 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.
  3. 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.
  4. OPTIONAL: If you want to direct users to a specific page after submitting the form, then place the url into the redirect url field.
  5. Select a submission option ***********
  6. Show only relevant products *********
  7. 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.
    1. a.     Enter Acknowledgement Email Information. (See Items B-C below.)
    2. 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.
    3. Enter the subject of the email in "New Thank You Email Subject" field.
      Enter the content of the email in "New Thank You Email" field. 
      Body markers that may be used in the text are as follows:
      %%USERNAME%% – will replace the body marker %%USERNAME%% with the subscriber's username.
      %%PASSWORD%% – will replace the body marker %%PASSWORD%% with the subscriber's password.
      %%ONECOUNTID%% – will replace the body marker %%ONECOUNTID%% with the subscribers account number/ONEcount ID.
      %%RECEIPTDISPLAY%% – will replace the body marker %%RECEIPTDISPLAY%% with a receipt for purchase amount, if any.
      %%%PASSWORDRESETLINK%%% – will replace the body marker %%%PASSWORDRESETLINK%%% with a unique link to reset the user's password.
      Enter the subject of the email in the "Update Thank You Email Subject" field.
      Enter the content of the email in the "Update Thank You Email" field.
    4. STATUS: Activate the Form for user access or disable the form.



PHASE B: Adding Demographic Questions.


  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.
  2. 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.
  3. AUTO POPULATE: You may choose to have fields auto populated for identified users by setting the auto populate switch to yes.
  4. To add additional questions, click the “Add” button in the top right hand corner.
  5. To remove a question click the “X” at the end of the respective row.


PHASE C: Add Products and Packages.

In this phase, you can add a single product or package, or a combination of multiple products and packages.

PRODUCTS: Add a single product resource, like a e-newsletter, webinar, whitepaper or single issue magazine purchase. Optional: to have a product automatically selected, choose which option to have selected using the “Pre-Selection” dropdown.

 

  1. Choose a template for how you want product options displayed. Examples of template types are in the images below. ********
  2. Select the first product you would like to include on the form. All the products created within ONEcount will appear in the product drop down. To search for a specific product, you can type the product name or ID number into the field.
  3. Preselection ********
  4. To add additional products- click the add product button in the right hand corner.
  5. To remove a product, click an X


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.

  1. Choose a template for how you want Package options displayed. Examples of template types are in the images below. ********
  2. Select the first package you would like to include on the form. All the packages created within ONEcount will appear in the product drop down. To search for a specific product, you can type the package name or ID number into the field.
  3. Preselection ******** Term/Type
  4. To add additional packages- click the add product button in the right hand corner.
  5. To remove a package, click the X


Pre-selection of Products and Packages with query string 

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:

&terms=991,1002

Similarly, to preselect the products via the query string, a comma-separated value of product ids can be passed as well on parameter name "prods". The given product id should be present on the created form. The product ids can be appended on the URL as:

&prods=10001,20001



PHASE D: Designing the Form

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.


To create additional content areas, start by adding a “Grid Template” from the Elements menu.


ELEMENTS MENU


To add elements, like titles, text blocks, images/logos, products/packages, or questions/fields use the Elements menu (image).

  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.
  2. 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.
    1. 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.
    2. 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.
    3. Adding Images, first drag the image icon from the Elements Menu and place it where you want an image to be placed.
      1.  A pop-up window will open with a library of images already added.
      2. 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.
      3. After uploading an image file, select the image from the image library list on the right hand side.
      4. After selecting your image, click the “X” button to close the image library. Your image will be placed in the image content block.
      5. To add Questions/Fields drag the questions you have selected during Phase 2, “Add Demographics”, from the “Demographics” section of the Elements menu.
        1. It is recommended to place each Question in individual Grid Templates (single or multiple column).
        2. To add additional questions, return to Phase 2 “Add Demographics”.



STYLE MENU

To customize the design or CSS styles like dimensions, typography and colors use the CSS editor ().

  1. First, select which element you would like to modify. Elements can be designed at the Grid Template, Content Block, Product/Package, or Question level. Then click on the paint-brush tool on the upper-right nav bar of the form builder.
  2. Elements sharing common “classes” will be globally changed when edited. To edit the appearance of just a single content block either remove classes or select the element individually.
  3. DIMENSION: Edit the margin and padding size of content blocks or Grid Templates. Adjustments can be made by using either pixel or percentage.
    1. Click on the “px” or “%” to switch units.
    2. TYPOGRAPHY: Edit fonts, font sizing, font color, alignment, and other typographical styling.
    3. DECORATIONS: Edit background colors, borders of content blocks or individual elements.
      1. 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.


To alter the text of a button (like a submit, etc) select the button and click on the gear icon on the upper-right:


To preview, click the Preview link at the top.

Elements Menu: (add the four square image).  The Component Manager

ADDING LINKS TO FORMS

  1. Select the text that you would like to hyperlink. Then click the hyperlink button () that appears last on the black edit bar.
  2. Next, deselect the content block.
  3. Now, click the linked text.
  4. Open the component settings by clicking the gear icon at the top. ()
  5. 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.

TO DUPLICATE A FORM

  1. From the “Manage Forms” page click the copy icon at the end of the row for the form you wish to copy. ()


TO EDIT A FORM


  1. Click the Pencil Icon () towards the end of the row of the Form that you wish to edit. ()

DELETING A FORM

  1. Click on the Trash Icon () towards the end of the row of the Form that you wish to delete. ()


 

New Form Builder Notes:

Along with customization and new product templates it does:

  • Registration
  • Subscription, Unsub and Renew
  • Login, Lookup
  • Progressive lookup
  • Smartlink login
  • Redirect to landing and sending email after form submission
  • Payment

CREATE LANDING PAGE FOR FORM:

To create landing page for form, select template type as Landing Page in form-builder Add Product & Package tab as shown in image below:


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.


The images on the design is from the URL present to that package or product as shown in image below.


ADDING BRAND HEADER AND FOOTER TO FORMS:

There are two ways to add brand header and footer to form builder forms.

  • You can add brand id at the end of Form URL to automatically apply brand header and footer for the form.

Ex: https://client.onecount.net/ /onecount/form/display.php?id=53464b88-c391-479f-82cf-e1cd19a870cd&brand=brandid

  • By selecting a brand from the dropdown present in tab definition tab.


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.


CREATING POPUPS USING FORM BUILDER:

These popups are used in action manager for targeting and for gating products. Below are the steps to create form which behaves as popup.

  • Select the type of form from the dropdown in Form Definition tab.
  • If form type is popup then popup config fields are displayed. Below are the fields which define behavior of popup.
    • Popup Width - It define width of a popup.
    • Popup Height – It define height of a popup.
    • Popup Horizontal Position - It define the horizontal position of popup on screen.
    • Popup Vertical Position – It define the vertical position of popup on screen.
    • Popup Slide Position – It define from which side popup should slide before appearing on position.
    • Popup Delay – It define how much time popup should take to appear on screen.
Prerequisite: As these forms appear as popup on the client site, you will need to add a CNAME record in your domain's DNS so that the pop-up and form code can be loaded from our servers into your domain. So if your domain is abc.com, you will need to add a CNAME record mapping oc.abc.com to <client>-reg.onecount.net. Then this is done, any request going to oc.abc.com will actually to go your registration server at <client>-reg.onecount.net for loading the pop-up code and setting cookies.
·      Popup setup for gating: Once popup is created you need to create the Packages/Products for gated content. While creating the Package/product you need to select “Form” as “Primary Form or Landing Url” option. Then select the popup form created in the previous step. A text box will be displayed as below
You can use this to ensure CNAME set up is done correctly. This box will be auto filled with <client>-reg.onecount.net but If you need to gate a page or section on site abc.com then enter oc.abc.com in text box (because popup will appear on abc.com, 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.
·      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 then enter oc.abc.com in Target Domain. We will check if CNAME set up is done correctly, if not error will be warning. 

Extra Scripts/Extra Styles:
These boxes allow you to add additional Javascript code or CSS to your forms to alter the appearance or function of the form.


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.

Code for altering responses based on select type demographics:


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.


Example Sample Code:


removeInitial = [1043,859,659,683,699,707,723,731,747,771,779,787,795,867,915,739,763,1059,1075,1083,1091,755];


var hcpObj = {

"dropDownId" : 1051,

"whenSelcectedItem" : [{

"Yes" : [659],

"No" : [683],

}],

"itemsDisplayWhenSelected" : [659,683,699,707,723,859,731,915,867,747,787,1043,779,771,795,739,763,1059,1075,1083,1091,755]

};

document.getElementById("q_id_1051").onchange = function(){autoDropDown(hcpObj)};


var hcpNoObj = {

"dropDownId" : 683,

"whenSelcectedItem" : [{

"Patient Role" : [1059,1211],

}],

"itemsDisplayWhenSelected" : [659,699,707,723,859,731,915,867,747,787,1043,779,771,795,739,763,1059,1075,1083,1091,755]

};

document.getElementById("q_id_683").onchange = function(){autoDropDown(hcpNoObj)};



Steps:

  • Initialize removeInitial variable and pass an array of demographics ids which you want to hide when form is loaded.
  • Create an object with any name and this object should contain 3 elements
  1. dropDownId – You need to pass an id of select type whose action must be taken.
  2. whenSelectedItem – You need an array of object this will be the response for the each select type from the dropdown. Key will be the response type and value will be the array of demographics id which should appear when this key is selected.
  3. ItemsDisplayWhenSelected – This is array of demographics id, ids which are hidden before selecting the action for the demographic select type.
  • getElementById("q_id_1051") – 1051 will be the demographics id which will be same as dropDownId.
  • 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.


Note:

  • removeInitial is assigned only once at the beginning of the script.
  • All the code must be included in form extra script area.


  • No labels