accommodates input fields and syncs changes to these fields

Also added the fnGetTds to the bottom of the file, as this plug-in is necessary