Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...

Or... now make it easy with Facebook Integration
Connect via Facebook

Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Client Side Events... Conditional Calculation?
Last Post 10-29-2012 04:06 AM by Ryan Bakerink. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Jon MorrissetteUser is Offline
going with the flow
going with the flow

10-28-2012 07:49 PM
    I have a client-side event that calculates an order total using the functRadioCalc function.  It calculates an event cost, and then adds/subtracts whatever discounts a customer wants.

    Now, my client wants to add a "deposit-only" checkbox field on the form that overrides the calculated order total. 

    >> If checked, they would only pay $200
    >> If unchecked, it would calculate the order total and proceed

    The new "checkbox field is called "DepositOnly".  If checked, it would change the "ordertotal" field to $200; if false, it would recalculate the form and use the higher amount.

    Here is my current ordertotal routine:

    $(OrderTotal) = funcRadioCalc($(SelectedEvent_FieldID))-CalculateCheckBoxListValues($(AvailableDiscounts_FieldID), $(AvailableDiscounts_ValueFieldID))

    Any ideas?
    Ryan BakerinkUser is Offline
    river guide
    river guide

    10-29-2012 04:06 AM
    Hello Jon,

    I would recommend building a snippet of JavaScript that evaluates all fields on the form that affect the calculation. Perform the correct calculations at the right conditions, in a top to bottom manner.

    After accumulating all of your conditional calculating JavaScript you'll want to copy/paste it in the following areas:

    * Module Configuration -> Advanced Coding Options -> Custom JavaScript File -> Initial JavaScript
    * The "On Client Side" event textarea box for each field that is associated with the calculations. This section can be found under Advanced Question Options for that Question.

    Please let me know if you have any questions.


    You are not authorized to post a reply.


    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

    Copyright 2005 - 2011 by Data Springs, Inc.
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi