Hello Y'all!
I know this is quite a common problem starters got, but i've spent some time already trying to find a solution and haven't been able to do it properly. Besides, my html/php are quite basic and rusty :S
What I'm trying to do is a form where you can choose from a drop down list a respective grade, and depending on the grade you choose, a result will be shown. Something like this:
I want to change B from good to average, then its value should be 2. Therefore, new total is yyy.
The problem is not really complex, but I haven't been able to find a way to change the "Value" field automatically when you change the "Grade" field without the need of a redirect or reload.
All/Any help appreciated folks!
I know this is quite a common problem starters got, but i've spent some time already trying to find a solution and haven't been able to do it properly. Besides, my html/php are quite basic and rusty :S
What I'm trying to do is a form where you can choose from a drop down list a respective grade, and depending on the grade you choose, a result will be shown. Something like this:
Menu: Grade: Value:
- A - good - 4
- B - good - 4
- C - average - 2
- total 8I want to change B from good to average, then its value should be 2. Therefore, new total is yyy.
Menu: Grade: Value:
- A - good - 4
- B - average - 2
- C - average - 2
- total 6The problem is not really complex, but I haven't been able to find a way to change the "Value" field automatically when you change the "Grade" field without the need of a redirect or reload.
All/Any help appreciated folks!

Help
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.



Back to top









