Bold360 and BoldChat Developer Center

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 Summary

      Methods 
      Modifier and Type Method and Description
      FormField getFormField(java.lang.String key)
      Gets a form field by the key field name
      java.util.List<FormField> getFormFields() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.