diff options
Diffstat (limited to 'templates/apps/name/add.html')
-rw-r--r-- | templates/apps/name/add.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/apps/name/add.html b/templates/apps/name/add.html index aba49ad..94086be 100644 --- a/templates/apps/name/add.html +++ b/templates/apps/name/add.html @@ -2,9 +2,15 @@ {% block widgets %} $('#id_expires').datepicker({'dateFormat': 'yy-mm-dd','timeFormat': 'hh:ii:ss'}); $('#id_description').wysiwyg(); - $('#form').formwizard({ + $('#wizard').formwizard({ validationEnabled: true, focusFirstInput: true, - textSubmit: "Finish" + textSubmit: "Finish", + validationOptions: { + rules: { + short: 'required', + value: 'required' + } + } }); {% endblock %}
\ No newline at end of file |