You are here: Foswiki>Tasks Web>Item11674 (12 Jul 2022, MichaelDaum)Edit Attach

Item11674: JQueryPlugin - textboxlist - Unable to save mandatory form field

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: JQueryPlugin
Branches:
Reported By: PadraigLennon
Waiting For:
Last Change By: MichaelDaum
Hi..

I have started to use the JQueryPlugin textboxlist to simplify some form definitions.. I have defined a custom list (shown below) which works fine when the field does not have the Mandatory (M) flag set. But when I try to make it mandatory I cannot save the topic as it states the field is empty..

Any ideas? Is the list definition ok?

List definition
%STARTSECTION{"ActiveAppList"}%<literal>%SEARCH{
  "lc(name)~lc('%URLPARAM{"term"}%*') AND form.name~'*AppForm'"
  type="query"
  web="Applications"
  excludetopic="WebAtom, WebChanges, WebCreateNewTopic, WebHome, WebIndex, WebLeftBar, WebNotify, WebPreferences, WebRss, WebSearchAdvanced, WebSearch, WebStatistics, WebTopicList, *Template*"
  nonoise="on"
  header="["
  format="\"$topic\""
  separator=", "
  footer="]"
}%</literal>%ENDSECTION{"ActiveAppList"}%

| Application | textboxlist | | %SCRIPTURL{"view"}%/Applications/AppAutoCompleteLists?skin=text;section=ActiveAppList | Application which the support call is primarily about | H,M |

-- PadraigLennon - 19 Mar 2012

See also Item12014

-- MichaelDaum - 26 Jul 2012

I have exactly the same issue. Using Foswiki 1.1.9, JQueryPlugin 4.91, the issue is present with both jquery 1.8.3 or jquery 2.0.2.

-- DeanSpicer - 07 Oct 2014

Doesn't seem to be an issue anymore. Please reopen in case of.

-- MichaelDaum - 12 Jul 2022
 

ItemTemplate edit

Summary JQueryPlugin - textboxlist - Unable to save mandatory form field
ReportedBy PadraigLennon
Codebase
SVN Range
AppliesTo Extension
Component JQueryPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 12 Jul 2022, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy