Hello
WikiGuest
Log In
or
Register
Users
About
Blog
Extensions
Documentation
Community
Development
Tasks
Download
Support
You are here:
Foswiki
>
Development Web
>
ReleaseProcess
>
FeatureRequest
>
AddSetDefaultToTestFields
(revision 2) (raw view)
---+!! Feature Proposal: add set default button / js for form fields %TOC% ---++ Motivation Every time I see a WaitingFor or ComittedDeveloper text field, i want to click an 'add|remove Me' button - or a dropdown containing frequently used values... ---++ Description and Documentation I'm hoping that we can do something quickly with jquery and perhaps Paul's EditorAPI stuff :) ---++ Examples ---++ Impact %EDITTABLE{format="|label,1|text,70|" changerows="off"}% | WhatDoesItAffect: | %WHATDOESITAFFECT% | ---++ Implementation -- __Contributors:__ Main.SvenDowideit - 15 Dec 2010 ---++ Discussion The name of this topic isn't very revealing.. But I gather you want some auto-magicalness which suggests values based on something other than a static query :) To solve the WatingFor/ComittedDeveloper problem, if trunk.foswiki.org had all the user topics that foswiki.org had, I'd change the form to use %SYSTEMWEB%.JQueryTextboxList - but of course this only works from edit. Currently the "EditorAPI" work has base types of plaintext, plaintextarea, richtext, singlevalue, multivalue, static (and I have others waiting to be resurrected). The basetypes must have one or more handlers. For example, the multivalue type has handlers you are more familiar with: checkbox and select+multi. So the !DataForm line would contain =multivalue+checkbox= (or just =multivalue=, and the user can flick between handlers available for that type on-the-fly... not that this is something users would be entirely comfortable with). Still working up an edit-from-view (inline-edit) strategy, which involves too much javascript, but I should be ready to share soon... oh so soon... -- Main.PaulHarvey - 15 Dec 2010
ChangeProposalForm
edit
TopicSummary
add set default button / js for form fields
CurrentState
UnderInvestigation
CommittedDeveloper
ReasonForDecision
None
DateOfCommitment
ConcernRaisedBy
BugTracking
RelatedTopics
PlannedFor
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r2 - 15 Dec 2010,
PaulHarvey
Development
Quick Links
Tasks and Bugs
Developers Bible
Release Plan
Feature Proposals
Topic Classification
Tools
Tasks
Index
Changes
Changes in all webs
Notifications
Statistics
Sandbox
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see
CopyrightStatement
.