Form
com.boldchat.visitor.api
Class Form
- java.lang.Object
-
- com.boldchat.visitor.api.Form
-
- Direct Known Subclasses:
- PostChat, PreChat, UnavailableForm
public class Form extends java.lang.Object
Container class for holding the information related to showing a form such as the Pre-Chat, or Post-Chat form to a user.
-
-
Method Detail
-
getFormFields
public java.util.List<FormField> getFormFields()
- Returns:
- The fields related to this form in the order they were returned from the server.
-
getFormField
public FormField getFormField(java.lang.String key)
Gets a form field by the key field name- Parameters:
key
- The key for the field.- Returns:
- The form field, or null if it was not found.
-
-