Copy link to clipboard
Copied
Hi,
I have created a blog from BC. I am trying to customize its "Blog Post Details Layout" so as to allow for comment submission using Ajax and JSON.
I have already successfully done this for other standard web forms in the site. However things seem to be working differently BC's comment submission form. I am using this as guide -
As per the guide, JSON response is supposed to come into "msg" variable in the code section -
success: function(msg){....}
However, I have discovered that instead of JSON, the "msg" variable fetches the whole HTML code of comment submission confirmation system page. Therefore this then screws up the rest of the Ajax/JSON comment submission. What can I do here?
Thanks!
Only the custom web forms support that JSON response properly in BC.
Copy link to clipboard
Copied
Only the custom web forms support that JSON response properly in BC.
Copy link to clipboard
Copied
Thanks for confirmation, Liam! I will then stick with normal submission for now.