Designing with Form Maker
Jetfire Form Maker Web Part
The Jetfire Form Maker Web Part can be used to build forms, quizes and surveys. It is a visual designer that is used to auto-generate Jetfire code that is automatically ready to deploy.
Access
The Web Part is accessed from the
Jetfire Forms Web Part Library.
Example using Form Maker
To create a form, follow these steps:
- (Optional) If the Show Existing Classes option is selected, then the user will see a list of Namespaces from which to pick an existing Jetfire Code Class. If the user selects the Namespace and Class name, this Jetfire Code Class is displayed in FormMaker. (The image to the right shows this option.)
- Define the properties of the form. (This may also be questions for a survey or quiz.)
- Add a property (question)
- Enter the name of the property
- Enter the type of input expected from the user
- Repeat until all properties are added
- Define a Form Folder Name and Form Name for the form.
- Save the form.
- If there are errors, correct the errors and save the form again.
- If there are no errors, the form is ready to use.
Note: In this example, the Form Folder name and Form Name are the same as the original Jetfire code class. In this case, the user is warned that the form will overwrite this Jetfire code class when the form is saved. If this is your intention, then continue with this name. A new version of the Jetfire code class is created.
Review the
Jetfire Code Life Cycle to see how Form Maker deploys forms.
Form Maker Editor
Edit Properties for the Web Part
To configure the FormMaker Web Part, you must be logged into COR. Edit the Web Part to view the Configuration attributes list. These are used to customize the look and feel of Form Maker.
- Type of Form: Form Maker may be used to create multiple types of forms, including:
- 1 question surveys
- Multiple Question Surveys or Quiz's
- Standard Forms
- Show Existing Classes: FormMaker may be used to edit existing Jetfire code classes, when checked.
- If FormMaker is configured for the multiple question Quiz, FormMaker will only display Quiz classes in the list.
- Namespaces: If Show Existing Classes is checked, all namespaces are displayed in the control. This can be limited by adding a comma delimited list of namespaces that the form designer is allowed to view. For this case, all namespaces loaded into the Nexus are displayed.
- Show Code: the show code option, when checked, will display a Verify link on the form. When clicked, Verify validates the form and displays the automatically generated Jetfire code. This is useful for Jetfire designers.
- Is Demo Mode: this option, when checked, is used to display one folder and class name - this is useful not only in demo mode, but in live deployments where the user wants to automatically have new surveys deployed.
- Folder Name: The Folder Name is the folder where this Jetfire code class is stored.
- Class Name: The Class Name is the name of this Jetfire code class.