Dialog Filter

In dialog I need to filter the value based on the another filed in the same dialog?is there any method for that?