WordPress.org

Support

Support » Plugins and Hacks » Online quote calculator

Online quote calculator

  • I’m after a sidebar widget that allows a for quick calculation to get a quote.
    In essence the user checks a few options and the cost is displayed.

    Example (all selected from a checkbox list):
    1 chair (£10)
    1 fridge (£30)
    1 table (£20)
    Total = £60

    Does anything like this already exist?

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You can use Text widget and just add the proper HTML:
    list calculation example (simple html/javascript)

    outrageously fast response.
    Thanks loads!

    I have something similar but it’s a huge table full of code. Yours is much neater.

    Appreciated.

    This looks really nifty! 😀

    Here’s a strange one – using the text widget strips out any form field code:

    Example:
    No matter how many times I enter this, it get’s striped out:
    <input type=”hidden” name=”recipient” value=”info@” />

    This is using WPMU 2.6 – On a ‘normal’ WP 2.6 install it works fine.
    Should there be any difference?

    Or in your example:

  • <input type=”checkbox” onclick=”document.list_op(this.checked, 10);”>1 chair (£10)
  • This <input type=”checkbox” onclick=”document.list_op(this.checked, 10);”> gets striped out!

Ok. Finally an update that could actually be useful.

I solved the issue, which is a general WPMoo problem:
http://mu.wordpress.org/forums/topic.php?id=10201

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Online quote calculator’ is closed to new replies.