Hi Vladimir,

Sorry about the delay - we've had the Thanksgiving break here, which has restricted my internet time significantly. This patch sounds very interesting, and I plan to look at it at some point soon, unless someone else does first.


On Tue, Nov 29, 2011 at 12:26 PM, Vladimir Kostyukov <vladimir.kostukov@gmail.com> wrote:
Hi All! I'veresent my mail about validation patch, because I haven't
got any feedback.

I've justsuccessfully implemented correct validation feature in
Semantic Forms (see attached).

Actually, when I've started use SMW I was surprised that it is not
support any validation mechanism (I mean one-to-many case).

Now, we can use "existing values only" property for "text with
autocompleteinput" and with "combobox" elements. But I've changed
behaviorof validation mechanism. Now incorrect fields are not
clearing when user input incorrect data. It is checking onsubmitting

Also my patch fixed bug with fields which edited last. For instance:
we can enable "existing values only" for combobox in current
implementation and it will not work for fields, in which we enter
incorrect data and than click submit (without changing focus) (see
"change" event of jQuery).

In current patch version there is not special message for "non
existing value". I am using "blank field" message.

I use my patch in our corporate project and it works fine. What do
think about it?

Vladimir Kostyukov

All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
Semediawiki-devel mailing list

WikiWorks MediaWiki Consulting http://wikiworks.com