getfield(fname,idx)

Parameters

- fname is the field definition or the id name with or without the # used by jquery.

- idx the index in a multiform. Can be undefined for single form or if you supply fname as the full id for the field

Get the field value from a field. If the field is of type checked you get back yes/no for checked/unchecked as for the yes/no fields in DataEase. For all other field types you get the value of the field.