Search found 9 matches

by Daz Wilde
Sat Oct 22, 2005 12:59 pm
Forum: PHP - Code
Topic: Multi step form
Replies: 6
Views: 397

Just have one form post to the next one, etc. If you want the back & forth to work, you'll have to put all the form data into a var on the receiving end, and put it into the Back and Forward links, respectively. Im a bit of a newbie so can you just explain how to send the form to the next. Ive ...
by Daz Wilde
Fri Oct 21, 2005 9:42 am
Forum: PHP - Code
Topic: Multi step form
Replies: 6
Views: 397

Multi step form

Has anyone got or done a multi step form or a multi page form.

I would like it also if users could go back and edit anything they've filled in.

I want about 3 or 4 pages with various questions on.

Thanks in advance!!!

:D
by Daz Wilde
Sun Oct 16, 2005 10:54 am
Forum: Javascript
Topic: Series of questions
Replies: 9
Views: 2157

It's not really that difficult.. just think of it in english. Whenever someone answers one of your form questions, and then submits that answer, it will be stored in a variable. $_POST['thequestionanswered'] is this variable. Then you're using a big container ( we'll call it $_SESSION ;) ) to store...
by Daz Wilde
Sat Oct 15, 2005 3:33 am
Forum: Javascript
Topic: Series of questions
Replies: 9
Views: 2157

No template, but here's some pseudo-code: <?PHP session_start(); $_SESSION['question1'] = $_POST['question1']; ?> <form name = 'question2form...> <input type = "text" name = "question2"> <input type = 'submit'> </form> This kind of thing should be done on every page, for every q...
by Daz Wilde
Thu Oct 13, 2005 5:32 pm
Forum: Javascript
Topic: Series of questions
Replies: 9
Views: 2157

Well, you can either use forms, sessions or cookies Using forms, you'd have to gather all the relevant POST data, and put them in as hidden form elements on the current page. For example, if the first question asks them for their name, then when the second question is loaded, you'd have to pull the...
by Daz Wilde
Thu Oct 13, 2005 11:49 am
Forum: Javascript
Topic: Series of questions
Replies: 9
Views: 2157

Ya, you could make a single page with all of this stuff in one form, that it then emails. Or, you could make the page only show one question at a time, but keep posting the previous data so that at the end, it has all the data. Or, you could make the page store each question in a cookie/session, wh...
by Daz Wilde
Thu Oct 13, 2005 3:03 am
Forum: Javascript
Topic: Series of questions
Replies: 9
Views: 2157

Series of questions

I want to do a site where i can ask a series of questions for booking an advert So for example: Pick Advert Type: small - medium - large back next (then it moves on to the next page) Type Description: [textfield] back next (then it moves on to the next page) Enter you details: [textfield] - [textfie...
by Daz Wilde
Sun Oct 02, 2005 4:42 pm
Forum: PHP - Code
Topic: Need some help
Replies: 2
Views: 323

Its just a test run at the mo, how much is a ssl?

If im struggling with this code can i give you a shout?

I'll have a bash tomorrow
by Daz Wilde
Sun Oct 02, 2005 12:44 pm
Forum: PHP - Code
Topic: Need some help
Replies: 2
Views: 323

Need some help

Hi im pretty new to php and need some help on this. I've got a site which a friend programmed for me, but now he isnt around i need some help. The site is databse driven and has various products. I want it so when they have found thier product they click buy now and it takes them to the order page b...