Can I make a webpage calculator without using PHP?

bad_ambassador

New member
I had a quick look online and it seems like most calculators use php.
There is a specific sort of calculating I want to do >> give a user options using dropdown boxes and estimate whether they can afford a desired product based on their income, and their choices in the dropdown boxes.

So I figured I could use javascript perhaps, and use If blocks to specify which conditions would make a product affordable.

When the user clicks submit, I would display the products that are estimated to be affordable, along with providing some links and information on those products.

Could this all be done with javascript?

So far all I have is a web form.... and I haven't added any conditions yet. I don't know where to put them.

Thanks for any help you can give me.

Advice along with useful links would all be helpful.

Thanks so much.

-Steve
 
Back
Top