Personal tools
You are here: Home / OSCAR Users / EMR and Case Management Resources / eForms / eForms in development/beta testing / Useful Code / Oscarizing radio boxes and check boxes
Navigation
 

Oscarizing radio boxes and check boxes

From Stanley Hurwitz : I've been having difficulty saving check boxes and radio boxes in Oscar. I realize that this has been addressed in the new eform generator, but the following helps to build from scratch. Oscar manages radio boxes differently: Normally radio boxes are each given a unique ID but with the same name. Saving radio boxes in Oscar will check ALL boxes in the group. 1. To save radioboxes in Oscar, they need to be converted to input boxes, each with it's own unique ID. To group as a radio group they require a unique class for each radiogroup. 2. To assign class rules, use a CSS that allows a class name plus a wild card rather than having to repeat the CSS rules for each radio group class. 3. To apply CSS rules to all radiogoups, use a second class name. 4. Small X-boxes don't fax well. This can be overcome by blacking out the entire checkbox. Firefox defaults to NOT printing back ground colors. Thus to print a black box, you cannot use a background black color. The trick is to use boxshadow with inset: boxShadow = "inset 0 0 0 1000px black" The attached HTML file demonstrates Stan

Document Actions

 

Download button

DOWNLOAD OSCAR FOR TESTING

 

eForms button

DOWNLOAD SHARED E-FORMS


 Customize button

FIND PLUG-INS AND TWEAKS
FOR YOUR OSCAR EMR

 

Subscribe Button

SUBSCRIBE TO DISCUSSION LIST 
(SEE ALL LISTS)

  

Help button

ACCESS THE ONLINE MANUALS
(PAID SUPPORT)