diff --git a/source/org/jivesoftware/smackx/FormField.java b/source/org/jivesoftware/smackx/FormField.java index 76717212c..244791a56 100644 --- a/source/org/jivesoftware/smackx/FormField.java +++ b/source/org/jivesoftware/smackx/FormField.java @@ -91,6 +91,15 @@ public class FormField { this.variable = variable; } + /** + * Creates a new FormField of type FIXED. The fields of type FIXED do not define a variable + * name. + * + */ + public FormField() { + this.type = FormField.TYPE_FIXED; + } + /** * Returns a description that provides extra clarification about the question. This information * could be presented to the user either in tool-tip, help button, or as a section of text