For an estate agent's website I need to create an EMI calculator block for each property. EMI = Estimated Monthly Installment. The price of the property in the calculator form should be automatically taken from the property's stated price.

An example of what I'm trying to re-create can be found here http://www.immoweb.be/en/Buy.estate.cfm?idbien=4422072&ongletactif=6&xin... under the "Financial" tab.

I'm assuming that this calculator should be in a block, so that I can then make it appear on each Property content type.

So far I have tried Webform Calculator https://drupal.org/project/webform_calculator , but the documentation for it is so unclear that I couldn't get it to work. I also toyed around with this code https://drupal.org/node/280624#comment-3091422 but can't find away to prefill one of the fields with the property price value.

I'm pretty surprised that in this day and age drupal has no working EMI calculator, especially given that there are so many real estate websites out there.

Can someone please suggest how to build such an EMI calculating block? Which modules or codes to use?

Many thanks in advance!

Comments

gautam kumar’s picture

ellegonzalez’s picture

http://drupal.org/project/views_calc - "Views Calc" simple calculations to views table; SUM, AVERAGE, COUNT, MIN, MAX, or AVG selected columns, spreadsheet-like plug in theme, custom dynamic fields in any view using SQL snippets like CONCAT('field_first_name', ' ', 'field_last_name') or DATE_FORMAT(node.created, '%m/%%d/%Y')

=> I think this module should be used for the emi calculators and basic presentation. The basics that might fail, should be mentioned on the project page as an issue. Developers who want it to be different, should try first to communicate and work together with the developer of this module on this site?