Generate placeholder depending on data-format.
Add element's placeholder dynamically.