Use: <input type="hidden" name="serials" value="7777">
in the Template. Anand On Mon, Mar 3, 2014 at 10:57 AM, Umar Draz <[email protected]> wrote: > Hi Everybody > > how I can handle input array[] with web.py > > here is my template/html file > > *<input type="hidden" name="serials[]" value="7777">* > *<input type="hidden" name="serials[]" value="8888">* > *<input type="hidden" name="serials[]" value="9999">* > > and here is my .py file > > > *ids = web.input(serials=[]) * > > If I print the ids > > *print ids.serials* > > its just showing me empty [] > > would you please help me how I can solve this > > Br. > > Umar > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/webpy. > For more options, visit https://groups.google.com/groups/opt_out. > -- Anand http://anandology.com/ -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
