equal
deleted
inserted
replaced
370 qname = self.form_field_name(field) |
370 qname = self.form_field_name(field) |
371 if qname in self.form_previous_values: |
371 if qname in self.form_previous_values: |
372 return self.form_previous_values[qname] |
372 return self.form_previous_values[qname] |
373 if qname in self.req.form: |
373 if qname in self.req.form: |
374 return self.req.form[qname] |
374 return self.req.form[qname] |
|
375 if field.name in self.req.form: |
|
376 return self.req.form[field.name] |
375 return None |
377 return None |
376 |
378 |
377 def form_field_value(self, field, load_bytes=False): |
379 def form_field_value(self, field, load_bytes=False): |
378 """return field's *typed* value""" |
380 """return field's *typed* value""" |
379 value = field.initial |
381 value = field.initial |