It used to work.....

137 views
Skip to first unread message

Stephen Wilson

unread,
Dec 19, 2017, 6:59:36 AM12/19/17
to tiddl...@googlegroups.com
I have a button which generates two random numbers and then evaluates the sum and returns that value to a field...
Or at least it used to...


Now it returns the value of the previous sum.



The old data tiddler is here

The statans field should be the sum of the other two.

The code is the same...

WHATS GOING ON!!!!!  *sobs*

<$button>Random Question
<$action-setfield $tiddler="data" $field="statrand1" $value=
<
<eval datatiddler:"data" cell:"random1">>/>
<$action-setfield $tiddler="data" $field="statrand2" $value=
<
<eval datatiddler:"data" cell:"random1">>/>
<$action-setfield $tiddler="data" $field="statans" $value=
<
<eval datatiddler:"data" cell:"ans">>/>
</$button>


Cheers :)

Ste





Stephen Wilson

unread,
Dec 19, 2017, 7:47:56 AM12/19/17
to TiddlyWiki
Old in action here

New in action here

Ste Wilson

unread,
Dec 19, 2017, 6:27:59 PM12/19/17
to TiddlyWiki
Anyone??

Mark S.

unread,
Dec 19, 2017, 7:20:17 PM12/19/17
to TiddlyWiki
This isn't much help. The two TW's are  different versions. If I upgrade your failing TW to 5.1.15, then the math problem goes away.

BUT, now your eval1 doesn't show a cell where to enter an answer.

Possibly you could upgrade your 5.1.14 pre-release to just 5.1.14, since that version seems to work with your plugins.

-- Mark


On Tuesday, December 19, 2017 at 3:27:59 PM UTC-8, Ste Wilson wrote:
Anyone??

Ste Wilson

unread,
Dec 20, 2017, 2:14:10 AM12/20/17
to TiddlyWiki
Fancy that.. So my older backup is on a newer version than my current one... What the help have I been doing?

Cheers

Ste

Stephen Wilson

unread,
Dec 20, 2017, 6:23:16 AM12/20/17
to TiddlyWiki
Yep, that got it :)
Reply all
Reply to author
Forward
0 new messages