This page is testing the new (:input select ... :) markup in forms, as well as testing the ability to retain values across form submissions.
We'll start with (:input select ...:). The basic form of a select box is a sequence of options:
(:input form:)
(:input select name=abc value=1:)
(:input select name=abc value=2:)
(:input select name=abc value=3:)
(:input submit:)
(:input end:)
To have options with labels different from the value of the control, use the label=option:
(:input form:)
(:input select name=abc value=1 label=alpha :)
(:input select name=abc value=2 label=beta :)
(:input select name=abc value=3 label=gamma :)
(:input submit:)
(:input end:)
Or, the values can be specified positionally:
(:input select name=abc 1 alpha :)
(:input select name=abc 2 beta :)
(:input select name=abc 3 gamma :)
alpha beta gamma
We can specify the size of the selection box:
(:input select name=abc 1 alpha size=3 :)
(:input select name=abc 2 beta :)
(:input select name=abc 3 gamma :)
alpha beta gamma
The "multiple" option works:
(:input select name=abc 1 alpha size=3 multiple:)
(:input select name=abc 2 beta :)
(:input select name=abc 3 gamma :)
alpha beta gamma
So, here's a dropdown list of pages in the Test group:
(:if false:)
[[#dropdownlist]]
(:input select name=n {=$FullName} "{=$Name}":)
[[#dropdownlistend]]
(:if:)
(:pagelist fmt=#dropdownlist group=Test:)
12Over4 2003Titlespaced 2006-01-01 20060308 20070402-Draft 20070417 20070417-Draft 20070809 20070809-AnotherTest 20070905 20071019-SomeHybridPageName 20071107 20080806 20090101-HappyNewYear 20090110 Abc2 AbcMusic Abilità Accented Accented-Talk AccessKeyToEdit AccueilTest AddLinkBookmarklet AdminConference2007-05-11 AdvancedTable AdvTable AllowPassword AlternativeViewProposal AmanitaPantherina Ampersand AmpersandTitle AmpersandTitle2 AnchorSpacing Arrow Attach AttachAttach AttachDelta Attached AttachExample AttachExample2 AttachExist AttachList AttachWithSpaces AttachWithText AttrExample AuthConditions AuthHeader AuthList AuthList2 AuthListShort Author AuthorCookie AuthorLink AuthorRequired AuthPw AuthUser BackgroundImage BackgroundImages Backlink Backlink-aux BackLinks Backlinks Backlinks2 Banner Bar BaseA BaseB BaseC BaseName BasicAuth BeginningMiddleEnd BensonHedges BGColor BigBigSummary BigEdit BigWithInclude BigWithInclude2 BISyntax BlankLines Block-In-A-Div BlockInclude BlockIncludeTest BlockIncludeTest2 Blocklist Blocks BoldOrderedList BooklikeParagraphs Bookmarklet BorderColorImg BoxCode Bridge Bridge2 BrowserCondition BrowseTrail BugOrFeature BugWithInclude1 BugWithInclude2 Button BWSS BWSSMeeting Calendar CamelCasedLinks Captcha CategoryPV CategoryRequired CategoryTestPageWithoutLink CategoryUploadDummy CategoryUploadsDummy CategoryUploadsDummy2 CCLicense CellCenter CenteredBlock CenteredInterMapImage CenterHeading CFrame CheckBoxArray Chess ChessMarkup ChopTitle Christian Cjc Codeblock CodeTest ColorByDate ColumnLists ColumnPageList ColumnSpanning CommandPrompt Commentary CommentFormat Comments CommentsTargets CondAuth CondExists CondExtend ConditionAction ConditionalStatementsAndVerticalSpace Conditions Confluence ContentTemplate ConvertAccentedChars CookbookColumned CookbookList CountGlyphs CreatedFile CreatedMarkup CreateLinkTests CreateTime CreativeCommons Creole Creole-Sandbox CrossGroupTrail CSS CSSMarkup CssMarkup2 CSSPopups CtimeCookbookList Danger DataVars DateConditional DateMgtAndConditionals DateRange DC DC-Draft DefinitionLists Definitions Definitions2 Delete DeletedPage DeletedPageList DemoPage Description DescriptionT DevelMarkup Dfaure DiffAuthor DigitalInit DirectiveAndText DirectiveAndText2 DisableMarkup DisplaysInLists Divend DivMarkup DivMarkup-Draft DivMarkupBug Divs DivTemp DMarkup DocumentationXref DoubleDiv DoubleSave DropDown DublinCore DuplicateMailPosts DynamicImage EasyGallery EasyGalleryPic1 EasyGalleryPic2 EasyGalleryPic3 EasyGalleryPic4 EasyGalleryPic5 EasyGalleryPic6 EasyGalleryTemplate EditForm Editform Editform-edit EditForm2 EditForm3 EditForm4 EditFormWrapDiv EditFromPmwiki-mode-Draft EditNoLeft Editor EditPreview EditPreviewForm EditQuickReference EditRedirect EmptyLink EmptyList EmptyPage EmptyTargets Enabled EnableHTML Equality Events ExcelPaste ExtendMarkup ExternalLinks ExternalLinkWithLineContinuation ExtractList ExtractListFailure FAQ FAQClassic FAQTemp FileList FileManagers FileMarkup FileUrls FilmScript Flash Float Float2 FloatBreak FloatDiff FloatHistory FloatingColumns FloatingImage FloatLeftInItem FmtCount FontStyles Foo FormatingBugs FormListTemplate FormPTVTest Forms ForumForm ForumList ForumTemplate FPLByGroup FPLCount FPLMySimple FPLTemplate Fractions Frame FrameCenter Frames FromHomePage Ftime FtimeInPagelist FTimeMarkup FullScreenPage FunWithTables GeminiThemes GeminiThemes1 GeminiThemes2 GeminiThemes3 Gimg GlobalVarSubstitutions GoogleChart GoogleSearch GroupAttributes GroupHeader GroupHome GroupListing GroupOnlySyntax GroupTitle GroupTitles GUIButtons HardPageBreak HasPreformattedLine HeadingAndPre HeadingNoTitle HeadingsWithText1 HeadingsWithText2 HeadingsWithText3 HeadingsWithText4 HeadingsWithText5 HighlightAction HighlightRows Hojdare HolaMundo HomeList HomePage HomePageLink Html HTMLCache HTMLStyleFmtOverride HTMLValidationWithIncludes HTMLValidationWithIncludes-help1 HTMLValidationWithIncludes-help2 Höjdare IfAuthTest IfDate IfElseIf ImageBorder ImageBorders ImageCaption ImageFloat ImageFrameTest ImageLines ImageLink ImageNameWithSpaces Images ImagesTemp ImageTable ImageTest ImageThumbLink ImageThumbLink-Img1 ImageThumbLink-Img2 Include Include2 IncludeBugA IncludeBugB IncludeBugWithLabel IncludeBugWithLabelSrc IncludedPage IncludedStyleDefinitionInCamelCase IncludeFromComment IncludeFromOther IncludeFromSelf IncludeFromSelfPage IncludeFromSelfPage2 IncludeLength IncludeLength2 IncludeLinksTest IncludeLinksTest2 IncludeOneLine IncludeOneLineSrc IncludeRedirect IncludeRedirectB IncludeRestOfPage IncludeSamePage IncludeSelf IncludeTest1 IncludeTest2 IncludeVarTest IncludeVarTestBase IncludeWithBasepage IncludeWithoutNewline IncludeWithPTV IncludeWithPTV2 IncludeWithPTVTemplate IncludeWithPV IncludeWithPVTest IncludingPage IncorrectIndentation Indent IndentParas Indents IndentStyle Infobox InlineBreaks InlinePageList InlinePHP InputDefault InputDefaults InputForSelectingPage InputSelect InputSelectJiri InputSelectNestingSource InputTextareaDefault Insert InterMap InterMapLinks InternationalAuthor ItalicsInTitle ItemListWithHorizontalSpace ItemListWithSpecialStyling JSFeed JsMath JumpBox JumpTop Justify JustText KeepKeep KeepMarkup Keywords Kmarie LargePage LastModifiedHost LatestNews Latestnews-Draft Layers LB LeftBar LightSkinEditPage LinebreaksAndWhitespacePre LineContinutation1 LinesWithSpaces LinkHTMLOutput LinksToSomePage LinksWithDash LinkTest LinkTitle LinkTitles LinkToGroup ListAndPreformat ListBasicAudiencePages ListCategoryMatchingTwoCategories ListId ListPagesWithoutACategory Login Logout LongCodeLine LongLinkText LongListItems MacIE52ScreenShots Macron MailForm MailtoLink ManuallySetEnumeratedLists Map Markup MarkupCharacters MarkupExpr MarkupExpressions Markups MarkupTricks Math122-200702 MaxPostSize MediaWiki MenuBar MetaKeywords Metaphors MissingCSS ModuleGuidelines-Old MonospaceWordWrap MoreStyles MultiLang MultilineList MultiLinePageTextVariables MultipleLinePTV MultiUrl MyTest NameISOWeek NarrowContent NestedVars NestTableAndDiv NewCleanUrlsRecipe NewDefSkinMod Newline NewPageBox NewRecentChanges News NextEventAnchor NoAction NoBold NoChars NoEditLinks NoFlash NoFooterPage NoHeaderPage NoHostLogging NoLeftPage NoNestTest NonExistentTitles NonTrailPage NonTrailPage2 NoQuest NoRightPage NoSummaryPages Note Notebook-NT-Skin Notebook-NT-Skin-LeftFloat Notify NumArticles NumberedLists NumericPassword OldAl OneLineTemplate OnlinePresence Opacity OSM OutlineTest Overflow PageCount PageExists PageIndex PageList PageList2 PageList3 PageList4 PageListAnchors PagelistBug1 PageListCache PageListCalls PageListCount PagelistCount PagelistDescriptionFormat PagelistExample PageListFmt PageListFmtGroup PagelistFmtGroupsWithLinksToListPage PageListIf PagelistLink PageListLinks PageListLinkWithPtv1 PageListLinkWithPtv2 PageListLinkWithPtv3 PageListLinkWithPtv4 PageListLinkWithPtv5 PageListOptions PageListOrderingWithPgVar PageListRecent PagelistRecentChanges PageListSelf PageListTemplate PageListTemplates PagelistTemplateSamples PageListTest PageListTime PageListTitles PageListTItleSpaced PageListTrail PageListTrail2 PageListTrail3 PageListTrailNot PageListWithPgVar PageListWithPgVar1 PageListWithPgVar2 PagelistWithUndefinedFormat PageName PageNameCases Pagenamecases2 PageNameWithPmWikiInIt PageNotFound PageNäme PagePaths PagesInPmWikiGroupWithRedirect PagesLastModifiedByYou PageSource PageTextVariables PageVarSelection PageWithEntity PageWithLotsOfText PagewithOnlyPagelist PageWithTeaser PaPa Paragraph ParaIndent ParseArgs PasswdList Password PasswordAndEmacs PasswordProtectedPage PData Pdf PITSList PL PLC PLTVarOption PmCal PmCal-Examples PmCal-Examples2 PmSlide PmWiki PMWiki Podcast PopUp PopUpTrimmed PostStopWatch PreFmtNotWorking Preformat Preformatted PreformattedBlock PreformattedBlock2 PreformattedText PreformattedTextAndTAB PreOverflow Present PreSpaces PreValidate PreviewChange PreWithFormatting PreWrap PrintSkin Printtest ProfileBug ProfileList Properties Ptest PTV Ptv PTV-Petko1 PTV-Petko2 PTV-Petko3 PTV-Petko4 PTV-Petko5 PTV-Petko6 PTV-Summary PTV2 PTV3-Draft PTVarEscape PTVbug PtvMayBe PtvMaybe PtvNo PtvNO PtvSome-Times PtvSomeTimes PtvTemplate PTVWithPageList PtvYES PtvYes PurpleCow PWAd PwdEditImpliesRead QueryString Quicktoc Quienc QuotesInLinks RadioButtons Rand RandomPageList RaphaëlÊtreInouï RatingByAuthor RB05Week14 ReadPass ReadProtected ReallyReallyReallyLongPageName ReallyReallyReallyLongPageName-noItIsReallyExtremelyLong ReallyReallyReallyLongPageNamenoItIsReallyExtremelyLong ReallySimple RecentChanges RecentChanges RecentChangesByDate RedirectAnchor Refresh RelativeLinksPagelist RelLinks RevMarkup Rfloat RightBar RightFloat RightLink Rollover RotateMarkup RowStyling RSSFeedLinks RTL SafeModeGID Sandbox Sandbox-Draft Sandbox2 Search SearchBox SearchBox2 SearchBoxArgs SearchBoxInclude SearchBoxPageList SearchBoxTrail SearchByTitle SearchCloud SearchForm SearchResults SearchResultsWithCateogory SearchSort SearchTerms Sections SelectPageSpaced SelfTarget ShouldWork SideBar Sidenotes Simple SimpleViewer SimultaneousEdits SimultaneousEdits1 SiteAdminProposal SiteGroupMarkup SiteMap SkinChange SkinList SkinMarkup Skins SkinTestAssortment SkinTestCompact SkinTestHeadings SkinTestImages SkinTestLists SkinTestLongPre SkinTestMenu SkinTestSelectSkin SkinTestTables SkinTestText Skype SlideShow SloveneSearch SmallCaps SomePage SpacedLinks SpacesInSimpleTables SpaceWikiWord SpaceWikiWords Spacing SpanInLink SpecialLinks SSWB Start StickyNotes StickyNotes1 Sting StmLink Stubs StyleClass StyleInLinkText Superscripts TableAndImage TableBackground TableBorders TableBug TableCellSpace TableDirectives TableTest Tabs Tags Template TemplateLinks Templating Terminology Test Test123 Test2 Test34 TestCache TestData TestDe TestDirectiveMarkup TestGroup Testicus TestLP Testm TestStyles TestToC TestÄöü Text TextArea TextareaFontTest TextTransform TextVars ThickBox Title TitleLinkWithQuery Titlespaced2004-05-08 TitleTest Tjolahoppsan TmpFeed TmplDisplay TOC1 Tooltips Top10NotRecentlyModified Topic1 TopNav Trail Trail3 TrailFromPagelist TrailIndex TrailPage1 TrailPage2 TrailPage3 TrailPage4 TrailPath TuringCaptcha Umlauts UmlautUploads UploadForm Uploading UploadSimpleForm UploadsQuickReference URL UrlApprovals UrlError UrlParens UrlsWithDates UrlWithQuotes UserAndLevel UseTable UsingTabForPreformattedText VariablesAndFriends VerticalSpace VerticalSpacing1 VeryLongLinkText VoteOnFirstLastMarkup VoteOnLeadingWhitespace VoteOnLeadingWhitespace-Talk VoteOnNestedDivMarkup VoteOnNestedDivMarkup-Talk VoteOnSiteHeader VoteOnSiteHeader-Talk Voting Weird Whitespace WhitespaceRules WidthAttr WikiDefines WikiStyle WikiStyleClass WikiStyleDefines WikiStyleInCamelCase WikiStylePercent WikiStyleRED WikiStyleRight WikiStyles WikiStyleToTheEnd Wikitest WikiTrail WikiTrail1 WikiTrail2 WikiTrail3 WikiTrail4 WikiTrail5 WikiTrailPagelist WikiTrails WikiTrailsDraft WikiWord WikiWord2 WikiWord3 WikiWordCount WikiWordsAndStyles WildcardLinkSyntax Wildcards WildcardSlash WindowsFileUrls Withattrib2 WithHtml WordLinks WordWrap Wrap WSExtra WSIndent WSIndent2 WSIndent3 WSPlusCode XLPageUpdate XMLTest XMLTest2 XYTrail XYTrail1 XYTrail2 XYTrail3 XYTrail4 XYTrail5 XYTrail6 ZAPMcode
A group page navigator:
>>display=none<<[@
[[#navigator]]
(:if equal {=$FullName} {*$FullName}:)
(:input select name=n selected=selected {=$FullName} "{=$Name}":)
(:if ! equal {=$FullName} {*$FullName}:)
(:input select name=n {=$FullName} "{=$Name}":)
[[#navigatorend]]
@](:nl:)>><<
(:comment pagelist fmt=#navigator group=Test:)
[[#navigator]]
(:if equal {=$FullName} {*$FullName}:)
(:input select name=n selected=selected {=$FullName} "{=$Name}":)
(:if ! equal {=$FullName} {*$FullName}:)
(:input select name=n {=$FullName} "{=$Name}":)
[[#navigatorend]]