Home > Articles > Web Development

Dojo Made Easy

This chapter is from the book

Dojo Extensions to the Edit Box Control

Many controls extend the Edit Box control, whether for storing text values, number values, or date/time values. These controls are not used in the TeamRoom database, so we will review the Extension Library demo database, which is available from OpenNTF. Specifically, we will review the Core_DojoFormControls.xsp XPage.

Dojo Text Box (xe:djTextBox)

The Dojo Text Box control is an excellent example of a control that appears to be simple but can provide functionality not available in the core Edit Box control. In most implementations, all that is required is to drag and drop it onto the XPage or custom control.

When you look at the properties available and compare them to the core Edit Box control, some differences become apparent. Table 5.1 describes the main properties that are standard across the Dojo widgets.

Table 5.1. Dojo Widget Properties

Property

Description

alt

Holds alternate text if the browser cannot display the control; uncommon for form controls.

waiRole

Defines the WAI-ARIA role for the control. For more information on WAI-ARIA, see http://www.w3.org/WAI/.

waiState

Defines the WAI-ARIA state of the control. For more information on WAI-ARIA, see http://www.w3.org/WAI/.

trim

Removes leading or trailing spaces, but not duplicate spaces within the field’s value.

dragRestriction

If true, prevents the field from being draggable.

intermediateChanges

If true, triggers the onChange event for each value change.

tooltip

For most controls, such as Dojo Text Box, the title property is used to add hover text. Some controls, such as the Dojo Tab Pane, use the title property for the tab label. For those controls, this tooltip property is used instead to add hover text.

Table 5.2 describes the properties specific for the Dojo Text Box controls. On the All Properties panel of the Dojo Text Box, the data category contains the same properties as the Edit Box (xp:inputText) control. But a smaller subset of properties is listed under the basics category. Some of the options, including autocomplete, password, htmlFilterIn, and htmlFilter—visible on an Edit Box control—are not available for this control. Note that some properties like readonly and maxlength are camel case for the Dojo controls and become readOnly and maxLength on the Dojo Text Box control.

Table 5.2. xe:djTextBox Properties

Property

Description

lowercase

If true, the field’s value is converted to lowercase when the user exits the field.

propercase

If true, the field’s value is converted to propercase when the user exits the field.

uppercase

If true, the field’s value is converted to uppercase when the user exits the field.

