DMXzone Ajax Form Support Product Page
Set target is not working properly!
Reported 9 years ago
1
has this problem
9 years ago 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 9 years ago
9 years ago 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 9 years ago
9 years ago 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 9 years ago
9 years ago 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 9 years ago
9 years ago 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.