def entry(form): textarea=""" <textarea name='text'> Write something here </textarea> """ submit=""" <input type='submit' name='submit' value='confirm'> """ return cgipage(html_form(textarea + submit))
def entry(form): textarea = """ <textarea name='text'> Write something here </textarea> """ submit = """ <input type='submit' name='submit' value='confirm'> """ return cgipage(html_form(textarea + submit))
def entry(form): checkbox=""" C1<input type=checkbox name=check1><br/> C2<input type=checkbox name=check2><br/> C3<input type=checkbox name=check3><br/> """ radiobuttons=""" R1<input type=radio name=choice value=1><br/> R2<input type=radio name=choice value=2><br/> R3<input type=radio name=choice value=3><br/> """ submit=""" <input type='submit' name='submit' value='confirm'> """ return cgipage(html_form(checkbox + radiobuttons + submit))
def entry(form): checkbox = """ C1<input type=checkbox name=check1><br/> C2<input type=checkbox name=check2><br/> C3<input type=checkbox name=check3><br/> """ radiobuttons = """ R1<input type=radio name=choice value=1><br/> R2<input type=radio name=choice value=2><br/> R3<input type=radio name=choice value=3><br/> """ submit = """ <input type='submit' name='submit' value='confirm'> """ return cgipage(html_form(checkbox + radiobuttons + submit))