BVFormField Class Reference

Inherits from NSObject
Declared in BVFormField.h

Overview

This model is a single element of a Conversations Submission Form. The fields elements are defined in the Conversations API Submission documentation: https://developer.bazaarvoice.com/docs/read/conversations_api/tutorials/submission/how_to_build_a_subission_form#fields-element

The BVFormFields can be obtained for a Review/Question/Answer submission by running a Submission request in .Preview mode.

  options

@property (nonnull) NSArray<BVFormFieldOptions*> *options

  bvFormInputType

@property BVFormInputType bvFormInputType

  identifier

@property (nonnull) NSString *identifier

  label

@property (nonnull) NSString *label

  type

@property (nonnull) NSString *type

  value

@property (nonnull) NSString *value

  required

@property (nonnull) NSNumber *required

  minLength

@property (nonnull) NSNumber *minLength

  maxLength

@property (nonnull) NSNumber *maxLength

  isDefault

@property (nonnull) NSNumber *isDefault

– initWithFormFieldDictionary:

- (nonnull id)initWithFormFieldDictionary:(nonnull NSDictionary *)fieldDictionary