So keeping in mind I still don't really understand JS have never had time 
to properly study it.

I have:

[_(theme@){}{}{var title=this.getAttribute("tiddler"); var tiddler = 
store.getTiddler(title); tiddler.fields[testfield]="test1"; 
store.saveTiddler 
tiddler.title,tiddler.title,tiddler.text,tiddler.modifier,tiddler.modified,tiddler.tags,tiddler.fields);
 
story.refreshTiddler(title,"ViewTemplate",true);}]  

I am getting:
Checkbox onClickAfter error: SyntaxError: missing ; before statement.

and I have no idea way... I can't seem to see any missing ";"s... 


On Thursday, January 1, 2015 7:40:52 PM UTC-8, Arc Acorn wrote:
>
> yeah... just noticed that and came back to correct myself.
>
> Though now I can't seem to figure out how to modified custom fields in 
> javascript....
> As far as I can see they are attributes in the html file but editing them 
> doesn't actually save as custom fields.
> So I assume there is a bunch of complex store and story calls that need to 
> be made. 
>
> On Thursday, January 1, 2015 7:24:07 PM UTC-8, Eric Shulman wrote:
>>
>> On Thursday, January 1, 2015 6:54:11 PM UTC-8, Arc Acorn wrote:
>>>
>>>  Seems like I had to do it using javascript in the checkbox macro but 
>>> for some reason I'm having issues figuring out what needs to be done.
>>> The documentation don't give any actual examples of using javascript 
>>> just tells you you can... 
>>>
>>> It says: 
>>>
>>> [x{javascript} {javascript} {javascript}]
>>>
>>>
>> To be exact, it says:
>> [x{javascript}{javascript}{javascript}]
>> Note *no spaces* between the javascript clauses.
>>
>> enjoy,
>> -e
>> Eric Shulman
>> TiddlyTools / ELS Design Studios
>>
>> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TODAY:
>> "Inside TiddlyWiki: The Missing Manual"
>>
>> https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263
>>
>> NEW YEARS 2015 SPECIAL PERK UPGRADE
>> *** NOW THROUGH JANUARY 4th: ***
>> * each $10 donation receives the $50 "Friend" perk
>> * each $100 donation receives the $500 "Partner" perk
>>   (includes a SIGNED COPY OF THE FINAL PRINTED BOOK)
>>
>> Professional TiddlyWiki Consulting Services...
>> Analysis, Design, and Custom Solutions:
>>    http://www.TiddlyTools.com/#Contact
>>
>

-- 
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/d/optout.

Reply via email to