[edutex] show/hide

Frank Quinn quinn at math.vt.edu
Sun Aug 30 00:08:52 CEST 2009


This is an idea about how (in PDF) to hide an answer sheet until a  
button is activated. It also illustrates what the modular design  
should make possible, without changing core code. Finally  it could be  
used to address security concerns, though that is not the primary  
objective.

The idea is to have the question sheet and answer sheet be separate  
documents.  The "show answers" button could either bring the answer  
document out of hiding (if they are delivered together) or send a  
request to the server to send it.

The scoring functionality should be embedded in the answer document.  
Anyone (eg. Don) know how this could be done?

-- can JS functions query fields in a different document?

-- if not then perhaps the question document could have a function  
that collects the responses and sends them (eg as a string) to the  
answer document? 

Frank


More information about the edutex mailing list