[00:43:28] I want to upgrade SMW to 1.8.0 [00:44:24] What is best way to fix data records, if I say I am also going to edit almost all of the pages. [00:45:45] Should I just php SMW_setup.php --delete, and then install the new SMW 1.8.0? [03:46:43] searchlable is not working when limit=-1 [03:47:05] SMW BUG: searchlable is not working when limit=-1 [15:56:10] Hey all, should I ask a question about semantic forms here or in the vanilla mediawiki channel [15:58:23] It can't hurt to ask, go for it Ulfr [15:58:55] word, I'm trying to use show on select and it's being very buggy. it works only sometimes, but usually has all the div elements visible [16:00:27] That's the feature where you select a value in one form control and it's supposed to reveal another section of form, right? [16:00:50] Correct. You specify a div layer's ID and poof [16:01:00] Works more on Firefox but Chrome hates it [16:01:25] I've never had any success with it myself. [16:02:23] It's probably JavaScript incompatibilities between browsers. [16:02:25] ;; [16:04:01] Do you know JavaScript, maybe jQuery? It's pretty easy to script up somethink like this on your own. [16:05:40] Frank__: Yeah, I've coded most of this application in jQuery, was just hoping to not have to do the input forms [16:07:53] I'd still set up the forms through the wiki. All you have to do after that is watch the change event on your select and show/hide the divs that go along with it. Not too crazy, unless you have 200 divs to swap out. [16:08:26] Frank__: How do you bind events to fields defined in a form? [16:08:44] You might even be able to automate it a little, name the divs in sync with the option values of the select, so you make the changes based on a formula. [16:09:36] The biggest trick to binding the events is that the wiki builds the fields for you, so you get [16:09:57] inputs and selects with ids you don't control. [16:10:06] For instance... [16:11:36] On one of my forms the first select has an id of "input_2". Not ver descriptive. [16:12:45] oh, okay. makes sense [16:12:54] and how do you get the js into the form? i've been using widgets [16:13:02] However, it also gets a name based on the form and field, like FoodSearch[Ingredient] [16:13:26] Selecting for a value with [] is annoying but very doable. [16:14:36] Something like $("select[name='FoodSearch\\[Ingredient\\]']").doSomething(); [16:15:04] You have to double esape the brackets. [16:16:31] Frank__: Thanks a lot man :) [16:16:35] Sure! [16:16:44] I hope that helps. [16:21:26] Frank__: I'm following the how to bind the events, what I'm still struggling with is where the