Can person (A) put into A’s will that upon A’s death money be transfered into a trust that will be paid to A’s grand-daughter (B) if B divorces her current husband or A’s husband dies (or anything that will end the marriage), however, if A does not end her marriage by the time A’s eldest child © reaches the age of 24 25% of the trust will transfer to C, and then when A’s second eldest child (D) reaches the age 24 25% will transfer to D, and so on through two more of A’s children.
I hope that is clear. Basically, A gets the money if her marriage ends and if A doesn’t end her marriage the money will go to A’s children. Would this setup of a trust be legal?