Add function that allows to add style to a field for a input field

#1226
Merge pull request #171 from AlecErasmus/fieldStyleFunction

Add function that allows to add style to a field for a input field