Quick PHP task help

Completed Posted Jul 22, 2007 Paid on delivery
Completed Paid on delivery

Need Quick help to complete a form validation task on PHP pages. I need to validate few fields on a form, and show error messages when the fields are entered incorrectly, and then display the fields.

1. Form Validation

Field Q1, P1, Q2, P2, Q3, P3, Q4, P4, Q5, P5, Q6, P6, Q7, P7, Q8, P8, Q9, P9, Q10, P10.

(a) All fields must be numbers.

(b) Must be entered in pairs. If Q1 is not empty, then P1 can't be empty. If P1 is not empty, then Q1 can't be empty. Same with other pairs.

(c) Q1 to Q10 must be in sequence. Same with P1 to P10. For example, can not put Q7 while leaving Q5 or any previous Qs empty.

(d). Q1 to Q10 the numbers are increasing. While P1 to P10 the number are decreasing. For exmple, Q10 must be greater than Q9, and Q9 > Q8 etc. P1 > P2, P2 > P3. Here Q1 is the smallest of Qs, P1 is the greatest of Ps.

Here user may not fill out all 10 pairs, they could only fill out 2 or 3 pairs, and leaving the rest empty, which is allowed.

2. Page Display.

(a). Display the numbers in a table. Display only the pairs of numbers that's been filled.

(b). Display P1 (the greatest P) and Px (the smallest P).

2. Page Display.

(a). Display the numbers in a table. Display only the pairs of numbers that's been filled.

(b). Display P1 (the greatest P) and Px (the smallest P).

(c) Compare all Qs will an variable "$n" to see where it falls in between, if Q3 < $n < Q4, then display P4, if Q2 < $n < Q3, then display P3, same with others.

Attached is the original PHP formchecker and classes for your reference. I will modify it the same way.

Need it really quick, within 24 hours after accepting bid.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

PHP, internet

Engineering Java JavaScript MySQL PHP Software Architecture Software Testing User Interface / IA

Project ID: #3142674

About the project

8 proposals Remote project Active Jul 22, 2007

Awarded to:

vineetasaxena

See private message.

$25.5 USD in 1 day
(137 Reviews)
6.4

8 freelancers are bidding on average $22 for this job

bgeorge

See private message.

$25.5 USD in 1 day
(245 Reviews)
6.4
ksoftwares

See private message.

$25.5 USD in 1 day
(182 Reviews)
5.5
luminous07

See private message.

$22.95 USD in 1 day
(33 Reviews)
4.3
sumramca

See private message.

$25.5 USD in 1 day
(9 Reviews)
2.4
matthewscripts

See private message.

$17 USD in 1 day
(1 Review)
0.0
pakistansof

See private message.

$15.3 USD in 1 day
(0 Reviews)
0.0
anitarahman

See private message.

$21.25 USD in 1 day
(0 Reviews)
0.0