Testing Your Development Environment

Mark Birbeck's picture

Now you are ready to start building web applications with XForms! Let's see if we can create a working form, before we move on to the tutorial.

  1. Create a new form by using your template.
  2. In the body element, replace the text Empty form with:
    <xf:input ref="q" incremental="true">
      <xf:label>Search:</xf:label>
    </xf:input>
    (<xf:output ref="q" />)
    
  3. Save your new form to a convenient location. If you opened your template as a quick way to get started then be sure to use Save As....
  4. Use IE6 to open the file that you just saved. You should see:
    • the formsPlayer splash-page for a second or two;
    • a single input control with a caption of Search;
    • a pair of brackets.

    Anything you now type into the input control should also be displayed between the brackets:

    Screenshot of form that tests that the development environment is working

If this does not happen then there may be a problem with your installation or browser security settings. For information on troubleshooting see the installation forum.