This topic is locked

ROI Calculator

5/1/2007 10:51:19 AM
PHPRunner General questions
K
kenlyle author

Is there a tutorial or demo for PHPR like http://www.spreadsheetconverter.com/websam..._html/roi12.htm ?
The ability to have users (or me) do the work in a spreadsheet still looks like it may be a very useful capability.
I like the idea of doing it in PHPR so that I have control over the handling of the output (email and database).
I'd appreciate input from people who've built forms like this.
Thanks,

Ken

Sergey Kornilov admin 5/1/2007

This calculator looks nice.
To implement something like this you need to modify page generated by PHPRunner adding Javascript code that does all calculations.
Right click on that page and choose "View source" to see how it was implemented.

K
kenlyle author 5/1/2007

Perfect, Sergey.
I thought it was nice, too.
I figured that it was unlikely that PHPR had anything this specific.
Looking at how much Javascript there is in that example, and all the classes that are automatically generated from the Excel file that is the input, it seems that their converter is a good value.
Thanks,

Ken

kujox 5/2/2007

Ken
What are you after exactly? is it datasheet type input?

K
kenlyle author 6/4/2007

Ken

What are you after exactly? is it datasheet type input?


One thing would be a calculator like the example above.
The other would be a Wizard type of construct where I can ask some questions, and basically add products to a shopping cart based on the answers, like a Configurator, or quote generator.
Thanks,

Ken

buddy 10/6/2007

Hey Ken,
A little late to reply but If you havent' found a solution, take a look at Excel Everywhere. Fantastic xls to java converter that you can easily imbed into your PHP runner code. Setup the MySql fields to match those generated by the javascript and your there.

S
swanside 10/4/2008

I got that converter, now, how would I get it iinto my project??

Thanks