There are two variations of the required method that should do the trick: http://docs.jquery.com/Plugins/Validation/Methods/required
Jörn On Mon, Feb 16, 2009 at 1:00 PM, Loony2nz <loony...@gmail.com> wrote: > > I'm using the jQuery plugin: > http://bassistance.de/jquery-plugins/jquery-plugin-validation/ > > I have a select box that needs to make a text input required if a > specific value in the select box is selected. > > <select name="hfrom"> > <option value="" selected>Select</option> > <option value="Referral">Referral</option> > <option value="Media"> Media</option> > <option value="Industry Conferences"> Industry Conferences</option> > <option value="Other"> Other (please specify)</option> > > If they choose "OTHER", I need a text input field to be required. > > I couldn't find this example in the documentation. If it's there, I'm > certain I skipped it. > > Can someone help me out with this? Thanks! >