|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Verifying answers to a survey
I have a large survey. It has two places that allow you to either choose a teacher from a drop down list or if not found add one in a text box to be later added into the database. The answers are all going to be stored in a database, pending further review. How do I go about checking the validity of there answers? Making sure they were all answered etc.
I don't have much Java experience and enough PHP to scrape by. Thanks in advance. |
|
#2
|
|||
|
|||
|
do a search for 'form validation'. either javascript or php would work. javascript can be turned off so it is not as reliable. using php would have to have the page submitted first and validate the values in $_POST and if something is missing, tell them whats wrong then tell them to go back.
Also this stuff would depend on what type of form you use for the quiz. like as in are the questions multiple choice (radio, checkboxes, select box), full textareas...etc. We would probably need to see the source for a sample question to be able to get more specific. |
|
#3
|
|||
|
|||
|
lag...double posted.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Verifying answers to a survey |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|