Recently Viewed...
To help you navigate to pages you most recently visited, select from the links below.
Product Forums
Sharepoint Forums
Stock Quote Web Part
Dynamic Tags
DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery 5.3
Ultra Media Gallery is the most popular photo gallery and media gallery module for DotNetNuke, the major purpose of this module is to allow you create unlimited pictures and medias to your gallery and organize them by albums, your albums and medias are browsed in flash interface.

Flex By DrNuke
The Flex skins are professionally designed, coded and packaged by a team of DotNetNuke experts. Available in 8 great colours, each with 15 banner images, 2 menu types and a choice of 3 background styles. The entire pack features a total of 2448 skins!

Open-DocumentLibrary v3.0
Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

Ultra Video Gallery 2.3
Ultra Video Gallery is a brother product of Ultra Media Gallery, The major purpose of this product is to provide an easy way to add videos in various formats to your website by and play them in a unique flash gallery.

XMod 5.1
Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

CATALooK.netStore Pro & Booking Tools w/source DNN4
Powerful multilingual, search engine optimized ecommerce store and renting/letting system including a concept utilizing many business models in one application integrates:Catalog,Media gallery,Configurator,Packages,Data entry forms,Subscriptions,Recurring billing,40+ CC Gateways,UPS and USPS support

DNN360.net 6 Modules (On SPECIAL) ! (New)
This is bundle of useful modules from DNN360.net (Navigation Suite All in One 1.3.8, The Art of TransMenu 1.2.8, Yahoo Tab2.3.7, Perfomance TuneUp,6 nice skins, 5 Flashs vital players combined into one.

CATALooK.netStore Pro & Booking Tools DNN4
Powerful multilingual, search engine optimized ecommerce store and renting/letting system including a concept utilizing many business models in one application integrates:Catalog,Media Powerful multilingual, se- ges,Data entry Powerful multilingual, se- ing billing,40+ CC Gateways,UPS and USPS suppo

Events Calendar and Registration 2.1.8 for DNN4.xx
One stop solution for events calendar and events registration! Demo site available for free trial.

Document Exchange Professional 4
Edit documents directly on your server using the latest iteration of the premier document management solution for DotNetNuke (DNN). With a completely revised Ajax-enabled UI.
    |   Register   |   Tuesday, August 19, 2008   
Data Springs Product Forums...
Subject: Question Events and Combo Boxes
Prev Next
You are not authorized to post a reply.

Author Messages
Scott
Posts:18
wading in the water
wading in the water

07/01/2008 9:24 PM  

I have a Combo Box field that I have manually put in several values (so it is not SQL driven). I have several Questions on the form marked as "Hide Until Forced Visible by a Question Event". I have also set up 2 "Display" question events based on the Combo box. I am able to set up the Initiation/Postback Question to be the combo box question. I leave "Execute Event for Any Response" UNCHECKED. Then I select my "Initiation Response" from the dropdown values and select which Questions on the form I want affected.

The problem is that the "Initiation Response" does not seem to be affected by my selection. I can select any value from the dropdown list, update it, then go back to look at it and it will ALWAYS be the FIRST one in the dropdown list. Am I doing something wrong here? Any advice is welcome.

Scott

Candace
Posts:90
river guide
river guide

07/03/2008 12:58 PM  

Hi Shawn,

Thanks for setting it up on betasprings.  We're able to duplicate the problem and we're looking into a fix.  However, due to the 4th of July holiday, we might not be able to get back to you until next week.  Will keep you posted.

Thanks for reporting this.

Candace

 

Chad
Posts:1814
river guide
river guide

07/03/2008 7:30 PM  
Scott,

Hi. A couple questions...

Is this just when setting up question events? For example, when you setup the question event are you saying that it will never store the 'value' properly for what should initiate the question event? Or are you saying that event did save correctly but its just not functioning properly on the user-facing form?

We just posted the 2.6.51 patch on Snowcovered so you might check it out as well, this is what I am testing against locally and it appears to be working correctly.

-Chad
Scott
Posts:18
wading in the water
wading in the water

07/06/2008 8:37 PM  

Chad,

Although it gave me no errors it appeared to not store the value correctly. For example, if I set it to initiate on the 4th item in the list it would let me save it..But when I would go back to edit it it would show it for the FIRST item in the list. It never correctly fired off for the 4th item..always for the 1st item. I will check out your new patch and let you know if it solves my issue. Thanks for being so responsive.

Scott

Scott
Posts:18
wading in the water
wading in the water

07/07/2008 6:01 AM  

I just tried the patch and found it did not resolve the issue I am having. After loading it the behavior appears to be the same.

Candace
Posts:90
river guide
river guide

07/10/2008 10:29 AM  

Hi Scott,

 

First, I'd like to apologize for posting a response meant for someone else on your thread last week.   

 

Ok, so for your issue with the question events:  We are not able to duplicate this locally and on betasprings.  I created a sample form called Question Events and Dropdowns in betasprings.com where the events are firing correctly.  Does your form have the same settings?  (Use host/dnnhost to login.)

 

If the settings are the same and you're still experiencing problems, please set up your form in betasprings.com so we can review it further.

Thanks,

Candace

 

Scott
Posts:18
wading in the water
wading in the water

07/14/2008 8:00 PM  

Candace,

I added my version of this on BetaSprings on my page called Scotts Form. You can see the problem I am having by testing what I have there. I have set up 3 question events and set them to the appropriate choice from the Combo Box. However when you make a selection from the box it displays all hidden questions, defaultsthe selection to the first one, and the Question Event always defaults to the first one when you go back to look at it. Help!!!

Also I am trying to use the Client Side Event code that was supplied with the AuthorizeNet CheckBox Group example. However when there is a postback (from selecting an option from the ComboBox) it gets reset to $0.00. Are there any examples out there that show how I could display the total from using the ComboBox approach? I want to pass this value to PayPal.

Thanks

Scott

Candace
Posts:90
river guide
river guide

07/15/2008 11:25 AM  

Hi Scott,


Thanks for setting your form up on betasprings.  I got it working now and here's what I did:



1.  Your Total field was a Text/HTML field.  I added a new textbox field called YourTotal just so you can see how it works.



2.  Please check out the client side event I added in the Venues field.



3.  I switched the field type from combo box to Checkbox Group.   You can change it back to combo box if you want, just know that the client side event will have to change also.  You might want to visit betasprings again and review the Calculation Field 2 under Dynamic Forms.  This will give you an idea on how a combo/dropdown box may be handled.


Hope this helps.  Let us know if you have additional questions. 

Candace

Scott
Posts:18
wading in the water
wading in the water

07/15/2008 7:14 PM  

Hi Candace,

I might be missing something but I still don't see this functioning properly. On the form if you check the Aug 9 venue for example..all of the hidden fields display. THIS SHOULD NOT HAPPEN. I only want the fields associated with the Question Event for Aug 9 to display.

Now go to the Question Events section and look at the Aug09BP event I set up. Notice how it is showing the July 13th venue selection in the Initiation Response field. Change it to the Aug 9th venue and Update it. Now select the Aug09BP event again. AGAIN IT SHOWS THE JULY 13 SELECTION in the Initiation Response field.

Because I need this to be a ComboBox I am afraid that the Client Side Event will not work as it is only geared for a CheckboxGroup. I will have to search out other methods of populating the total field. The fact that it was a Text/HTML field previously was fine as it was updating correctly when I originally had it as a CheckboxGroup (and this is what it was in your Authorizenet example).

Scott

Chad
Posts:1814
river guide
river guide

07/16/2008 10:19 AM  
Scott,

Lets skip the issue with the client side event until the question event is working as you are needing it too. At first glance setting up our example of the dropdownlist/three colors was appearing to work properly so we are reviewing your form to see the differences (covered below)

Regarding Client Side Events...
As far as question events / client side events... We have found that client side events and question events can cause problems because of a postback on the server. The 'work around' for this is to have the same function call be executed in the 'Initial Javascript' option. The initial javascript option is setup above the javascript file under module configuration. As Candace mentioned, you will have to have a different javascript calculation as that example was specific to CheckBoxList field type.

Regarding your question event(s):
Question events must be 'tied' to either the any response, or based on a field response. In your case a combo box value... So... The problem here (or situation) is that all of your dropdownlist items have a value of 50.00. So when the question events are setup they are setup to display if the value of the field is 50.00, when the user selects an option, all of the fields are displayed because each option has a value of 50.00.

So..... My suggestion would be to create values such as AUG13 or AUG9... Then, either make your payment static (if they really are all 50.00) or setup a client side event to do an if statement and determine the price. So basically 'if $(field) = 'AUG13' then price = 50.00' etc...

Finally... For other field types such as checkbox groups and listbox's, we have a solution for this any PayPal/Authorizenet in case you want the value to be the same price. You can find this in the user guide on page 90, where it references VALUE01_Price etc... You have the option of VALUE01_ thru VALUE20_ and with this method you can set the price at the end but still have a unique value. When the payment gateway is rendered it will remove the VALUE01_ and therefore pass the appropriate price. I think this is only avaliable however for checkbox groups and listbox's as there are the only multi selection field types.


Hope this helps resolve your issue.


-Chad
You are not authorized to post a reply.
Forums > Product Discussion - DotNetNuke Modules > Dynamic Forms > Question Events and Combo Boxes



ActiveForums 3.7

Copyright 2005 - 2008 by Data Springs, Inc.
Terms Of Use | Privacy Statement