Welcome Guest, Not a member yet? Register   Sign In
Forms (again - sorry)
#1

[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
#2

[eluser]garycocs[/eluser]
Any help with this lads??




Theme © iAndrew 2016 - Forum software by © MyBB