Recently Viewed...
To help you navigate to pages you most recently visited, select from the links below.
Product Forums
Sharepoint Forums
Newsletter
Dynamic Forms Demonstrations
Page Tags
DNN Modules
SnowCovered Top Sellers

One stop solution for events calendar and events registration! Demo site available for free trial.

'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this featur

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.

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to add videos in various format and automatically convert them to flv format, you also can add videos from embed code and play them in our integrated flash video player.

The award winning discussion forum and community solution for DotNetNuke is now even better. When you need to build the best community site, you need the best module, Active Forums!

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.

Gloss is the first ALL COLORS! skin, featuring a powerful XML-based flash and being 100% W3C CSS XHMTL1.0 compliant. Tune it yourself on the fly, changing colors, backgrounds, containers, text color and size, width and more! Brilliant!Available for DNN4 and DNN5

ALL NEW ! - Minimalist includes skin packs in 12 great colors. Each color has Flat, Gradient and Glass versions. Feature rich XML Flash header, perfect for just about any purpose. 9 Different menu options in each skin pack; 3 horizontal menus, 3 vertical menus and 3 all-new Twin level menus . . .

A 16-in-1 dnn module.Powerful yet easy to use. Capable of producing a multitude of functions including:Image rotator/Numeric rotator/ Mp3 player/Wmv player/ Flash video player /YouTube video player/Multimedia player / Text-to-speech podcast / Flipping book player/Banner topic player/Silverlight albu

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

    |   Register   |   Friday, January 09, 2009   
Data Springs Product Forums...
Subject: Limit on field size?
Prev Next
You are not authorized to post a reply.

Author Messages
Will
Posts:30
paddling down the creek
paddling down the creek

02/01/2008 6:39 AM  

Our Dynamic Forms module is being used on a foundation website to accept a concept letter that we are trying to limit to 750 words (around 5000 characters).

We did the SQL routine to allow this size (here) but I was wondering about the 'client side' implications of this.

Let's say someone tries to enter a letter over the size limit. They will not know about it as Dynamic Forms does not tell them. If you look at this product that I have used for email feedback, you can limit the character size of the multi-line text field and it counts down how many characters the client has left to type in.

So we need someway in DF to have the field countdown or that on initial save the client sees 'Your concept letter is xx characters over the limit, please edit and resubmit' - or something.

You imagine the value of this for other projects like a school assignment that is limited to 2 pages, etc.

I think the way DF is set up now is if you blow past the SQL limit, nothing is recorded in the database, although the oversized letter does show up in the emails sent: potential for problems.

Thanks,

Will Sugg
www.planetmaine.net

Chad
Posts:2389
river guide
river guide

02/06/2008 7:29 PM  

Will... Hi, actually the module can already handle this I believe. You will need t a DIV HTML tag within the textbox footer and then implement client side events. These are new features within the 2.5 release and we use them in several form demonstrations.

I am having one of my guys right now check into adding a demonstration that will showcase the exact example you need so it will be easier for you or anyone else to implement.

Check out these two demonstrations:
Client Side Events - Includings copy billing to shipping address, forces the user to type in YES before they see the submit button, etc...

This demonstration is mostly for Authorizenet integration however you can see how checking the products checkbox group creates a quick client side 'Total' within a DIV tag. This is similar to how you will want your field to work. The function call instead of performing a calculation will actually just display the number of characters allowed left. You can have this execute on keydown or onkeyup etc... 

Check out this demonstration here.

 

So... Besides this you need to set the 'Max Length' property. This will actually stop the user from entering more characters which would then result in the database not allowing the information to be saved. This is separate from client side events and is useful since even version 1 I believe where if you only wanted the user to enter in 10 characters for example you could use this feature.

 

-Chad

 

Chad
Posts:2389
river guide
river guide

02/07/2008 5:22 PM  

Will,

Hi. I wanted to let you know that we posted the updated javascript client side event example/demonstration:

View Demonstration

You can also export the XML file and then import it to start out with a working demonstration.  I do believe you will still need to update the javascript file seperate from the XML import.

 

-Chad

 

You are not authorized to post a reply.



ActiveForums 3.7

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