What you can do is to write a function that will be check user input (on change in that field)
if the user reaches this particular input
and if user reaches that particular input you use jQuery to add @class = "required"
HTML attribute to your object. From that moment on it will become required
Take a look here: this is jQuery validator for required field based on some condition. I think this is exactly what you're after
Edit
Your other option is to use AJAX to go back to server to verify what you're looking for. Example is here
Hope this makes sense and is of help to you.