singlerecordinit(tname,telm)

Initialize single record form, read defintions and get the initial data

Parameters

- tname : table name that holds the data used by the form

- telm :  the element as jquery object that holds the definition of the form