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!

Client events not working in Firefox
Last Post 05-02-2009 09:09 AM by Jon DiPietro. 10 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Jon DiPietroUser is Offline
going with the flow
going with the flow
Posts:35
Avatar

--
04-19-2009 10:31 AM

    I've configured a v2.7 Dynamic Form to use client events to dynamically calculate totals based on selections.  This all works fine using IE8 and Chrome, but not Firefox 3.  I have Javascript enabled in the Firefox browser. I've replicated this on several machines.

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

    --
    04-20-2009 06:23 AM
    HI Jon, can you export your page content to www.betasprings.com (username: host, password: dnnhost) so I can take a look at it and try to duplicate the issue with Firefox 3.0? Please send me URL link when you have it set up. By the way, put it in the Dynamic Forms section somewhere. Thanks. -- David
    Jon DiPietroUser is Offline
    going with the flow
    going with the flow
    Posts:35
    Avatar

    --
    04-20-2009 07:00 AM

    Hi David,

    I created a test page and uploaded the form.  However, it is now encountering scripting errors and not working in any browser.

    In case it helps, the original form can be viewed here.

    Thanks

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

    --
    04-20-2009 07:46 AM
    Hi Jon, you mean all of a sudden, the javascript isn't working on any browser? Did you change any script / settings? -- David
    Jon DiPietroUser is Offline
    going with the flow
    going with the flow
    Posts:35
    Avatar

    --
    04-20-2009 07:56 AM

    Sorry for the ambiguity.  I didn't change anything and the form is still working the same on my original site as it was when I posted this question.

    What I'm saying is that it is behaving differently on your beta site (which is the exported/imported form) than it is on the original site.

    Original site = still works fine in IE and Chrome, no calculations in Firefox.

    Betasprings site = no calculations in any browser, scripting errors in IE

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

    --
    04-22-2009 06:30 AM
    HI, sorry I haven't had the chance to debug the issue. However, it's strange. I think maybe there's some setting in the browser setting to cause this strange behavior. When I have time, I'll revisit this problem. -- David
    Jon DiPietroUser is Offline
    going with the flow
    going with the flow
    Posts:35
    Avatar

    --
    04-24-2009 05:55 AM

    Any update on this? I don't think it's browser settings, as I've reproduced the problem on four different machines.  Thanks.

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-24-2009 03:50 PM
    Jon,

    Hi. Well each browser can render client side events differently, this is often why JavaScript might have seperate functions for IE VS FireFox VS Safari etc (for example the Drag/Drop feature of Dynamic Forms requires FireFox or IE and will not currently support IE8 or Safari until the next release. Because of this it can be difficult to debug the exact reason and we would have to know the exact JavaScript being used etc... In your case I see the checkbox group and the FireFox issue, very weird though as I know we have many clients using this client side event for the check box group and I looked at the source of your page VS our page on form demo 20 (I am assuming this is where you also got this?). Anyway, they appear to be calling the same names and so forth so not sure why this is happening.

    A few thoughts...

    A good thing to do with JavaScript it to install FireFox FireBug. This will show you the exact issue its having with your JavaScript, when I go to your page in FireFox it shows me... "GrandTotal is not defined". I am not sure exactly where you are calling the same function call but I would probably take out each client side event or section, keep in mind that a single error in JavaScript sometimes can stop other JavaScript from rendering at all. I would also refer back to Demo 20.

    Not sure what happened with the test page you created with JavaScript, its running on the upcoming 3.0 beta so I think the issue is that it didn't update the JavaScript file after the import. I had to go into the custom JavaScript fie and choose 'Update JavaScript' and after that it worked. I also notice that the calcuation first worked there in FireFox as well, but then after a second it didn't. My thoughts on that are that you probably have a question event setup which causes a postback and that can interfere with JavaScript. The way around that is to make sure you have the client side event also in the 'Initial JavaScript' section.

    So I would check some of those items... You are really close but sometimes JavaScript can be very touchy.

    -Chad
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-01-2009 03:30 PM
    Jon... I think I have your answer! I am not directly sure why it would work on some sites and not others but we had another client running into this and I was able to research it more. In the mean time I fixed the issue with Google Chrome and Drag/Drop and also Safari with Drag/Drop for the upcoming 3.0 version of Dynamic Forms!

    So... Basically the deal is that some browsers can let you define the inner HTML with just something like TotalCombo.innerHTML = 'test'; etc... But for FireFox you need to have it wrapped around the document.getElementById (careful, its case sensative)!

    So... Instead of...
    TotalCombo.innerHTML = 'Stuff';

    Try
    document.getElementById('TotalCombo').innerHTML = 'Stuff';


    Hope this fixed you up!


    -Chad

    Jon DiPietroUser is Offline
    going with the flow
    going with the flow
    Posts:35
    Avatar

    --
    05-02-2009 03:57 AM

    Excellent - thanks!  I will give this a shot.

    Jon DiPietroUser is Offline
    going with the flow
    going with the flow
    Posts:35
    Avatar

    --
    05-02-2009 09:09 AM

    Yes!  That did it.  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