Custom Apps dependent/contingent variable defaults or data validation?

I have two parameters which depending on the value of one will change the valid value range of a the other. Is there a way to configure it so that the validation parameters are updated with the change of the first parameter or at least the default value is updated with the change of the first value?