addHelpText function

Adds a help icon to an input.