Paypal and Javascript
Last Post 06-14-2009 02:56 AM by Nathan Smith. 2 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Nathan SmithUser is Offline
skipping stones
skipping stones
Posts:6
Avatar

--
06-13-2009 04:42 PM

    I have a somewhat complicated fee calculation that I woudl like to do with javascript. I need to pass this calculated value to Paypal as the amount. I understand that I cannot use javascript in the Calc_TotalField area. Using a client side event to modify a hidden field doesn't seem to work.

    I have been successful at using client side events to calculate the value of a text box and pass that to Paypal. However, if I make the text box read-only, the amount does not get passed to Paypal. I can't let people change the amount that they will be charged.

    What is the best way to accomplish this?

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

    --
    06-13-2009 06:37 PM
    Can't you make the textbox a hidden field instead and use client side javascript to total the hidden field and past that hidden field value to Paypay? This should work. -- David
    Nathan SmithUser is Offline
    skipping stones
    skipping stones
    Posts:6
    Avatar

    --
    06-14-2009 02:56 AM

    Hi David,

    Thanks for your reply! I expected to wait until Monday to hear from anybody.

    I accidentally posted this in Dynamic Forms, but it really belongs in Dynamic Registration. I found this thread that said client events with hidden fields in DR require a patch. I sent a request for the patch at Snowcovered support.

    Have a great weekend.

    Nathan



    ---
  • 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