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!

How to grab a number from the lists table and use for a calculation.
Last Post 10-26-2010 07:47 PM by Mark Buelsing. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Mark BuelsingUser is Offline
river guide
river guide
Posts:241
Avatar

--
10-25-2010 11:07 AM
    Please help me with the proper way to do this.
    I have a standard shipping fee for all my products since they are the same size and weight. I added the cost (value) into the DNN lists table. On my DF form, I have a textbox with a SQL Driven Default Value that gets my standard shipping cost from the table. The textbox does populate with the shipping value when it is visible. However I want the standard shipping cost field to be hidden because I simply use the value in a javascript calculation.

    Here is the problem:
    When I change the Shipping Cost field type to "Hidden", the SQL Driven default appears to stop working since my javascript calculation returns 0's now.

    So what I ultimately want is a way to retrieve the standard shipping cost from the Lists table and use it in a calculation while not actually showing the standard shipping cost on the form.

    What is the better way to do this please?
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    10-25-2010 12:48 PM
    Hello Whetstone,

    As my recommendation, anytime dealing with JavaScript calculations and Dynamic Forms, you should place the on client side event (your javascript) in all of the fields that are affected. Place the exact script in the Module Configuration -> Custom JavaScript File  "Initial JavaScript"

    And place it into any other fields client side event multi textbox, if they take part in the calculation.


    How many fields are involved in this calculation??

    What version of DNN and Dynamic Forms are you running??

    Thanks,

    Ryan
    Mark BuelsingUser is Offline
    river guide
    river guide
    Posts:241
    Avatar

    --
    10-26-2010 07:47 PM
    Ryan, thanks for your reply. The javascript is already in all those places. It calculates fine when the field that contains the shipping fee is visible, but stops working when that field is changed to be hidden.

    The question is, how do I get a value from a table on form open, while keeping the field that holds the value hidden, while still keeping that value available to a javascript calculation? Thanks
    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