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!

Too Much Going On in Client Side Event?
Last Post 07-22-2009 09:27 AM by David To. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
David MeckleyUser is Offline
wading in the water
wading in the water
Posts:24
Avatar

--
07-15-2009 07:45 AM

    Is it possible to have to much happening in client side events?  I have a fairly complicated order form with multiple registrations for events happening.  As I have added new items, and therefore new vairables, I have found that the changed client side events will not save to the question.  If I delete one event, the changes save fine but I need the information for the order form.  I am using DF 3.0.  Example of the Client Side Event is Below.  Last night I spent several hours working on this problem and was able to get it to work with two fewer variables by deleting spaces and returns.

     

    Here are the events:

    <!--[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;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @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]> $(TotalAdults) = (parseInt($(Adults) *16.00)).toFixed(2);

    $(ShabbatTotalHidden) =parseInt($(TotalAdults))+parseInt($(TotalChildren)) ;

    ShabbatTotal.innerHTML =' Total Due For Shabbat Dinner: ' +formatCurrency(parseInt($(ShabbatTotalHidden))) +'';

    $(GrandTotalHidden) = parseFloat($(TotalExtraonkeypress)) +parseInt($(TacosTotalHidden)) +parseInt($(ShabbatTotalHidden))+ parseInt($(BeerAndChocolate))+ parseInt($(TriviaNightHidden));

    GrandTotal.innerHTML =' Total Contribution: '+formatCurrency(parseFloat($(GrandTotalHidden)))+'';

    :

     

     

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

    --
    07-15-2009 08:12 AM
    Hi David, yes I believe there is a limit to the number of characters you have in your client side javascript. Actually, the SQL table DynamicForms_Question has the column "JavaValidation" set to nvarchar(800) which means 800 characters max, anything larger and it will not save. You can go to host / SQL and perform the following SQL command:

    alter table DynamicForms_Question alter column JavaValidation nvarchar(2000)

    to increase it to 2000 characters or something. I believe the stored procedure "DynamicForms_AddDynamicQuestin" already sets the @JavaValidation to nvarchar(2000) so you only need to perform an alter table / alter column command. Try this out and see if it works for you. -- David
    David MeckleyUser is Offline
    wading in the water
    wading in the water
    Posts:24
    Avatar

    --
    07-15-2009 08:40 AM

    That seemed to work great!

    vr1001 vr1001User is Offline
    river guide
    river guide
    Posts:115
    Avatar

    --
    07-21-2009 02:16 PM

    Hi David,

    I am very glad to see someone is successful with the event registration form. I have been struggling to implement a registration form - with DF v3.0

    Can you throw some light on this please?

    I have 2 main sections on teh form:

    1. Contact Information for the head of the Group / Family

    2. Registration block for up to 4 members of the group / family.

    First Section is straight forward; that works file.

    The 2nd section is the problem...

    I want to setup a DataGrid with name, registration option, and amount for each person (in a row)

    When the user enters a name and selects registration option, I want to display the corresponding charge in the Amount field. On the 5th row, I want to show Grand Total (Total of Registration Fees for all the members)

    On submit, I want to process PayPal payments, PDF creation, etc.

    I am able to implement this in ASP; but finding it difficult in DNN DF

    Any tips are greatly appreciated.

    Thanks,

    VJ

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

    --
    07-22-2009 09:27 AM
    HI VJ, we will need to do further research on using javascript to calculate amount values, etc. on a datagrid column cell. Will keep you posted. -- David
    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