My Health Software, Support Forum » Toggle categories
logo logo

« Back to forum topic index ... Post new topic


Support Forum Topic: Toggle categories
Started by: Steve (My Health Software Support)
Date: August 4, 2010

I received this question by email:

You have preset categories that are what I would call toggles (sitting/standing) — selecting one de-selects the other. Is there a way I could write my own toggle? For, say, Getting up/Going to Bed Huh

Yes, the trick is to add a common “prefix” to the categories that you want to toggle. If the category label includes a dash (“-”), then the prefix is the part of the label before the dash.

So instead of entering “Getting up” and “Going to bed” as category labels, enter “Sleep-Getting up” and  “Sleep-Going to bed”.

“Sleep” is the common prefix, and is not displayed anywhere, but it will mean that only one of the “Sleep-Getting up” or “Sleep-Going to bed” categories can be checked at any time.

Steve

bottom


bottom ForumAdmin