![]() |
Forms (again - sorry) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Forms (again - sorry) (/showthread.php?tid=21993) |
Forms (again - sorry) - El Forum - 08-26-2009 [eluser]garycocs[/eluser] Hi Lads, So I got used to CodeIgniter developing my first CI site: karaokeyoutube.net Now I'm redoing http://www.ratemypub.ie so this is going to be a bit more complex. Basically the main pub page will have a number of forms (these will be hidden and shown depending on what is clicked) and a number of embedded views and so on. The idea being to create a non-ajax site first and add this in after as this will give the site functionality to non JS supported users. What I want to know is how do I embed the forms correctly? i.e. I would like the result of each form to return to the same page displaying some kind of "Thanks for replying" message somewhere. I could just duplicate the page in each form result controller but that seems like a lot of duplication as I would have 5 different forms on the page? I could also do a redirect but I would lose the form validation functionality with this, I think??? What do people do with their own sites? Sorry if this sounds confusing, I attached a basic sketch to make things clearer (hopefully) Thanks Gary Forms (again - sorry) - El Forum - 08-30-2009 [eluser]garycocs[/eluser] Any help with this lads?? |