'Process data received over the wire from a form.
This will be called during form construction with data supplied
through the `formdata` argument.
Converting primary key to ORM for server processing.
:param valuelist: A list of strings to process.'

def process_formdata(self, valuelist):

    if valuelist:
        if self.is_related:
            self.data = self.datamodel.get_related_interface(self.col_name).get(valuelist[0])
        else:
            self.data = self.datamodel.get(valuelist[0])
