WordPress.org

Ready to get started?Download WordPress

Forums

Online quote calculator (7 posts)

  1. Lee Rickler
    Member
    Posted 5 years ago #

    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.

  2. wpbct7
    Member
    Posted 5 years ago #

    You can use Text widget and just add the proper HTML:
    list calculation example (simple html/javascript)

  3. Lee Rickler
    Member
    Posted 5 years ago #

    outrageously fast response.
    Thanks loads!

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

    Appreciated.

  4. flick
    Member
    Posted 5 years ago #

    This looks really nifty! :D

  5. Lee Rickler
    Member
    Posted 5 years ago #

    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?

  6. Lee Rickler
    Member
    Posted 5 years ago #

    Or in your example:

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

  • Lee Rickler
    Member
    Posted 5 years ago #

    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

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags