In general user have to enter only one field...but if fills two then there should be message stating please enter one field...
Is this possible...? thanks On Friday, 25 October 2013 13:52:13 UTC-7, Niphlod wrote: > > what if he fills two forms then ? > > On Friday, October 25, 2013 10:49:40 PM UTC+2, sonu kumar wrote: >> >> my goal is when user enter either of four form field value it goes to >> corresponding redirect page after pressing one submit button. >> >> thanks >> >> On Friday, 25 October 2013 12:49:31 UTC-7, Niphlod wrote: >>> >>> you can't post to the same page more than a form at a time (unlessajax >>> is involved). >>> For sure you can't have a single controller handling multiple posts and >>> redirect to very different pages for every pseudo-form....how should that >>> happen (meaning .... what are you trying to achieve) ? >>> You have a page with 4 forms, you press on the "big submit" and then ? 4 >>> pages pop up from nowhere ? >>> >>> Use components! >>> http://web2py.com/books/default/chapter/29/12/components-and-plugins >>> >>> >>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

