express-form custom validation

Using the Express-form module to validate input. Specifically looking at the custom methods is it possible to write a validation function whose outcome will depend on another field.

Or rather, what I want to achieve is one field to be required if some value is selected in a drop down, but not required for other values.

As for "what have you tried" comments. I haven't, reading the docs I can't figure out how to start.