This is an odd one. I have my setup like so..
<form id="main">
<input name="title" class="required">
<form id="searchIngredient">
<input name="search">
<input type="submit" name="submit" value="Search">
<form>
<input type="submit" name="submit" value="Add New Recipe">
</form>
Now I'm trying to validate just the input's in the #main form using the class="required" however with the second #serachIngredient form within the form, the validation does not work at all.
Incase You Are Wondering: The #searchIngredient form uses ajax to return results and due to the design, it needs to be within the #main form.
I know the jQuery validation works without the #searchIngredient form but once I add it back, it stops working, with no errors.
Any suggested workarounds or tips?