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!

jscript to handle taxes
Last Post 08-07-2010 01:21 PM by Lindsay Miles. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Lindsay MilesUser is Offline
skipping stones
skipping stones
Posts:9
Avatar

--
07-15-2010 08:29 AM
    Has anyone written scripts to handle taxes in Dynamic Reg?

    We need to display/calculate/charge different taxes by state/province in Canada. No tax for anyone else.

    ANY help would be useful!
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    07-19-2010 03:36 PM
    HI, will you be using your own SQL table to store the different tax bracket info by state/province to retrieve the data? If so, this is doable with dependent drop down combobox options. There is a tutorial on dependent drop down combolist (created for dynamic forms but same behavior for dynamic registration) that you can check out at www.datasprings.com/formdemos

    -- David
    Lindsay MilesUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    07-22-2010 07:15 PM
    David, thanks for the reply. I didn't get any notice of it...

    Actually, I'm implementing my tax rules in client-side-script on a dynamic question.

    I have a combobox with monthly or yearly subscription choices. There are subtotal, provincial, federal and total text boxes.

    I calculate the figures for all fields based on what the user choses as a subscription.

    The issue I am having is that I cannot access the country combobox value to know if they're in Canada AND then the region combobox toknow what province they're in. These are DNN usercontrols and I can't seem to access them from client-side-script.

    If I can get those values, everything else falls into place, no problem as I can already calculate the figures in testing by assuming a country and province.

    I only need to work with Canadian taxes.

    Any ideas?

    Thanks
    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    07-24-2010 06:02 PM
    HI, I don't know how to to access those DNN host lists tables using client side javascript either. I do know how to access them using straight SQL though. -- David
    Lindsay MilesUser is Offline
    skipping stones
    skipping stones
    Posts:9
    Avatar

    --
    08-07-2010 01:21 PM
    David, sorry for such a late reply...

    I abandoned the standard Country and Region lists for my own.

    I populated the lists with Text as QuestionOption and Value and QuestionOptionValue.

    If you do that, the value is found in the query-string builder and the country codes and region codes are used.

    Once I figured that out, I moved my tax rules to paypal and deleted all that in my DR implementation.
    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