This application uses select menu form controls to diplay certain data with prices. As the user selects other options within the control it recalculates the total and also recalculates each control's menu prices inside the control. Hope it makes sense so far. See full description below and MUST visit the demo application link to fully appreciate how it works.
All data is stored in CFC file using arrays/structures. It's easy to modify each form element to display your data. The example app uses a server environment calculator for those wish to rent server space etc. It was built on CF 8 but should work with other versions as well. Files included are: Application.cfm ServerQuote.cfm AddItem.cfm Calculation.cfm FormData.cfc FormScripts.js
In order to fully appreciate how it works please visit this link: http://www.akosnet.co.uk/servers/serverquote.cfm
When you are visiting the page please change the 1st control (Processors) to something else and see how the price of the total change on the right. Then open the same contol and see how other options prices change too.
If you have any questions please do not hesitate to contact me. If needed I'm happy to install this app free of charge and populate your data as well.
I've tried to comment everything throughout the app however I may have missed some bits.
|