Welcome
 Contact us
 Basic Functions
    Projects
       Creating a New Project
       Copying a Project
       Backing up Your Project
       Uploading a Project
       Setting Project Properties
       Manage Projects Form Password
       Project Templates
    aaa
    ccc xc
       Windows Applications
          Windows Application Help Button
          Windows Form Help Button
          لرلاالا
          Welcome
          Widget Master Pro
          Widget Master Lite
          اذلاال
          Windows Field Help Button
          Windows F1 Application Help
          Windows F1 Form Help
          Windows F1 Field Help
       Web Applications
          Web Application Help Button
          Web Form Help Button
          Web Field Help Button
          Web F1 Application Help
          Web F1 Form Help
          Web F1 Field Help
          Popups
    cccx
       Applying Skins
       Customizing an Existing Skin
       Creating a New Skin
    Table of Contents
       Adding a Page
       Adding an External File
       Adding a Website or Webpage
       Embedding another Project
       Renaming a Page
       Deleting a Page
       Page Properties
       Dragging & Dropping Pages
       Cutting and Pasting Pages
       Customizing Page Icons
    Working with Tables
       Adding a Table
       Table Properties
       Cell Properties
    Working with Images
       Adding an Image
       Uploading an Image
       Image Properties
       Adding Hotspots to an Image
    Keywords and Index
       Display Keywords in Edit Mode
       Display Index in Live Mode
    Links
       Adding Page Links
       Adding Internet Links
       Adding Email Links
       Adding Document Links
       Removing a Link
       How to Get Support
       Getting Started
          What is a Static Help System?
          What is a Dynamic Help System?
          What is a PDF Manual?
          End-User License Agreement
          How to Order
    Publishing
       Publishing a Static Help System
       Uploading to your Website
       Legacy Help System
       Publishing a Dynamic Help System
       Publishing a PDF Manual
 Advanced Functions
    Movies & Animations
       Adding a Flash Animation
       Adding a Media Animation
    Users
       Project Login
       Adding a Project Username
       Editing a Project Username
       Deleting a Project Username
    Security Groups
       Adding a Security Group
       Editing a Security Group
       Deleting a Security group
    Variables
       User Defined Variables
       System Variables
          Child Page 1
          Child Page 2
    Page Templates
       Customizing a Page Template
       Creating a Page Template
       Customizing the PDF Template
    Styles
       Page Styles
       Applying Styles
       Treeview Styles
    Reports
       Pending Reader Comments Report
       Page Status Report
    Conditional Content
       Conditional Pages
       Conditional Text
 Toolbar Reference
    System Toolbar
    Contents Toolbar
    Function Toolbar
    Skin Editor Toolbar
       Editor Toolbar
    Variable Editor Toolbar
    Page Template Editor Toolbar
 FAQ
    General Questions
    Installation Questions
  
 
     
Home > Basic Functions > ccc xc > Web Applications > Web F1 Form Help

Web F1 Form Help

You can add context sensitive help to any form within your Web application so that when a user presses the F1 key, a help topic specific to that form is displayed. Follow the steps below to add F1 context sensitivity to a form within your web application.

1. Open a page (such as a login form) of your web application using an HTML editor such as Visual Studio or a text editor such as Windows Notepad. This is an example of a simple login form.

<html><body>
<br><br>
Username: <input><br>
Password: <input><br><br>
<input type=button value=Login>
</body></html>



2. Add the following code to capture the F1 key and display the help system.

Open a Dynamic Help Page (page only, no contents)

<html><body onhelp="window.open('http://www.domain.com/help/page.aspx?pageid=project_login', '_blank');return false;">
<br><br>
Username: <input><br>
Password: <input><br><br>
<input type=button value=Login>
</body></html>


Open a Dynamic Help Page   (within help system)

<html><body onhelp="window.open('http://www.domain.com/help/default.aspx?pageid=project_login', '_blank');return false;">
<br><br>
Username: <input><br>
Password: <input><br><br>
<input type=button value=Login>
</body></html>


Open a Static Help Page

<html><body onhelp="window.open('help/project login.htm', '_blank');return false;">
<br><br>
Username: <input><br>
Password: <input><br><br>
<input type=button value=Login>
</body></html>

* the url above assumes that the static help system is in a sub folder named 'help'


Open a Static Help Page   (with help system)

<html><body onhelp="window.open('help/default.htm?project login.htm', '_blank');return false;">
<br><br>
Username: <input><br>
Password: <input><br><br>
<input type=button value=Login>
</body></html>

* the url above assumes that the static help system is in a sub folder named 'help'



3. Open the html file in your browser. Press F1 to display the help system in a new window.




See also

  
HelpConsole 2008 - Enterprise Edition

Copyright © 2004 - 2008 Extreme Ease Software Inc. All Rights Reserved.