Avoiding POSTDATA popup while still using default Validation class... |
[eluser]evolve08[/eluser]
Not sure if I'm just doing something wrong or if I'm searching for the wrong thing, but all of the topics I've found don't really seem to solve the problem I'm having. I'm attempting to use one method for form validation and submission: Code: function add() Basically if I want to avoid the error right now I have to redirect and store the form data in a session. However if I were to do that, then I don't see myself being able to use the form validation class...
[eluser]Nikhil Vijayan[/eluser]
The pop up isn't a bug and as u said makes complete sense Its the basic working of web and there is no reason we should override it .. if u hate it that much read the rest To solve your problem u will surely need to use session using php inbuilt session can help reduce codes like Code: function add(){ and in form page controller Code: $data = $SESSION[form_name_data]; in form view page Code: <input name="first_name" value="<?= $first_name ?>">
[eluser]meigwilym[/eluser]
Try Jesse Skinner's approach http://www.thefutureoftheweb.com/blog/ge...after-post Mei |
Welcome Guest, Not a member yet? Register Sign In |