[twill] how do you fill text box in a form so that it returns new line?

Norman Khine nkhine at itaapy.com
Mon Mar 20 06:50:02 PST 2006


hello,
i have form:
Form name=addquesansform
## __Name__________________ __Type___ __ID________ __Value__________________
   type                     select    (None)       [''] of ['', 'MCQ',
'MAQ']
   code                     text      (None)       
   title                    textarea  (None)      

   options                  textarea  (None)      

   correct_options          text      (None)       
   answer                   textarea  (None)      

1                           submit    (None)       Add

 
and want to add a new line to the text box 'options' , so that the text
is listed one after the other.


>> fv addquesansform  options  'lin1 line2 .... line n'

 so that on the form it is:

line1
line2
...
line n

cheers
norman


-- 
Norman Khine
SARL ITAAPY 9 rue Darwin, 75018 Paris - Tel +33(0)1 42 23 67 45
Mail: nkhine at itaapy.com - Fax: 01 53 28 27 88




More information about the twill mailing list