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!

DF and $(Calc_TotalField)
Last Post 02-06-2012 03:46 PM by Chad Nash. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Dennis KyleUser is Offline
skipping stones
skipping stones
Posts:11
Avatar

--
02-06-2012 01:06 PM
    Hi Guys and Gals,

    I am trying to figure out how to use the variable $(Calc_TotalField) as outlined in your manual for DF.  I have looked at your Demos however, I am a bit confused.  I have a very simple integration.

    I have one question (called $(giftamount)) which is a series of radio buttons which show an amount of $50, $100, $250, $500, and 'Other'.  Other = 0.

    When other is selected a question event brings forth a new question (called $(otheramount) that is "Other Amount".  This is a text box field that the user can enter any value of .01 or greater.  

    I am using PayPal standard as my gateway.  I was under the assumption the process to make this work is to go into Module Configuration and then Calculation Total (optional) 

    I then added the two variables which should be added together as such:  ($(giftamount)+$(otheramount)).  I then added $(Calc_TotalField) to my PayPal parameters where amount=$(Calc_TotalField).  However, when it goes to PayPal the amount is 0.

    I do not understand why this is happening nor do I know how to fix it.  Any suggestions is greatly appreciated.

    Ver:3.40.50.0 / 6.1.1
    Mid:406 / Tab:91

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    02-06-2012 03:46 PM
    Hi Dennis,

    I hope you are doing well!

    In this case I believe unfortunately you would need to use a client side event to be able to handle this and possibly a try/catch within the JavaScript. The field you are referencing should be able to handle this but only if the field is visible on the form (is other always visible). I think that the field would also need to include a value that was a valid integer and not be blank.

    For example, if the field OTHER is visible and has a value of 1 does it work then? I think it is likely erring out because this is meant for visible form fields and its trying to probably add $(Field1) with $(AFieldThatIsNotVisibleSoItErrorsOut).

    This has been done many times via a client side event/JavaScript and sometimes an if statement that would populate a hidden field on your form... but I don't have any direct examples I can provide for you.

    Thanks,

    Chad
    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