[eluser]JonoB[/eluser]
[quote author="eliminator2009" date="1305299034"][quote author="JonoB" date="1305250007"]Exactly as the error message says: look on line 26 of your controller.
Code:
$this->load->view('myform_view', $data);
You are using a variable called $data, but you have not defined it yet.[/quote]
The all above files are auto generated by formigniter.
Where and how do i define $data variable in form.
Thanks.[/quote]
A quick look through your code indicates that it probably is not needed at all, since you are not pre-populating the form with an existing record from your db.
So, try changing that line to
Code:
$this->load->view('myform_view');