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!

Using combobox datatype _TEXT tokens for Paypal integration
Last Post 10-07-2009 07:46 AM by David To. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
David ToUser is Offline
river guide
river guide
Posts:2719
Avatar

--
10-07-2009 07:46 AM

    <!--[if gte mso 9]> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:1627400839 -2147483648 8 0 66047 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> <!--[if gte mso 10]>

    I try to set up an dynamic email event to notify users who has succeed in payment. During testing it is found that combox box _Text token is not showing the field text, instead it shows its field values.
    I've checked 3.0 known issues, this is due to the integration with PayPal, and a suggested work around is to use client side event to store text in a hidden field, so I tried the following:

    1. add following line to client event area of both combo box field and hidden field, and initial javascript section of module configuration:
    $(HiddenField) = $(ComboBox_Text)

    2. setup a question event to force default value of hidden field to be the combo box text, and i use sql query to do this:
    select $(ComboBox_Text) as DefaultValue

    However neither above has succeed. It seems no value has passed to the hidden field. But It works fine for tokens without _Text in both cases.

    We are using sql driven combo boxes, and extra values needs to be passed to the next field in the mean while needs to be hidden as well. We really need this _Text property feature working, am I doing it wrong or is there any other way to achieve this?

    By the way we are using latest 3.1.
    <!--[if !supportLineBreakNewLine]-->
    <!--[endif]-->

    Answer:

    <!--[if gte mso 9]> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:1627400839 -2147483648 8 0 66047 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> <!--[if gte mso 10]>

    Hi. Yes, _Text properties are still not avaliable for PayPal implementations at this time (at least related to IPN's tied to Completion Events etc...). That is a work around however I don't know that we have a demo setup that 'gets' the text property of a combo box value. We have a few tokens setup that get parsed such as $(Field), $(Field_FieldID) etc... If you enable 'Debug Mode' you will see the EXACT client side events that get rendered, basically the module takes $(Field) and just creates the JavaScript necessary to gather that fields direct value (such as document.getelementbyID('CustomID)'.value etc... For each particular client side event though get access to other properties is specific for each field. We have function calls / demos for comb box's, radio buttons, check box lists, etc... (all on demo 20 at http://www.datasprings.com/formdemos). I just checked though and we don't have any demonstrations for getting access to a combo box TEXT via JavaScript.

    I would do a few things.

    1. Get FireBug for FireFox, this will help you determine the exact JavaScript needed. If you enable debug mode on the form you will see whats generated to get a good idea for what you need.

    2. I would google for 'JavaScript Get Combo Box Text'. There are many threads out there but I am not sure which one. When we have time and on our next demo we will try and find a good function call where you can pass in the $(Field_FieldID) and it can return a value. So then you could have something like:
    $(HiddenField) = GetTextFromComboBox($(Field_FieldID))

    For now we don't have anything we have setup for a demo though.

    What I was thinking was actually to use an if statement such as:

    if ($(ComboBox) == 'One') {
    $(HiddenField) = 'Bubba Gump Shrimp';
    }
    else
    {
    $(HiddenField) = 'Microsoft'
    }

    This way you can base it off of the if statement and still off of the combo box value.

    Also, if you need us to actually code/implement this for you (don't have time to wait for a demo or if you don't want to get into JavaScript) we can handle this with our Premium Support hours.


    -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