BUG-14031 Missing type attribute in some fields in code  HTML

Issue:
Some fields doesn't have "pmfieldtype" attribute.
Cause:
In the creation fields was missing the NSFieldType() function. 
Solution:
Type attribute has been added in all fields in the generated HTML.