You are here: Foswiki>Tasks Web>Item11674 (07 Oct 2014, DeanSpicer)Edit Attach

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

pencil
Priority: Normal
Current State: Waiting for Feedback
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: JQueryPlugin
Branches:
Reported By: PadraigLennon
Waiting For: MichaelDaum
Last Change By: DeanSpicer
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
 

ItemTemplate edit

Summary JQueryPlugin - textboxlist - Unable to save mandatory form field
ReportedBy PadraigLennon
Codebase
SVN Range
AppliesTo Extension
Component JQueryPlugin
Priority Normal
CurrentState Waiting for Feedback
WaitingFor MichaelDaum
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r3 - 07 Oct 2014, DeanSpicer
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