How to set condition for mandatory property in Portal

Hello, all.

I need to set property as mandatory if the condition is met. For example, property "ValidUntil"  in detailpane of request in shoppingcart .

I need set it as mandatory if personordered has checkbox "IsExternal".

What parameter i must to change.

Thanks.