Forum Moderators: open

Message Too Old, No Replies

Need an "appliance installation height calculator" script - any ideas?

Input some values, match up to models, tell user what will fit

         

alexnero

5:11 am on Jan 26, 2008 (gmt 0)

10+ Year Member



Hello,

Wondering if any JavaScript experts would be kind enough to help me with a small request.

I would like to add a simple form to my site, that will accept numeric input (2-3 variables), perform some math operations on it, then compare the result to list of widget models - and output those that will fit the user's parameters.

Some widgets have "extensions" available - if the script can take that into account, and add notes to the output (i.e. "Widget Type 34 will fit your situation, but only with the additional Type Q extension unit") - that would be perfect!

I do not know JS, so I can't write this myself... and after spending ~2 hours googling for it, I'm asking for help here.

If anyone can point me in the direction of a script that does this, or can let me know what having one written would involve, I'd appreciate it!

Dabrowski

7:42 pm on Jan 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



after spending ~2 hours googling for it

This is quite a specific application, you won't find a one stop solution on Google as it's a little more than a few standard commands.

perform some math operations on it, then compare the result to list of widget models - and output those that will fit the user's parameters

How many widget's? This is the sort of thing that's normally done on the server side with a database. Use Perl or something like that.

If there's only a few then JS is usable, but not recommended as it's not compatible with all users' systems.

State your requirements in the Perl forum and I'll be happy to help, but I don't think anyone here would recommend building an app like this in pure JS.