Fake Form Overview

Fake Form allows you to easily enter text in a uniform way and copy/paste it into a separate document. It's great for free-form fields in programs that you want to use in a non-free form way.

Configuration File

In order to use Fake Form, you'll first need to set up a configuration file. The configuration file is done completely through XML. The file format is as follows:

<?xml version="1.0" encoding="utf-8"?>
<FormModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <Title>A</Title>
  <Questions>
   <FormQuestion>
     <OutputFormat>B</OutputFormat>
     <QuestionText>C</QuestionText>
     <MaxLength>D</MaxLength>
     <SpellCheckEnabled>E</SpellCheckEnabled>
   </FormQuestion>
   ...
  </Questions>
</FormModel>
	

For multiple question and answer pairs, add additional <FormQuestion>...</FormQuestion> tags within the <Questions>...</Question> tags.

Files are saved within a text file. An editor such as Notepad can be used to create these files. For a more advanced text editor, use a program such as Notepad++.

Sample Configuration File

The following is a sample configuration file.

<?xml version="1.0" encoding="utf-8"?>
<FormModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Title>Test Fake Form</Title>
  <Questions>
   <FormQuestion>
     <OutputFormat>%question%: %answer%</OutputFormat>
     <QuestionText>Question 1</QuestionText>
     <MaxLength>0</MaxLength>
     <SpellCheckEnabled>true</SpellCheckEnabled>
   </FormQuestion>
   <FormQuestion>
     <OutputFormat>%question% - %answer%</OutputFormat>
     <QuestionText>Question 2</QuestionText>
     <MaxLength>10</MaxLength>
     <SpellCheckEnabled>false</SpellCheckEnabled>
   </FormQuestion>
   <FormQuestion>
     <OutputFormat>%question%/%answer%</OutputFormat>
     <QuestionText>Question 3</QuestionText>
     <MaxLength>100</MaxLength>
     <SpellCheckEnabled>true</SpellCheckEnabled>
   </FormQuestion>
   <FormQuestion>
     <OutputFormat>[%question%] %answer%</OutputFormat>
     <QuestionText>Question 4</QuestionText>
     <MaxLength>0</MaxLength>
     <SpellCheckEnabled>true</SpellCheckEnabled>
   </FormQuestion>
   <FormQuestion>
     <OutputFormat>%answer%</OutputFormat>
     <QuestionText>Question 5</QuestionText>
     <MaxLength>0</MaxLength>
     <SpellCheckEnabled>true</SpellCheckEnabled>
   </FormQuestion>
  </Questions>
</FormModel>
	

Launching a Configuration File

Fake Form supports specifying a configuration file both as a program argument and manually.

Program Argument

In order to automate Fake Form, simply create a shortcut to the Fake Form application. Right-click on the shortcut and choose Properties. At the end of the target field, enter the full path to the configuration file you wish to launch and click OK. Now, double-clicking on the application shortcut will launch Fake Form with the specified configuration file.

Manually

If Fake Form is launched without a configuration file specified as an argument, it will prompt the user to select one on start up. Simply navigate to a valid configuration file and click OK.

Program Usage

In order to use Fake Form, click in any field and enter text. The “Reset Form” button will clear all entered text from the form and the “Copy Form” button will copy all questions and answers to the clipboard.

About

Fake Form

Copyright 2013 Keith Ott

www.keithott.com