Creating Personal Settings

Imagine that you want to enable users to enter their first and last names in the app settings for a Windows Store app (see Figure 6.13). You are building a friendly app and you want to address the user by name.

Image

FIGURE 6.13 Collecting Personal settings

The HTML page in Listing 6.7—named personalSettings.html—contains a SettingsFlyout that contains an HTML form. The form has two form fields named inpFirstName and inpLastName, and both form fields are required.

LISTING 6.7 SettingsFlyout for Personal Settings

<!DOCTYPE html><html>    <head>        <title>Security</title>        <script

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.