>
>   Just lazy I guess ;)
>> In my example the are 6 groups with up to 12 checkboxes in every group. 
>> Often but not always a whole group or several groups have to be checked 
>> together. Would be nice to only have to click 6 times instead of 40 times :D
>>
>
> The thing is, this does involve a bit of coding and I'm a bit reluctant to 
> be doing and testing all that just for your special usecase. To begin 
> with, I would certainlyconstruct the tag table using javascript, that way 
> you can easily add the desired toggle all inputs into the table head cells 
> programatically.
>
 
Don't bother your brain with it, a few clicks never kill anyone. It sounds 
easy to mess up for me ;) I will on the other hand be forever grateful if 
you help me with the "sanitizeing" thing. If I understode you right I put 
the code in the last part of the script like this:
 
submitHandler: function(form, event) {
   event.preventDefault();
   var f = jQuery(form).serializeObject();
          console.log("formData: ", f);
   var tid = new Tiddler( f.title);
   tid.text = f.text;
   tid.modifier = f.username;
   tid.creator = f.username;
   tid.tags = f.tags || [];
 
   store.saveTiddler(tid);
   saveChanges(true, [tid]);
   story.closeTiddler('formTemplate');
   story.displayTiddler(null,' SenasteNytt');
 
   var $title = jQuery('title');
   $title.val($.trim($title.val()));
 
   console.log("tid: ", tid)
  }
 
But I don't get it to work. Am I doing it wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to