Hello!
I am trying to set up an form, which at the end makes a vacation
package.
It has a certain amount of pages, depending on what the client wants.
I would like to read some background articles, how you make such forms,
since I thought of different ways to approach it, but I don't know which
is the best one..
I have already one working, but it does not allow any correction
(everything has to be filled out exactly and in a fixed order).
The goals are:
- form with form validation (validation already done)
- all data is stored as session var
- there are some selections which are depending on other ones. for
example, it depends on the hotel, which plans (all inclusive, only
breakfast, ...) i can choose. so if I change the hotel, i have to look
if the plan exists in the new hotel, and if not tell the user he has to
choose a new one.
What I would like to know are basics, such as what is a good way to go
forward and backward in a multiple page form, always thinking about the
possibility to change things. when is the best time to make the
validation, and when to store it as session var?
sorry if all is a little bit confusing. At the end I would like to read
something sophisticate about forms, if possible togheter with php
validation since i dont know javascript...
thankx in advance,
Flos
I am trying to set up an form, which at the end makes a vacation
package.
It has a certain amount of pages, depending on what the client wants.
I would like to read some background articles, how you make such forms,
since I thought of different ways to approach it, but I don't know which
is the best one..
I have already one working, but it does not allow any correction
(everything has to be filled out exactly and in a fixed order).
The goals are:
- form with form validation (validation already done)
- all data is stored as session var
- there are some selections which are depending on other ones. for
example, it depends on the hotel, which plans (all inclusive, only
breakfast, ...) i can choose. so if I change the hotel, i have to look
if the plan exists in the new hotel, and if not tell the user he has to
choose a new one.
What I would like to know are basics, such as what is a good way to go
forward and backward in a multiple page form, always thinking about the
possibility to change things. when is the best time to make the
validation, and when to store it as session var?
sorry if all is a little bit confusing. At the end I would like to read
something sophisticate about forms, if possible togheter with php
validation since i dont know javascript...
thankx in advance,
Flos
Comment