CharlieMike73
Programmer
Hi, I am trying to write some code for a small trouble ticket script I am working on but I am having problems with the forms PHP code.
There are two pages/forms one that initially asks for your details (ticket.php) and a second one (submitted.php) that is ment to check the fields and propmt for the missing fields.
I would also like to move this to one page/form and have it referrence itself and check if it was submitted or diplayed for the first time.
Now here is the problem, but I appear to be having many with it at this time...
If you submit a fully completed form the first time everything is fine and you get the success message , if you miss something then you get the form again with the completed fields filled in for you and the missing ones displayed.
but it never accepts anything I enter on the second try - why?
Also there is a drop down that I want it to remember the option picked from the last screen, it is not doing that either.
There is too much code to post in here, so please download the source code from here:
I hope someone can help, this has been bothering me for some time now.
Thank you,
Charlie
There are two pages/forms one that initially asks for your details (ticket.php) and a second one (submitted.php) that is ment to check the fields and propmt for the missing fields.
I would also like to move this to one page/form and have it referrence itself and check if it was submitted or diplayed for the first time.
Now here is the problem, but I appear to be having many with it at this time...
If you submit a fully completed form the first time everything is fine and you get the success message , if you miss something then you get the form again with the completed fields filled in for you and the missing ones displayed.
but it never accepts anything I enter on the second try - why?
Also there is a drop down that I want it to remember the option picked from the last screen, it is not doing that either.
There is too much code to post in here, so please download the source code from here:
I hope someone can help, this has been bothering me for some time now.
Thank you,
Charlie