On Fri, Jan 2, 2009 at 10:16 AM, tawright915 <tawright...@gmail.com> wrote:
>
> I'm having problems wrapping my head around how to code this:
>
> I have two textboxes both are required.  However if a user fills out
> one of the textboxes then the other is no longer required.
>

$('#the_form').submit(function()
{
        return $('#textarea_1').val() || $('#textarea_2').val();
});

Obviously, you'd want to adjust that to give some feedback to the user.

Reply via email to