I have a form when I submit it, I want the action page to just return {"success":true}.
I tried this on my action page:
$result = array('success'=> true);
echo json_encode($result);
but it returns alot of other info like forward_url,current_url,system_messages.
It their a way i can have my action page just return {"success":true}
thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.