dynamic content of a field

Azurex 05 Apr, 2010
Hi

I want to make a formular with several dropdowns. Each dropdown contains numbers from 1 to 10. Every "1" costs the user 5 $, so if the users selects "3" the total is 15$.

I would like a field in the buttom of the fomular that shows this total of all the dropdowns summed up.

Is this possible?

I've seen another homepage do the same thing in the attached picture. Its not online more though.

Regards Mikael
GreyHead 06 Apr, 2010
HI Mikael,

Yes it's possible, You'll need a small piece of JavaScript to do this in the browser. There are some similar examples in the forums here and many more if you Google.

Bob
Azurex 06 Apr, 2010
Hi

I figured it was possible:)

I was more hoping that any of you could give a clue or hint, or link me to a good validated tutorial.

Regards Mikael
GreyHead 06 Apr, 2010
Hi Mikael,

I thought you might be - sorry, I don't know of any tutorials (validated or not) without doing my own search.

Bob
Azurex 06 Apr, 2010
If anyone can think of any other solution to this problem i would appreciate it alot.
All i need is some way to inform the user the sum of what he has ordered. There is no way the customer can keep track of the total prize by head alone from this form, nor for the admin really:)

Regards Mikael
This topic is locked and no more replies can be posted.