@ -311,7 +311,9 @@ class FormBuilder(forms.Form):
send = True
if data['type'] == 'email':
client_mail_to = data['value']
if data['phone'] == '123456':
# Simple antispam
if data['name'] == 'phone' and data['value'] == '123456':
return
if not send:
@ -99,7 +99,7 @@
// submit the form
$(this).ajaxSubmit(ajaxOptions);
form.find('input[type="submit"]').attr('disabled','disabled');
form.find('button[type="submit"]').attr('disabled','disabled');
// return false to prevent normal browser submit and page navigation
return false;