You are here:
STALklubben
>
System Web
>
JQueryPlugin
>
JQueryValidate
(2010-02-20,
AdminUser
)
(raw view)
E
dit
A
ttach
---+ %TOPIC% %JQPLUGINS{"validate" format=" Homepage: $homepage <br /> Author(s): $author <br /> Version: $version " }% %STARTSECTION{"summary"}% Very powerful client-side form validation framework ([[http://bassistance.de/2007/07/04/about-client-side-form-validation-and-frameworks/][article]]). %ENDSECTION{"summary"}% ---++ Examples %JQREQUIRE{"validate"}% %JQREQUIRE{"maskedinput"}% %ADDTOZONE{"body" topic="%TOPIC%" section="init" requires="JQUERYPLUGIN::VALIDATE, JQUERYPLUGIN::MASKEDINPUT"}% <verbatim class="tml"> %STARTSECTION{"init"}% <script type="text/javascript"> (function($) { $(function() { $("#validateForm").validate(); }); })(jQuery); </script> %ENDSECTION{"init"}% </verbatim> <form id="validateForm"> <div class="foswikiFormSteps"> <div class="foswikiFormStep"> <h3>First name:</h3> <input type="text" size="30" class="required foswikiInputField" name="firstname" value="%URLPARAM{"firstname"}%" /> <h3>Last name:</h3> <input type="text" size="30" class="required foswikiInputField" name="lastname" value="%URLPARAM{"lastname"}%" /> <h3>Date of birth:</h3> <input type="text" size="10" class="required date foswikiInputField" mask="99/99/9999" name="dateofbirth" value="%URLPARAM{"dateofbirth"}%" /> </div> <div class="foswikiFormStep foswikiFormButtons foswikiFormLast"> %BUTTON{"%MAKETEXT{"Submit"}%" type="submit" icon="application"}% %CLEAR% </div> </div> </form> %IF{"'%URLPARAM{"dateofbirth"}%'!=''" then="<div class='foswikiSuccessMessage'>Thanks.</div>"}%
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2010-02-20 - 07:59:58 -
AdminUser
System
Internetbokning
Log In
(ej för bokning) or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Main
STALklubben
Sandbox
System
Deutsch
English
Svenska
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding STALklubben?
Send feedback