The Dojo Text Box also offers some additional properties. Some properties, such as alt, tabIndex, title, waiRole, and waiState, are standard for the Dojo extended controls, always appearing under the accessibility category. WAI might be unfamiliar to some Domino developers who are not used to web development. WAI is an initiative by the World Wide Web Consortium (W3C) to ensure that websites follow accessibility guidelines. This has been extended for applications by Web Accessibility Initiative—Accessible Rich Internet Applications (WAI-ARIA), which differentiates applications from static web pages. It is not yet standard, but it is good practice. A full taxonomy of roles (http://www.w3.org/WAI/PF/GUI/roleTaxonomy-20060508.html) and states (http://www.w3.org/WAI/PF/adaptable/StatesAndProperties-20051106.html) is available on the W3C site. The good news is that even if you do not define the waiRole and waiState properties on the Dojo extended controls, default roles and states are added. But, if required, the properties are exposed to allow you to override the defaults.

Other properties are exposed that offer additional functionality over the Edit Box control or even the standard TextBox control in the Dojo toolkit. In the basics category, the maxLength property enables developers to ensure that users are restricted to a certain number of characters. This is triggered on key press, so rather than alerting users after they have left the field, the user physically cannot type more characters than you allow. However, bear in mind that if the field should include punctuation, decimal separators, and so on, each counts as one character. You can use the trim property to remove any leading or trailing spaces. It does not remove duplicate spaces within the string.

The dojo category is expanded from the Edit Box control with some additional Dojo properties: dragRestriction, intermediateChanges, and tooltip. These properties are standard for the Dojo widgets and may not be appropriate for all controls. For example, the tooltip property is used only for controls such as the Dojo Tab Pane, where the title property has a different function than applying hover text. The format category provides boolean properties lowercase, uppercase, and propercase to force case conversion. The formatting takes effect as soon as the user exits the field.

Some of the differences in the events category between the Edit Box control and the Dojo Text Box control are just minor. Properties like onfocus, onblur, onchange, and onclick become onFocus, onBlur, onChange, and onClick. It’s not a major difference, and indeed there is no difference in implementation. But there are a few additions. The mousing events are supplemented by onMouseEnter and onMouseLeave, ostensibly no different from onMouseOver and onMouseOut. A simple alert statement will show that the onMouseOver event is triggered before the onMouseEnter event. Likewise, onMouseOut is triggered before onMouseLeave.

Dojo Validation Text Box (xe:djValidationTextBox)

There are no prizes for guessing that the Dojo Validation Text Box control is similar to the Dojo Text Box control, except that it adds validation. All the properties we outlined on the Dojo Text Box control are available, including those for dynamically setting the value to lowercase, uppercase, or propercase and trimming the value.

However, the Dojo Validation Text Box is not, by default, mandatory. Initially, this sounds incomprehensible. What’s the point of the Dojo Validation Text Box if it’s not validated? But if we investigate a little further, we will come across the promptMessage property. This enables the developer to add a message for the user. At runtime, this is delivered to the user by default as a tooltip, as in Figure 5.6.

Figure 5.6

Figure 5.6. Dojo Validation Text Box promptMessage.

Basic validation is managed in the same way as for any other input control: by using the required property. But validation for the traditional Edit Box control is handled on the client or the server, as determined by the developer in the Application Properties or the administrator in the Server Settings. In the Dojo Validation Text Box, validation is always handled Client-Side, even if client validation is switched off in the Application Properties. That is because the Dojo Validation Text Box is a Dojo control, and Dojo validation runs Client-Side (because Dojo is a set of Client-Side JavaScript libraries). So as soon as the user tabs out of the field, the validation is triggered and the field is highlighted, as in Figure 5.7. As with the dijit. form.ValidationTextBox Dojo module, an error message in the invalidMessage property has no effect if the control just has the required property set to "true" but no other validation applied.

Figure 5.7

Figure 5.7. Dojo Validation Text Box error message.

But the Dojo Validation Text Box doesn’t just validate that a value has been entered. In the dojo-widget category, the regExp property takes as its value a regular expression, a standard web development validation notation that is designed to be agnostic of programming language. The regExpGen property can generate a regular expression using Client-Side JavaScript. Rather than researching and typing a regular expression, Dojo provides some prebuilt objects for validating standard regular expressions, such as dojo.regexp.realNumber and dojo.regexp.ipAddress. These can be found in files like dojo.number and dojox.validate, all of which extend dojo.regexp, the object that defines the function to validate against regular expressions. For example, Listing 5.6 takes the ipAddress function in dojox.validate.regexp.js, amending it only to expect no parameters. As a function in the regExpGen property, this code will validate that the user enters a valid IP address, without the need to work out or type in the relevant regular expression. As with traditional XPages validation, there is a default, but developers can also provide their own message, using the invalidMessage property.

Listing 5.6. Validating an IP Address

<xe:djValidationTextBox
   value="#{sessionScope.djValidationTextBox1}"
   invalidMessage="Please enter a valid ip address">
   <xe:this.regExpGen><![CDATA[// summary: Builds an RE that matches an
IP address
//
// description:
//  Supports five formats for IPv4: dotted decimal, dotted hex, dotted
octal, decimal, and hexadecimal.
//  Supports two formats for Ipv6.
//
// flags An object. All flags are boolean with default = true.
//    flags.allowDottedDecimal Example, 207.142.131.235. No zero
padding.
//    flags.allowDottedHex  Example, 0x18.0x11.0x9b.0x28. Case
insensitive. Zero padding allowed.
//    flags.allowDottedOctal Example,  0030.0021.0233.0050.  Zero
padding allowed.
//    flags.allowDecimal  Example,3482223595. A decimal number between
0-4294967295.
//    flags.allowHex  Example, 0xCF8E83EB. Hexadecimal number between
0x0-0xFFFFFFFF.
//      Case insensitive. Zero padding allowed.
//    flags.allowIPv6   IPv6 address written as eight groups of four
hexadecimal digits.
//    FIXME: ipv6 can be written multiple ways IIRC
//    flags.allowHybrid   IPv6 address written as six groups of four
hexadecimal digits
//      followed by the usual four dotted decimal digit notation of
IPv4. x:x:x:x:x:x:d.d.d.d

// assign default values to missing parameters
flags = {};
if(typeof flags.allowDottedDecimal != "boolean"){
flags.allowDottedDecimal = true; }
if(typeof flags.allowDottedHex != "boolean"){ flags.allowDottedHex =
true; }
if(typeof flags.allowDottedOctal != "boolean"){ flags.allowDottedOctal
= true; }
if(typeof flags.allowDecimal != "boolean"){ flags.allowDecimal = true;
}
if(typeof flags.allowHex != "boolean"){ flags.allowHex = true; }
if(typeof flags.allowIPv6 != "boolean"){ flags.allowIPv6 = true; }
if(typeof flags.allowHybrid != "boolean"){ flags.allowHybrid = true; }
// decimal-dotted IP address RE.
var dottedDecimalRE =
// Each number is between 0-255. Zero padding is not allowed.
    "((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-
9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";

// dotted hex IP address RE. Each number is between 0x0-0xff. Zero
padding is allowed, e.g. 0x00.
var dottedHexRE = "(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-
fA-F]?[\\da-fA-F]";

// dotted octal IP address RE. Each number is between 0000-0377.
// Zero padding is allowed, but each number must have at least four
characters.
var dottedOctalRE = "(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]";

// decimal IP address RE. A decimal number between 0-4294967295.
var decimalRE =  "(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-
8]\\d{7}|429[0-3]\\d{6}|" +
   "4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-
6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])";

