Calculation
[comment memo="This is a completely meaningless calculator"] favorite color [select name="color" value="red=0|brown=1|blue=2|green=3"] favorite movie [select name="movie" value="Popeye=0|Good Morning Vietnam=1|What Dreams May Come=2|The Fisher King=3"] favorite carbohydrate [select name="carb" value="lactose intolerant=0|pasta=1|rice=2|potatoes=3"] [calc value="(color)+(movie)+(carb)" memo="score"] [calc value="score=(color)+(movie)+(carb); score>8?'You almost ate enough fiber today':score>4?'You forgot to finish something important today':'You have no time for this'" memo="score interpretation"]
Result - Copy and paste this output:
Sandbox Metrics: Structured Data Index 1, 6 form elements, 6 boilerplate words, 3 drop downs, 1 comments, 2 calculations, 3 total clicks
More SOAPnotes by this Author:
Send Feedback for this SOAPnote
You must be logged in to post a comment.