Ejemplo n.º 1
0
 def get_textfield_question(self, html_frag, question):
     field = typeformio.long_text_field(question)
     logging.info("text field question")
     size = html_frag.find(class_="text")['size']
     return field
Ejemplo n.º 2
0
 def get_long_text_question(self, html_frag):
     field = typeformio.long_text_field()
     logging.info("found long text question")
     field.set_tags((html_frag.find("textarea")["name"]).replace(".", ":"))
     return field
Ejemplo n.º 3
0
    def get_textfield_question(self,html_frag,question):
	field = typeformio.long_text_field(question)
	logging.info("text field question") 
	size = html_frag.find(class_="text")['size']
	return field 
Ejemplo n.º 4
0
    def get_long_text_question(self,html_frag):
	field = typeformio.long_text_field()
	logging.info("found long text question") 
        field.set_tags((html_frag.find("textarea")["name"]).replace(".",":"))
	return field