Hi. We need to be able to select, say, ankle, and give a brief summary using check boxes. We would like to be able to use a button to clear the check boxes, and select a second location, using the same fields in the form, without clearing the text from the first entry for ankle.
Does anyone know how to accomplish this ? I have tried with global variables, but the text keeps getting wiped out when I hit the clear button. Thank you.
John
Faxton-St. Lukes healthcare
What I would recommend is to add a button, set to append the edit field, that adds text based on the check boxes when clicked, not to tie the checkboxes directly to the edit field. See GE's family health history form for an example.
I would give a radio button with choices for ankle, calf, thigh, etc. Then the action button would do a case statement like this:
cond
case document.radio="ankle" and document.checkbox <>""
obsnow("Ankle",document.checkbox)
case document.radio="calf" and document.checkbox <>""
obsnow("Calf",document.checkbox)
etc.
endcond
This assumes you want to use different obs terms/document variable for each area you are doing a summary on.