Everything was working fine but now I'm getting an error. The table has not had any changes in months so it is weird how the conditional drop-down has stopped working.
So the field on which CDD was based the field was on the form twice. so when that happens the "last" appearance of the duplicate field will win and it would have been blank.