title: How to create validation rule for a custom cell with multiple textfields in swift Eureka Form?
body: <p>I created a form using the swift library Eureka. Also I created a custom row with cell having 3 textfields arranged in a row. Before submitting the form to server, I need to check whether the user has entered values in all the three values.
  How can I use the Rule for executing this ?</p>
  <p>The custom cell class is</p>
  <pre><code>class TicketStatusCell: Cell&lt;String&gt;, CellType {
      
      @IBOutlet weak var partNameField : UITextField!
      @IBOutlet weak var partNumberField : UITextField!
      @IBOutlet weak var quantityField : UITextField!
      
  
      required public init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
          super.init(style: style, reuseIdentifier: reuseIdentifier)
      }
      
      required public init?(coder aDecoder: NSCoder) {
             super.init(coder: aDecoder)
      }
         
      open override func setup() {
              height = {
                  return 50
              }
          self.selectionStyle = .none
          
          partNameField.placeholder = &quot; Name&quot;
          partNumberField.placeholder = &quot;Number&quot;
          quantityField.placeholder = &quot;qty&quot;
      }
  
  }
  
  final class TicketStatusRow : Row&lt;TicketStatusCell&gt;, RowType{
      required init(tag: String?) {
          super.init(tag: tag)
          cellProvider = CellProvider&lt;TicketStatusCell&gt;(nibName: &quot;iCMSTicketStatusUpdateCell&quot;)
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ggUo9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ggUo9.png" alt="The cell will be like this" /></a></p>
  <p>I need to change the background color of field if they are empty on submit button click</p>