> ... > > Notice, though, that if that fixes the validation, you've still got the > problem that the user has selected a last name that's no longer in the > database. If you can confirm that this is indeed the bug, you might want to > leave the code as-is, since the validation failure is correct (in the sense > that the selected item is not in the database). > > (And you can still have duplicate last names, which is another matter > altogether.)
Thanks for the comments. The last names come from a large pool of last names. Only a much smaller number of last names are available for the user to select. So really I am just using web2py's "requires" to force the form to show the available list. Technically, I would then have to validate the selection against the much larger pool of last names. But I don't know what names are in that pool! I don't really have to validate the selection. Just the fact that it was available on the menu means it was valid for this. I know this must sound confusing! In case you must know, this all has to do with letting internal users get accounts on Second Life. We need to create a Web form front end for users to register and so we can keep track of who is doing that. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

