On Jul 30, 2009, at 1:29 AM, Carl wrote: > > Fran - thanks. that's great. C
I keep seeing great tips like this fly past on the mailing list. I try to mark them, but it emphasizes how useful it would be to be able to accumulate knowledge in a ... knowledge base. I know that's not a new suggestion, but mailing lists aren't structured, and they tend not to be search-friendly. > > On Jul 29, 8:53 pm, Fran <[email protected]> wrote: >> On Jul 29, 8:13 pm, Carl <[email protected]> wrote: >> >>> for the future: being able to set my own form for register() would >>> be >>> real nice. at present I can do that only if I want to pull in a >>> remote >>> authentication system. >> >> You can have extra fields on the register() form very easily - the >> form is simply a SQLFORM of the auth_user table...so just create a >> custom auth_user table with the fields you want before you call >> auth.define_tables() >> >> You can also make a full custom form in the usual way: >> In the view instead of {{=form}} you can do: >> {{=form.custom.begin}} >> {{=form.custom.widget.first_name}} >> etc >> {{=form.custom.submit}} >> {{=form.custom.end}} >> >> & surround these elements with whatever HTML you want... >> >> As long as the mandatory fields are populated then you're good to >> go :) >> >> F > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

