connectonfieldchange(elm)

Connects fields to their on change events functions.This is normally called by formloaded function.

Parameters

- elm if not undefined, this should be the jquery element to start to search for the data-onfieldchange attributes on the input elements