// hexadecimal IP address RE.
// A hexadecimal number between 0x0-0xFFFFFFFF. Case insensitive. Zero
padding is allowed.
var hexRE = "0[xX]0*[\\da-fA-F]{1,8}";

// IPv6 address RE.
// The format is written as eight groups of four hexadecimal digits,
x:x:x:x:x:x:x:x,
// where x is between 0000-ffff. Zero padding is optional. Case
insensitive.
var ipv6RE = "([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}";

// IPv6/IPv4 Hybrid address RE.
// The format is written as six groups of four hexadecimal digits,
// followed by the 4 dotted decimal IPv4 format. x:x:x:x:x:x:d.d.d.d
var hybridRE = "([\\da-fA-F]{1,4}\\:){6}" +
    "((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-
9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";

// Build IP Address RE
var a = [];
if(flags.allowDottedDecimal){ a.push(dottedDecimalRE); }
if(flags.allowDottedHex){ a.push(dottedHexRE); }
if(flags.allowDottedOctal){ a.push(dottedOctalRE); }
if(flags.allowDecimal){ a.push(decimalRE); }
if(flags.allowHex){ a.push(hexRE); }
if(flags.allowIPv6){ a.push(ipv6RE); }
if(flags.allowHybrid){ a.push(hybridRE); }
var ipAddressRE = "";
if(a.length > 0){
    ipAddressRE = "(" + a.join("|") + ")";
}
return ipAddressRE; // String]]></xe:this.regExpGen>
</xe:djValidationTextBox>

Alternatively, if developers already have a prexisting Client-Side JavaScript function to validate the value entered, the validatorExt property in the dojo-widget category provides an extension point to call the function. The beauty of this is that developers only need to enter a Client-Side JavaScript object that is a function; the XPage runs the validation in all the events that are appropriate. This speeds up development and minimizes the effort of refactoring.

By default, your validation triggers only when the user has finished editing the field. To trigger validation or other events with each key press, you can set intermediateChanges to true. (By default, it is false.)

On top of all this, the validator and validators properties still exist for core XPages validation. Overall, the Dojo Validation Text Box provides an extremely flexible mechanism for validating the control while maintaining the Dojo look and feel.

Two additional formatting properties are available: displayMessageExt and tooltipPosition. The tooltipPosition property defines the position relative to the field in which any tooltip messages will appear. With the displayMessageExt property, a developer can write a Client-Side JavaScript function to override the appearance of the prompts and validation error messages.

Table 5.3 summarizes the additional properties of the Dojo Validation Text Box, extending those already covered under the Dojo Text Box.

Table 5.3. xe:djValidationTextBox Properties

Property

Description

promptMessage

Enables developers to add a field hint to users when they enter the field.

invalidMessage

Enables a developer to add an error message if any field validation fails. The message will not appear if the only validation applied is required=“true”.

validatorExt

Holds a Client-Side JavaScript function to extend validation.

regExp

Holds a regular expression with which to validate the value the user entered.

regExpGen

Holds Client-Side JavaScript, which returns a regular expression with which to validate the value the user entered.

displayMessageExt

