I think rather than have a field or value change based on a selection, I 
would have a displayed value that used
the values in the various fields to calculate the result. This way you 
avoid accidental feedback where the score goes down every time the BP 
checkbox is clicked/unclicked.

Depending on how advanced your calculations, you might be able to do this 
with just the TW  math operators. If you're doing the whole Framingham 
thing, then maybe
you'll need Evan Balster's math kit 
https://github.com/EvanBalster/TiddlyWikiFormula or some other 3rd party 
toolkit.



On Thursday, December 26, 2019 at 12:08:20 PM UTC-8, Matthew Potter wrote:
>
> Hey Folks,
>
> I've been working on something for the past couple hours and I can't seem 
> to get it, 
>
> what I am trying to do is have a score count based on field responses
>
>  right now I have built an assessment worksheet in my tiddlywiki for my 
> patients health results. Everyones health results start at 100, and 
> depending the answers in the input, checkbox and range slections the score 
> slowly goes down depending on their answers
>
> I am thinking the answer looks something like this
>
> <$checkbox tiddler="blood-pressure" actions="something goes here">was your 
> blood pressure recently?</$checkbox>
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8648ae97-7793-47eb-8f6b-8389759af7e0%40googlegroups.com.

Reply via email to