mscerts.net
 
Adaptive Technologies
Adobe AIR Apps
Artistic Software
Communications
Database
Desktop Environment
Documentation
Education
Games
Home Automation
Information Management
Internet
Multimedia
Office
Printing
Programming
Religion
Science
Science and Engineering
Security
System
Terminals
Text Editing&Processing
Utilities
 
 
myGengo 1.2.0
corejet.jira 1.0 Alpha 1
jsoncmd 0.0
correct_pycountry 0.12.2
Monsters 1.0
corejet.core 1.0 Alpha 1
Scope::Container::DBI 0.04
DBIx::DataModel 1.27
Word Golf 0.2.1
Plack::Middleware::LogWarn 0.001002
 
 
 

django-livevalidation 0.1.1

Live validation for Django forms

django-livevalidation is a Django app that provides quick and easy client-side form validation which validates as you type. It uses the Live Validation JS library in conjunction with Django Forms. This is by no means a replacement to Django's built in form validation, but it is a suppliment which is purely client-side baed which cuts down on server-side requests for validation. This version of django-livevalidation requires Django >= 1.2, for previous versions please use this project: http://opensource.washingtontimes.com/projects/django-livevalidation/

Install

Place 'livevalidaiton' into your INSTALLED_APPS and make sure it is above the Django admin since it overrides some of the admin templates:

INSTALLED_APPS = (
 'livevalidation',
 ...
 'django.contrib.admin',
)


Usage

To use livevalidation in your templates, make sure you load the headers first before doing anything:

{% include 'livevalidation/header.html' %}

This loads the JS library at js/livevalidation_standalone.compressed.js and the CSS at css/livevalidation.css. Feel free to tweak the CSS to your liking

Now you can use the templatetag to validate a form instance:

{% live_validate form [option=value ...] %}

Where the form is any django.forms.Form (or subclass) instance. The optional option=value kwargs are in pairs as follows:

 * validMessage - message to be used upon successful validation (DEFAULT: "Thankyou!")
 * onValid - javascript function name to execute when field passes validation
 * onInvalid - javascript function name to execute when field fails validation
 * insertAfterWhatNode - id of node to have the message inserted after (DEFAULT: the field that is being validated)
 * onlyOnBlur - whether you want it to validate as you type or only on blur (DEFAULT: False)
 * wait - the time you want it to pause from the last keystroke before it validates (milliseconds) (DEFAULT: 0)
 * onlyOnSubmit - if it is part of a form, whether you want it to validate it only when the form is submitted (DEFAULT: False)

Requirements:

· Python
· Django

  Other
-   cmsplugin-contact 0.9
-   django-cache-utils 0.5.1
-   htmlpetro 0.2-1
-   django-uuidfield 0.1
-   DjangoOpenInviter 1.0
-   peppercorn 0.3
-   django-mptt 0.3.0
-   htmlpetrol 0.3-2
-   GiPSy Flight Manager 1.6.5
-   Auto Dial 9
-   Email This! 2.3.0
-   Header Spy 1.3.4.1
-   TradeMe Toolbar 0.2.7
-   Hindi Spell Checker 0.1
-   Google Apps Mail Watcher 1.21
-   Apture Highlights 1.4
-   ScribeFire Next 1.3.0.1
-   MySpacePAD: MySpace Photo Album Downloader 0.1
-   Piggy's Page 0.1
-   Quick Link To The World 0.2
 
 
                mscerts.net