Apr 18th, 2012, 11:17 AM
BULL's EYE
What you suggested worked BEN. I really appreciate your help..
Regards,
FireDragon
What you suggested worked BEN. I really appreciate your help..
Regards,
FireDragon
(Apr 17th, 2012, 8:13 PM)firedragon Wrote: Thanks Ben,
Will try it out & let you know if it worked.
'FormTools' - What you guys have developed is one of the coolest softwares I have ever come accross.. It has made my life a bit simpler. You guys rock..
" May the Lord, mighty God, bless and keep you forever;
Grant you peace, perfect peace, courage in every endeavor."
Regards,
FireDragon.
(Apr 17th, 2012, 11:26 AM)Ben Wrote: Hi Firedragon,
Interesting! Unfortunately, there's nothing in the script to allow for this. However, if you don't mind hacking it a bit and are well aware that future upgrades may overwrite this change, you can add the functionality like so:
Edit the /admin/forms/edit_submission.php file and find these lines on 36-39:
PHP Code:if (!$g_success)
{
$failed_validation = true;
}
After those, add an else-clause:
PHP Code:if (!$g_success)
{
$failed_validation = true;
}
else
{
header("location: submissions.php");
exit;
}
That should redirect you back to the main submissions page after you update a submission.
- Ben