diff --git a/public_html/includes/class/class.LSformRule_inarray.php b/public_html/includes/class/class.LSformRule_inarray.php
new file mode 100644
index 00000000..bef080b1
--- /dev/null
+++ b/public_html/includes/class/class.LSformRule_inarray.php
@@ -0,0 +1,59 @@
+
+ */
+class LSformRule_inarray extends LSformRule {
+
+ /**
+ * Vérification de la valeur.
+ *
+ * @param string $values Valeur à vérifier
+ * @param array $options Options de validation :
+ * - Regex : $option['params']['possible_values'] ou $option
+ * @param object $formElement L'objet formElement attaché
+ *
+ * @return boolean true si la valeur est valide, false sinon
+ */
+ function validate($value,$option,$formElement) {
+ if (!isset($option['params']['possible_values']) || !is_array($option['params']['possible_values'])) {
+ LSerror :: addErrorCode('LSformRule_inarray_01');
+ return;
+ }
+ if (!in_array($value,$option['params']['possible_values']))
+ return false;
+ return true;
+ }
+
+}
+
+/*
+ * Error Codes
+ */
+LSerror :: defineError('LSformRule_inarray_01',
+_("LSformRule_inarray : Possible values has not been configured to validate data.")
+);
+
+?>