Creating Advanced Constraint

@chur, yes you could achieve this by using the Dynamic Data Attachment feature as outlined in this post discussed previously: