'Override default properties for standard web forms'

def use_meta_fields(self):

    meta = frappe.get_meta(self.doc_type)
    for df in self.web_form_fields:
        meta_df = meta.get_field(df.fieldname)
        if (not meta_df):
            continue
        for prop in docfield_properties:
            if ((df.fieldtype == meta_df.fieldtype) and (prop not in (u'idx', u'reqd', u'default', u'description', u'default', u'options', u'hidden', u'read_only', u'label'))):
                df.set(prop, meta_df.get(prop))
