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!

enter key does not submit form, just reloads page?
Last Post 07-10-2008 09:58 AM by Chad Nash. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Melissa WalkerUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
06-25-2008 11:55 AM

    I have a simple form that works fine when the submit link is clicked however, if the user clicks the enter key instead it acts like it submits back to itself.  So I know the enter key has initiated something - it just doesn't seem to be my form action.  Does anybody have any suggestions on how I can fix this?  Thanks.

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-10-2008 09:58 AM
    Hi everyone... I wanted to follow up on this thread. We were still reviewing this issue (and are). At first glance adding it as a global property was causing problems with client side events and question events. We are still researching this though... In the mean time we received an email from Melissa with a work around. I wanted to post this work around for anyone who has this requirement (pressing enter key forces form submission)....

    -----------

    In order to use the ‘onKeyPress’, I had to add a hidden field to duplicate the entry - the receiving page expects the form var named 'username'

    On field event:
    $(username) = $(usernameonkeypress);
    checkEnter(event)

    Added this to JS page:
    function checkEnter(e){

    if(e && e.which){
    e = e
    characterCode = e.which
    }
    else{
    e = event
    characterCode = e.keyCode
    }

    if(characterCode == 13){
    __doPostBack('dnn$ctr2102$DynamicForms$lnkSave','');
    return false;
    }
    else{
    return true;
    }

    }


    ---------

    Thanks Melissa!


    Also, this Javascript would change slightly depending on your ModuleID. You will need to view the source of the page to get the lnksave actual ID. In this case it was dnn$ctr2102$DynamicForms$lnkSave'.

    -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