Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNN Text Suggest and submittingDNN Text Suggest and submitting
Previous
 
Next
New Post
6/7/2007 8:26 PM
 

Hi Jon and all,

We're developing a quick n dirty little search box for our site at the moment, and using the text suggest control to assist (great control btw Jon).

The problem we're up against now is that when we hit the enter key after typing in our phrase/keywords, the js seems to throw away the press, so the page is never told to submit.

I can definitely see this being necessary while the list of options is currently being used (as in the person is arrowing up or down in the panel), but when the 'focus' is on the text box, wouldn't it make sense to act as a regular textbox and allow the enter as per normal?

I'm no expert in javascript, so won't try to hack the code to get this result, but wanted to put it out there to see what others thought.

Cheers,

Max

 
New Post
6/11/2007 12:58 PM
 

You are correct, the control stops a submit from occuring.  Interesting idea on only doing this when the submenu is shown.  The code would have to change to get this to work.  I will put it on my list of enhancements.  If you need something quick send me an email and I will try and hack something together for you.


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNN Text Suggest and submittingDNN Text Suggest and submitting


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out