DMXzone Ajax Form Support Product Page
Set target is not working properly!
Reported 19 Oct 2015 12:46:14
1
has this problem
19 Oct 2015 12:46:14 Juan Olarte posted:
Hi, when using the AJAX form, after a form is submitted, I am trying to set the target to a div outside of the AJAX form control. Unfortunately for some reason the information being loaded is not just the information within the targeted div, but the entire page is being set to show in the div specified. Can anyone help me with fixing this?
Thanks
Juan
Replies
Replied 21 Oct 2015 07:20:37
21 Oct 2015 07:20:37 Miroslav Zografski replied:
Hello Juan,
How do you specify what to be taken from the response - what selector you use?
Regards.
How do you specify what to be taken from the response - what selector you use?
Regards.
Replied 21 Oct 2015 11:46:44
21 Oct 2015 11:46:44 Miroslav Zografski replied:
I see... you set only target... you do not get a message as you use the same page to process the form. thus the same page is returned and set in the #LiveHeadline .
I would be setting up a separate php file to handle the form and to return whatever I want it to return in different cases - in example a Success message, or Error message. Or just live the message handling to the Extension Script.
Regards.
I would be setting up a separate php file to handle the form and to return whatever I want it to return in different cases - in example a Success message, or Error message. Or just live the message handling to the Extension Script.
Regards.
Replied 21 Oct 2015 11:53:41
21 Oct 2015 11:53:41 Juan Olarte replied:
Hi Miroslav,
Is there a tutorial I can follow on this?
Thanks
Juan
Is there a tutorial I can follow on this?
Thanks
Juan
Replied 22 Oct 2015 07:19:40
22 Oct 2015 07:19:40 Miroslav Zografski replied:
Hello Juan,
there are number of videos on how to use Ajax Form extension here:
www.dmxzone.com/go/21205/dmxzone-ajax-form#videos
Regards.
there are number of videos on how to use Ajax Form extension here:
www.dmxzone.com/go/21205/dmxzone-ajax-form#videos
Regards.