Hi guys and gals I need a little help (or maybe a lot!) with a some php I'm trying to do.
I've made a basic form to collect client details like name and address etc.
You can view it here http://test.hughesandmiller.co.uk/form/form.php
The code is a little too big to post here so you can view that here http://test.hughesandmiller.co.uk/form/form.txt
Now that works ok as it is but there are a couple of things I'd like to do and I'm not sure how.
1) First of all I'd like to split the two forms into two seperate pages so the first form will be for the first life assured and the second page for the second life assured.
2) Secondly in some cases there may only be 1 life assured in which case I'd like to not display the second life assured page because this may confuse the clients. But I'm not sure of the best way to do that. I can either have have a basic page with two buttons to select either 1 life assured or 2 lives assured and have them point to the relative php page.
or have an option on the first form which for 1 or 2 lives assured and if 1 is selected it will send the form and if 2 is selected it will continue to form 2 and then send the data once thats complete.
Thats pretty much all for now. I know I'm asking a lot but any advice I can get would be greatfully received.
Cheers
Tom
A little help for a newbie please?
Moderator: General Moderators
-
thomasperfecto
- Forum Newbie
- Posts: 1
- Joined: Mon Jul 12, 2004 9:05 am