def rapid():
 val = get_vars.get('val', True)
 if (val == '0'):
  val = False
 else:
  val = True
 session.s3.rapid_data_entry = val
 response.view = 'xml.html'
 return dict(item=str(session.s3.rapid_data_entry))

def rapid ( ) : val = get_vars . get ( 'val' , True ) if ( val == '0' ) : val = False else : val = True session . s3 . rapid_data_entry = val response . view = 'xml.html' return dict ( item = str ( session . s3 . rapid_data_entry ) )
set/remove rapid data entry flag .