J'ai un contrôleur qui charge la vue comme ceci: -Comment conserver les valeurs de formulaire?
class A extends Controller{
public function simpleForm(){
//this generates the form
}
public function simpleFormSubmitted(){
//simple form is submitted here. Here i perform validation and if validation fails i
//want to display simpleform again with all the values inputted by the user as it is and
//if validation succeeds i want to redirect to some other page.
// I am using simple HTML to generate the form and not the formhelper of codeigniter
//because i am more comfortable with HTML rather than remembering the syntax of codeigniter.
}
}
Merci à l'avance :)