ok- then without any code... make a list of requirements/steps (bc I am not clear on what you are trying to do)... I assume it has a form so it should look like
1) User enters information on a form
2) User clicks submit
3) Page needs to validate information
4) If it is invalid it needs to blah blah blah
and so on... I need to know that.