Autocalculate field in a form

N

Naomi Mathes

Hi,

I have a form with the following fields

status - x,y,z
rating-1,2,3

When customer selects the status and rating,the next filled
automatically displays the correct likelihood according to the first two
filed selections as follows.
if status == x and rating == 1 then

liklihood- j.

Please help me to do this. Many thanks.
 
B

Brian Candler

Nipuna said:
Yes, because I'm new to Ruby can you please explain this for me. Thanks.

Questions about Javascript should be asked on a Javascript mailing list.

If you are using a web framework like Rails, then you need to
incorporate your Javascript into the HTML pages you generate from your
templates. So if you can't see how to include the Javascript you've
written into your pages, you could ask on a mailing list relevant to the
framework you're using (e.g. Rails, which has its own mailing lists)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,414
Latest member
GayleWedel

Latest Threads

Top