From 198386efebbc117361604bdb341618bcbbca7507 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Sat, 30 May 2015 13:05:01 +0200 Subject: [PATCH] Required field option fix --- src/scriptform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scriptform.py b/src/scriptform.py index 171a429..a98463b 100755 --- a/src/scriptform.py +++ b/src/scriptform.py @@ -853,7 +853,7 @@ class ScriptFormWebApp(WebAppHandler): params['value'] = form_values.get(field['name'], '') if field['type'] not in ('radio', 'checkbox', 'select'): - params['required'] = field.get('required', False), + params['required'] = field.get('required', False) if field['type'] in ('string'): params['size'] = field.get('size', '')