calculation within a form

Ολοκληρωμένο Αναρτήθηκε Oct 13, 2012 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

I have within a form the following:

<input name="txgain" type="text" size="10" />

and elsewhere in the same form:

<input name="losses" type="text" size="10" />

and a third entry:

<input name="powerout" type="text" size="10" />

What I want to do is bring up a message either pop-up or within the page when the applicant puts in a value in the third box, namely the results of the following calculation:

poweroutdbw=10*log10(powerout);

ERPcalc=poweroutdbw-losses+txgain;

The pop-up message will display ERPcalc rounded to 1 decimal place, and the applicant can either carry on if this is okay, or go back and amend one or more of the three offending fields and get an updated calculation.

All that to happen BEFORE submit is pressed and without affecting other fields that may or may not have been populated in the form.

Alternatively have a button to press within the form to carry out this calculation without affecting the other fields or eventual submit.

I am open to suggestions as to how best to have this facility created.

This is a formmail script which already works.

I am at the stage of adding extra features but need expertise which is beyond my present capability.

Form submission populates a mysql table also sends an email with the form details. All that is working currently.

AJAX HTML MySQL PHP Σχεδιασμός Ιστοσελίδας

Ταυτότητα Εργασίας: #2563774

Σχετικά με την εργασία

25 προτάσεις Απομακρυσμένη εργασία Ενεργό Oct 15, 2012

Ανατέθηκε στον:

callumbwhyte

I can do this right now for you! Please check the message I have sent you.

£50 GBP σε 1 μέρα
(77 Αξιολογήσεις)
5.8

25 freelancers κάνουν προσφορές κατά μέσο όρο £48 για αυτή τη δουλειά

denisCh

Please check PM

£20 GBP σε 1 μέρα
(92 Αξιολογήσεις)
8.3
toinnisfree

quick pro help. ftp and escrow required.

£50 GBP σε 1 μέρα
(795 Αξιολογήσεις)
8.3
AndreiMk

I have created your calculator. Please, see my PM.

£20 GBP σε 0 μέρες
(120 Αξιολογήσεις)
7.7
thangtqvn

Ready to to do it for you now.

£20 GBP σε 1 μέρα
(227 Αξιολογήσεις)
6.9
stevecorsi

Experienced developer and designer here ! Ready to start

£20 GBP σε 1 μέρα
(46 Αξιολογήσεις)
6.6
santoshfree

i can help in this.

£50 GBP σε 1 μέρα
(92 Αξιολογήσεις)
6.6
AdamsK

Ready for service sir, thanks.

£20 GBP σε 1 μέρα
(91 Αξιολογήσεις)
5.8
lokjaiswal12

Hello, I will do it for you.

£20 GBP σε 1 μέρα
(61 Αξιολογήσεις)
5.5
Butterfly718

Hello,sir. I can help you. Let's start.

£20 GBP σε 0 μέρες
(43 Αξιολογήσεις)
5.0
esafeguard

Ready to start. Regards.

£20 GBP σε 1 μέρα
(17 Αξιολογήσεις)
5.0
webedict

HELLO SIR, LETS START AND FINISH IT ASAP. I HAVE 4 YEARS OF EXPERIENCE IN php, mysql, ajax, javascript, xhtml. THANKS !!

£30 GBP σε 1 μέρα
(65 Αξιολογήσεις)
5.2
Dataengineer

I have worked in jquery price calculator and i have interacted forms in a variety of ways in various project. I can do this if we come to an agreement.

£100 GBP σε 1 μέρα
(1 Κριτική)
4.4
ronakkumarpatel7

You will NOT find a better Web Developer than me. Guaranteed.

£100 GBP σε 3 μέρες
(8 Αξιολογήσεις)
4.6
larsjedinski

I am German, living in Bangkok.

£37 GBP σε 1 μέρα
(6 Αξιολογήσεις)
4.1
Kashif927

Please check your inbox for detail...

£50 GBP σε 1 μέρα
(12 Αξιολογήσεις)
3.8
imfsolution

HI Sir! Please read PM. Thanks!

£25 GBP σε 0 μέρες
(7 Αξιολογήσεις)
3.0
gabix89

I'm interested in this project and I can start immediately! PM sent with details, please check it!

£50 GBP σε 1 μέρα
(8 Αξιολογήσεις)
2.6
chocochaos

I have PMed you a working solution for this =)

£20 GBP σε 0 μέρες
(1 Κριτική)
1.6
farhanali2

hi sir this is very simple job and i can do this job very easily so please chose me. thank you:

£20 GBP σε 0 μέρες
(1 Κριτική)
1.5
pushkarsoni

You just need to calculation on click event and call a popup function I am expert in jquery and javascript. i am ready to work with you. I show my previous work before starting work. Thanks

£80 GBP σε 1 μέρα
(0 Αξιολογήσεις)
0.0