I'm creating a New Hire Set Up Form that includes a radio button field, Employment Status, with three choices: Full Time, Part Time, and Intern. If Full Time choice is selected, the Hours Per Week field must be at least 30, but not greater than 40. If either the Part Time or the Intern choice is selected, the Hours Per Week field must be between 1 and 29.
Can this be accomplished with javascript? Or, is there is a better way to validate the Hours Per Week field? If not, a sample script would greatly be appreciated. Thanks!