Hi.
I broke the contact form on the medical template - the response is coming back still in Json format.
Can you help me out with your ninja JS skillz?
Live URL:
jewelnet.ltd/s2f
Thanks :)
3 replies · opened Apr 19, 2017
Hi.
I broke the contact form on the medical template - the response is coming back still in Json format.
Can you help me out with your ninja JS skillz?
Live URL:
jewelnet.ltd/s2f
Thanks :)
Hello,
Please find and remove the following code on your Page:
$("#template-medical-form").validate({
submitHandler: function(form) {
var formButton = $(form).find('button'),
formButtonText = formButton.html();
formButton.prop('disabled', true).html('');
$(form).ajaxSubmit({
target: '#medical-form-result',
success: function() {
formButton.prop('disabled', false).html(formButtonText);
$(form).find('.form-control').val('');
$('#medical-form-result').attr('data-notify-msg', $('#medical-form-result').html()).html('');
SEMICOLON.widget.notifications($('#medical-form-result'));
}
});
}
});and change the .subscribe-widget Class from the Form to .contact-widget Class.
This should definitely fix your issue. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Thanks for the guidance :)
I did that, but now have the result:
'please set a message'.
Can you advise?
Thanks :)
Hello,
The Codes you are using for your Form is incorrect. Please find the following code on your Page:
Name:
Email Address:
Phone:
Work Required:
Send Request
and replace it with:
Name:
Email Address:
Phone:
Work Required:
Send Request
This should definitely fix your issue. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard