Hi @Ittayd ,
I canāt get you all the way there - but I can get you started:
Letās say you have two fields:
- Tiddler called
Main
- Within the
Main
Tiddler - you have two fields:
- Field Called:
Item_A
- Field Called:
Item_B
Then, you can have this inside Main
- or any other Tiddler:
Show Item_A
: (You can also change it)
<$edit-text
tiddler="Main"
field="Item_A"
size="10"
placeholder="100"
/>
Show Item_B
: (You can also change it)
<$edit-text
tiddler="Main"
field="Item_B"
size="10"
placeholder="20"
/>
To Update the values - you have options,ā¦
- You can use āletā and set the values - this is set before you calculate
Letās Update A - when we set B
<$let Update_A={{{ [{Main!!Item_B} -(something here that multiplies and divides)- []] }}}>
<$action-setfield $tiddler="Main" $field="Item_A" $value=<<Update_A>> />
ā
Letās Update B - when we set A
<$let Update_B={{{ [{Main!!Item_A} -(something here that multiplies and divides)- []] }}}>
<$action-setfield $tiddler="Main" $field="Item_B" $value=<<Update_B>> />
I hope this helps,ā¦
TwN00b