Below is just a small cut of a much larger section of code doing some filtering (wel it used to filter). I had a single form that i split into 6 forms, i connected the motherform to database, and set it up to use the 6 child forms. It saves the submitted data to the database no problem. however if i put this code into the onsubmit (before or after) boxes on any of the child forms. *Even just this bit for one field)... it does not filter anything.
I dont really know whats happening?
I dont really know whats happening?
<?php
$stu_firstname = JRequest::getWord('stu_firstname', '', 'post');
JRequest::setVar('stu_firstname', $stu_firstname, 'post');
?>