Medical Template; booking form displaying JSON result on confirmation.
Can you advise please?
Thanks.
Edit: Just checked the demo and it is the same there.
3 replies · opened Apr 22, 2017
Medical Template; booking form displaying JSON result on confirmation.
Can you advise please?
Thanks.
Edit: Just checked the demo and it is the same there.
Hello,
We have just checked out the Medical Template and while the Message Output is not in JSON and displays fine, there definitely is a Warning Message for escapeshellcmd() Function: https://github.com/PHPMailer/PHPMailer/issues/966 . If you are still receiving a JSON Message, there might be an Issue with the js/functions.js File. Can you please provide us with a Live URL so that we can check out the exact issue and provide you with a more accurate solution for this. Thanks for your Patience.
Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.
Welcome back :)
The live url is jewelnet.ltd/s2f
I just disabled the contact form until I can solve this spam issue permanently, but will re-enable it now.
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.
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