Holds Client-Side JavaScript to customize the display of Dojo prompt or validation messages.

tooltipPosition

The position relative to the field with which to display any prompt or validation messages.

Dojo Number Text Box, Dojo Currency Text Box (xe:djNumberTextBox and xe:djCurrencyTextBox)

The Dojo Number Text Box and Dojo Currency Text Box controls extend the Dojo Validation Text Box still further in relation to validating numeric values. All the validation methods we have covered are already available, although the required property is virtually redundant, because a blank value is translated to 0 on save. But the power of the Dojo Number Text Box lies in the xe:djNumberConstraints extension. It is a complex property comprising a variety of child properties, as can be seen in Figure 5.8. The significant property, as shown, is type. This determines the output format from the control, but because of an issue with Dojo, scientific is not yet supported. Similarly, the value currency and the related properties currency and symbol are only applicable for the Dojo Currency Text Box.

Figure 5.8

Figure 5.8. xe:djNumberConstraints.

The main strength of the xe:djNumberConstraints extension, whose properties are shown in Table 5.4, is enforcing appropriate data entry by the user. Percentages can be messy to enforce, handling the percentage sign if users do or do not enter it, manipulating the value for subsequent calculations, and so on. Setting type to percent gets around this by ensuring the user enters a number followed by the percentage sign, such as “50%”, which the control then converts to the decimal value “0.5”. Likewise, specifying a pattern or places can translate the value entered by the user into an expected format, such as with a certain number of leading zeros or decimal places. With use of min and max, the entered value can be validated against a range, with an appropriate message defined in the rangeMessage property, specific for these controls. See Figure 5.9.

Table 5.4. xe:djNumberConstraints Properties

Property

Description

currency

Defines the relevant currency symbol to be applied to the field. The value should be a three-character ISO 4217 currency code, such as GBP. This property relates only to the Dojo Currency Text Box.

fractional

Defines whether to include the fractional portion, for Dojo Currency Text Box only.

locale

The locale to be applied to determine formatting rules for the field’s value, one of the extraLocale values loaded in the Dojo config.

max

Defines the maximum value allowed for the field.

min

Defines the minimum value allowed for the field.

pattern

Defines the formatting rule for the field’s value, to override any locale-specific formatting.

places

The number of digits to force entry of after the decimal place.

strict

Defines the degree of tolerance allowed to user input; it is false by default. This is more applicable to date/time constraints.

symbol

Defines the currency symbol to be applied to the field, overriding the default currency symbol for the ISO 4217 currency code defined in the currency property. This property relates only to the Dojo Currency Text Box.

type

Defines the type applied to the field: decimal, scientific (not supported), percent, currency (Dojo Currency Text Box only).

Figure 5.9

Figure 5.9. Dojo Number Text Box, Dojo Number Spinner, and Dojo Currency Text Box.

The Dojo Number Text Box has one further property that is of particular benefit if the entered value is passed to a managed bean or another Java object. This is the javaType property. Anyone who has worked with managed beans will be aware that the value is sometimes handled as a java.util.Long, sometimes as a java.util.Double, but never consistently. It all depends on the value the user enters, which can be annoying. The javaType property enables developers to override the type of the value passed to your underlying Java object and ensure it is always an int, always a double, always a float, and so on. Table 5.5 summarizes these additional properties available for the Dojo Number Text Box and Dojo Currency Text Box.

Table 5.5. xe:djNumberTextBox and xe:djCurrencyTextBox Properties

Property

Description

javaType

Defines the Java number type of the Server-Side value; by default, it is double.

rangeMessage

Defines the validation message to show if the value entered is outside the minimum and maximum bounds.

Dojo Number Spinner (xe:djNumberSpinner)

The Dojo Number Spinner allows the user to either type in a number or scroll up and down through the range with the keyboard or the buttons provided on the right edge of the control. This control is an implementation of dijit.form.NumberSpinner and an extension of the Dojo Number Text Box with all the properties applicable to that control (so currency-related properties of the xe:djNumberConstraints extension are not applicable). The control provides two properties for managing the incremental steps of the spinner: smallDelta and largeDelta. By default, the implicit increments are 1 and 10 respectively, but this can be overridden as required. The smallDelta increment is used when the user clicks the buttons provided or uses the cursor up and down keys. To take advantage of the largeDelta increment, users need to click the Page Up or Page Down keys.

