Fixed improper form values.

pull/7/head
Ferry Boender 10 years ago
parent 7d9f8ae26f
commit 7a171ed3ac
  1. 2
      src/scriptform.py

@ -819,7 +819,7 @@ class ScriptFormWebApp(WebAppHandler):
params['classes'].append('hidden')
if field['type'] not in ('file', 'checkbox'):
params['value'] = form_values.get(field['name'], ''),
params['value'] = form_values.get(field['name'], '')
if field['type'] not in ('radio', 'checkbox', 'select'):
params['required'] = field.get('required', False),

Loading…
Cancel
Save