Tags:
John
tag this topic
create new tag
view all tags
#VarDATEPICKER ---+++ DATEPICKER{} -- pop-up calendar to select a date for use in HTML forms * The =%<nop>DATEPICKER{}%= variable is handled by the DatePickerPlugin. * Syntax: =%<nop>DATEPICKER{ name="..." value="..." }%= * Parameters:%STARTSECTION{parameters}% | *Parameter* | *Description* | *Default* | *Example* | | =name= | Name of input field. %BR% *φ:* No output is shown if the name parameter is missing, but the CSS and Javascript are loaded. | (required<sup>φ</sup>) | =name="Start"= | | =value= | Initial date value. | =""= (today) | =value="2012-12-31"= | | =format= | Format of resulting date value.%BB% =%a= - abbreviated weekday name%BB% =%A= - full weekday name%BB% =%b= - abbreviated month name%BB% =%B= - full month name%BB% =%C= - century number%BB% =%d= - the day of the month (00 ... 31)%BB% =%e= - the day of the month (0 ... 31)%BB% =%H= - hour (00 ... 23)%BB% =%I= - hour (01 ... 12)%BB% =%j= - day of the year ( 000 ... 366)%BB% =%k= - hour (0 ... 23)%BB% =%l= - hour (1 ... 12)%BB% =%m= - month (01 ... 12)%BB% =%M= - minute (00 ... 59)%BB% =%n= - a newline character%BB% =%p= - "PM" or "AM"%BB% =%P= - "pm" or "am"%BB% =%S= - second (00 ... 59)%BB% =%s= - number of seconds since Epoch (since Jan 01 1970 00:00:00 UTC)%BB% =%t= - a tab character%BB% =%U=, =%W=, =%V= - the week number. The week 01 is the week that has the Thursday in the current year, which is equivalent to the week that contains the fourth day of January. Weeks start on Monday.%BB% =%u= - the day of the week (1 ... 7, 1 = MON)%BB% =%w= - the day of the week (0 ... 6, 0 = SUN)%BB% =%y= - year without the century (00 ... 99)%BB% =%Y= - year including the century (ex. 2012)%BB% =%<nop>%= - a literal =%= character | ="%Y-%m-%d"= | =format="%e %b %Y"= | | =id= | ID of input field, optional. | ="id_"= + name | =id="idStart"= | | =size= | Size of input field, in number of characters. | (calculated as needed) | =size="12"= | | =class= | CSS class of input field. | ="twikiInputField"= | =class="dateField"= | | Additional HTML input field attributes, such as =alt=, =disabled=, =maxlength=, =onblur=, =onchange=, =onfocus=, =readonly=, =style=, =tabindex=, =title= || | |%ENDSECTION{parameters}% * Example: %BR% =<form action="...">= %BR% =%<nop>DATEPICKER{ name="Start_Date" }%= %BR% =<form>= * Expands to: <form action="#">%DATEPICKER{ name="Start_Date" }%<form> * Category: ApplicationsAndComponentsVariables, DatabaseAndFormsVariables, DateAndTimeVariables, EditingAndContentUpdateVariables, FormattingAndRenderingVariables, UIAndVisualizationVariables * Related: DatePickerPlugin, %SYSTEMWEB%.TWikiForms
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2012-12-12
-
TWikiContributor
Home
Site map
Main web
Sandbox web
TWiki web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
E
dit
A
ttach
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarDATEPICKER
.