Strip dynamic fields properly so it only shows up as an attribute on the controls DIV