-
AuthorPosts
-
September 1, 2017 at 11:02 am #1059889
Hi, we published a RSform module inside a JAbuilder block but the problem we have is that when we are trying to "POST" to the page that our form is published under and we are not getting back our JSON data, we are getting HTML code instead
September 3, 2017 at 8:13 pm #1060103any update on this?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 5, 2017 at 8:22 am #1060411Hi Sam,
May I know in which block I can see the issue?
September 5, 2017 at 8:29 am #1060413in home page, the form at the top. if you select any appliance from the "chose your appliance" dropdown i get the error. you can see how it should work from this page: http://oven.repair/bookonline
I’ve attached a photo of the block.
thanks,
SamSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 6, 2017 at 9:32 am #1060732Hi Sam,
I see the issue, could you share the ftp account also?
September 6, 2017 at 7:12 pm #1060835This reply has been marked as private.September 13, 2017 at 3:42 pm #1061857This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 14, 2017 at 8:38 am #1062058Hi Sam,
The new version of JA Builder has been released, did you try to take a backup and update?
September 14, 2017 at 8:48 am #1062068This reply has been marked as private.September 20, 2017 at 7:09 pm #1063174Hi, its been 20 days since i reported this problem and no help at all!! whats the point of selling a commercial product and NO support at all?!!!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 21, 2017 at 5:08 am #1063259Hi Sam,
When requesting JSON from server by using an AJAX request, there is unnecessary div tag in the response:
<div class="rsforrm">
Because of this, the JSON can’t be parsed.
Kindly check the code in your form again.
Regards
September 22, 2017 at 3:16 pm #1063578Hi Saguaros, that really isn’t the issue. The issue is that the JSON code response is VALID on any other website. Its only broken when using the page builder to display the form. You haven’t answered why your product is interfering with a form that works in a normal Joomla! installation?!
The JSON response on my primary website does not produce the same result. It is only when I display the form into a page builder page does the JSON response get corrupted.
here is the same form on normal T3 template:
https://www.northlondonappliancerepairs.co.uk/book-a-service.htmlWhen AJAX is performed, we do a POST to the page/url of the RSForm. We specifically match that request against the call type…if it is a POST, we try to parse the request to the subroutines that handle the JSON request. If it is a GET, we run your other, legacy routines and process the form accordingly.
When we make the POST call to the RSForm page (_self) Page Builder is interfering with the POST/GET response in some way that we do not get back a valid JSON string and thus, it fails.
The question i have is what is the page builder doing to step in the way of a POST call to the same page and how do we avoid it.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 27, 2017 at 7:08 am #1064362Let me discuss with the team for further checking, could you also update the ftp account again? as it redirects to a empty directory now.
-
AuthorPosts
This topic contains 12 replies, has 2 voices, and was last updated by Saguaros 6 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum