diff --git a/Hooks/syntax.sh b/Hooks/syntax.sh
index 20e3824..f662b45 100644
--- a/Hooks/syntax.sh
+++ b/Hooks/syntax.sh
@@ -27,7 +27,7 @@ if [[ "$FILE" =~ ^.+(php)$ ]]; then
fi
fi
-# Html checks
+# Html/template checks
if [[ "$FILE" =~ ^.+(tpl\.php|html)$ ]]; then
# Invalid and empty attributes
if [[ -n $(grep -E '=\"[\#\$\%\^\&\*\(\)\\/\ ]*\"' $FILE) ]]; then
@@ -49,6 +49,33 @@ if [[ "$FILE" =~ ^.+(tpl\.php|html)$ ]]; then
grep -P '(\)' $FILE >&2
exit 1
fi
+
+ # Input elements must have a type= attribute *error*
+ if [[ -n $(grep -P '(\)' $FILE) ]]; then
+ echo -e "\e[1;31m\tFound missing input type attribute.\e[0m" >&2
+ grep -P '(\)' $FILE >&2
+ exit 1
+ fi
+
+ # Form fields must have a name *error*
+ if [[ -n $(grep -P '(\)' $FILE) ]]; then
+ echo -e "\e[1;31m\tFound missing form element name.\e[0m" >&2
+ grep -P '(\)' $FILE >&2
+ exit 1
+ fi
+
+ # Form must have a id, action and method *error*
+ if [[ -n $(grep -P '(\