Title: Validation Error &#8211; when required text field empty &#8211; gets null
Last modified: September 1, 2016

---

# Validation Error – when required text field empty – gets null

 *  Resolved [RafaNat](https://wordpress.org/support/users/rafanat/)
 * (@rafanat)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/validation-error-when-required-text-field-empty-gets-null/)
 * Hi,
 * I am really appreciating your plugin – great THX.
 * Plugin version 14.12
 * when required text field empty (and trying get to next form step) I am getting
   list of errors.
 * Warning: explode() expects parameter 2 to be string, array given in /wp-content/
   plugins/cforms2/cforms.php on line 785
 * Warning: array_values() expects parameter 1 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: array_values() expects parameter 1 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: array_values() expects parameter 1 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: array_values() expects parameter 1 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: array_values() expects parameter 1 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: array_values() expects parameter 1 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: array_values() expects parameter 1 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: array_values() expects parameter 1 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/cforms2/cforms.php on line 796
 * Any clues?
 * Thx
 * [https://wordpress.org/plugins/cforms2/](https://wordpress.org/plugins/cforms2/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/validation-error-when-required-text-field-empty-gets-null/#post-7562049)
 * This has nothing to do with the empty text field, but with a multi select box.
   I will fix it in 14.12.1.

Viewing 1 replies (of 1 total)

The topic ‘Validation Error – when required text field empty – gets null’ is closed
to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [bgermann](https://wordpress.org/support/users/bgermann/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/validation-error-when-required-text-field-empty-gets-null/#post-7562049)
 * Status: resolved