If you hold down one of the buttons or keys, the increments are repeated after half a second and subsequently applied quicker and quicker. The defaultTimeout property, expecting an integer in milliseconds, determines how long the user needs to hold down the key before the increment is repeated; by default, it is 500 milliseconds. You configure the degree to which the increments are sped up using the timeoutChangeRate property. Because this is 0.9, the increments are applied progressively quicker the longer the key or button is held down, until the maximum speed is reached. If you set it at 1.0, the increments are always applied at the same time interval, never increasing. A value of greater than 1.0 has no effect.

Table 5.6 summarizes the properties of the Dojo Number Spinner control.

Table 5.6. xe:djNumberSpinner Properties

Property

Description

defaultTimeout

Allows the developer to control the number of milliseconds the user needs to hold down the key before it becomes typematic, or auto-incrementing.

timeoutChangeRate

Defines how much quicker each typematic event occurs.

largeDelta

Defines the increment when the Page Up and Page Down buttons are pressed.

smallDelta

Defines the increment when the cursor Up and Down buttons are pressed.

Dojo Date Text Box and Dojo Time Text Box (xe:djDateTextBox and xe:djTimeTextBox)

The Dojo Date Text Box and Dojo Time Text Box controls extend the Dojo Validation Text Box control. However, like the Dojo Number Text Box, Dojo Currency Text Box, and Dojo Number Spinner, they have their own constraints complex property. For the Dojo Date Text Box and Dojo Time Text Box, the constraints complex property implements the xe:djDateTimeConstraints extension, as detailed in Table 5.7 and illustrated in Figure 5.10.

Table 5.7. xe:djDateTimeConstraints Properties

Property

Description

am

Allows the developer to override the “am” abbreviation for A.M. times. This is only applicable to the Dojo Time Text Box and only where timePattern is specified and uses the AM/PM portion (for example, timePattern is “h:mm a”).

clickableIncrement

Defines the clickable increment of the Time Picker and is applicable only to the Dojo Time Text Box. The value is entered in the format Thh:mm:ss.

datePattern

Defines the date pattern and overrides any setting in the formatLength property. Date patterns are in accordance with Unicode Technical Standard 35 Date Format Patterns, such as dd-MM-yy.

formatLength

Defines the date or time format. Available options are long, short, medium, and full.

locale

The locale to be applied to determine formatting rules for the field’s value, one of the extraLocale values loaded in the Dojo config.

pm

Allows the developer to override the “pm” abbreviation for P.M. times. This is only applicable to the Dojo Time Text Box and only where timePattern is specified and uses the AM/PM portion (for example, timePattern is “h:mm a”).

selector

Defines the selector, either date or time.

strict

Defines the degree of tolerance allowed to user input; it is false by default.

timePattern

Defines the time pattern and overrides any setting in the formatLength property. Time patterns are in accordance with Unicode Technical Standard 35 Date Format Patterns, such as hh:mm a.

visibleIncrement

Defines the visible increment of the Time Picker and is applicable only to the Dojo Time Text Box. The value is entered in format Thh:mm:ss.

visibleRange

Defines the visible range of the Time Picker and is applicable only to the Dojo Time Text Box. The value is entered in the format Thh:mm:ss.

Figure 5.10

Figure 5.10. xe:djDateTimeConstraints.

The main one for the Dojo Date Text Box is the datePattern property, which allows developers to define the format of the date presented to the user in the Dojo Date Text Box. For example, dd-MM-yyyy overrides the locale format to show 16th June 2011 as 16-06-2011, and dd MMM yyyy shows as 16 Jun 2011. Alternatively, the formatLength property can be used to choose one of four predefined date or time formats. If both are used, the datePattern property takes precedence.

The Dojo Time Text Box control also uses the xe:djDateTimeConstraints property. But unlike the Dojo Date Text Box, properties are surfaced to allow the developer to manage the display of the control. To control how many hours are shown, you can define the visibleRange property. The visibleIncrement property defines the labels presented to the user, and the clickableIncrement property defines the increment for each value the user can select. You define each property using the format THH:mm:ss, so a visibleIncrement of 30 minutes is T00:30:00, as in Figure 5.11. With datePattern for the Dojo Date Text Box, the timePattern property defines the format for the times displayed to the user and presented in the field. Therefore, a format of h:mm presents, for example, 9:00, 9:30, and so on.

Figure 5.11

Figure 5.11. Time Picker.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020