Javascript Form Processing

Finalizat Postat la Jun 17, 2002 S-au achitat serviciile după ce au fost prestate
Finalizat S-au achitat serviciile după ce au fost prestate

See example form in Deliverables Section. You will provide the appropriate javascript that will execute as the onEvent=theFunction" occurs for the various fields. Need to loop through a group of form fields making calculations based upon the info users type into the forms as well as upon strings held in hidden fields. Some free form calulations involved. IE. perhaps math functions like sin(formfield2)* formfield3. Need to color the form field backgrounds based upon results of the calculations. Need to trap invalid input (ie text in a numeric form field) and color the background for the field red. Need the code to be documented so that I can make minor changes, or perhaps enhancements. Just don't know javascript well enough yet to do this. The form is dynamically generated. The number of user input formfields and the order in which they appear is ONLY KNOWN when the form is generated. Therefore the javascript needs to loop through the form...mulitiple times most likely...discovering what is there and taking action on it until the work is finished. My first take on how to do this... First loop through all form fields... when you encounter a field that begins... "item", - Trim any leading and trailing spaces, - Put the value into a variable for later recall... or maybe we can address the form value later without doing that. Second loop through all form fields a second time, this time stopping at the "Formula" and piecing the result of the formula together... and then putting that result into the form. Or.... perhaps you can do all that in the first pass of the loop. Third loop through the form again, this time checking to see if the input or calculated form values violate any of the control limits contained in the hidden fields. Change the background color to red on any values that violate the limits. Note: there are other form fields in the form being processed that are not in the example form. Their names will NOT conflict with the Naming Convention you will discover in the form. -------- The form fields you will be processing -------- [url removed, login to view] Visible Form Field ---hidden fields--- [url removed, login to view] Field Type [url removed, login to view] Field Database Link ---if numeric then these hidden fields--- [url removed, login to view] Upper Limit [url removed, login to view] Lower Limit [url removed, login to view] Second Upper Limit(SpecLimit) [url removed, login to view] Second Lower Limit(SpecLimit) ---if calculated X,R,S or C--- (see the example form for deatils of the forumulas) [url removed, login to view] Formula

## Deliverables

X Stands for X-Bar... an Average of the arguments in the formula

R Stands for Range... the Max-Min of the arguments in the formula

C Stands for Calculated... Some free form calculation like: sin(N2)* N3 + 3.1415

S Stands for Standard Deviation (n-1 weighting)

StdDev= [Sigma[(x-x_bar)²]/(n-1)]^1/2

## Platform

Must Run on IE 5.0 and up Must Run on Netscape 4.7 and up

Java PHP

ID Proiect: #2856202

Detalii despre proiect

12 propuneri Proiect la distanță Activ Jun 18, 2002

Acordat lui:

kimballj

See private message.

%selectedBids___i_sum_sub_7%%project_currencyDetails_sign_sub_8% USD în 14 zile
(9 Recenzii)
3.6

12 freelanceri plasează o ofertă medie de 69$ pentru proiect

hernest

See private message.

$85 USD în 14 zile
(122 recenzii)
6.8
rainboworange

See private message.

$42.5 USD în 14 zile
(6 recenzii)
4.8
elderberry

See private message.

$80.75 USD în 14 zile
(2 recenzii)
3.0
madhusadhanavw

See private message.

$85 USD în 14 zile
(2 recenzii)
2.9
gudipudisrikanth

See private message.

$85 USD în 14 zile
(3 recenzii)
2.6
olkavw

See private message.

$68 USD în 14 zile
(2 recenzii)
2.2
devworldvw

See private message.

$85 USD în 14 zile
(0 recenzii)
0.0
himaravi

See private message.

$68 USD în 14 zile
(0 recenzii)
0.0
michaelrajkumar

See private message.

$59.5 USD în 14 zile
(0 recenzii)
0.0
stevescg

See private message.

$85 USD în 14 zile
(0 recenzii)
0.0
vw456323vw

See private message.

$38.25 USD în 14 zile
(0 recenzii)
0.0