Re: Next step on LiveUser_Admin - example 1
Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
On 15/06/2005, at 11:20 PM, Lukas Smith wrote: > We should probably add another parameter in demodata.php to control if > the database should be created or not. Could you open a feature > request on that one? > > Thx for all the feedback! > > I have nearly completed a register frontend which can be used as an example. its not procedural and uses some customised baseclasses so would be tedious to create an example out of it. However I use DB_DataObject_Formbuilder to build the form and the rules and then once the form is validated add the user with liveuser. There is two custom rules that I add into the form, one is for password and second password comparison checks, the second is a custom callback rule which calls a class that checks for a duplicate handle etc. Because its a public form I have chosen server side, so they dont turn off javascript, to do a handle check client side would have relied on the ajax method however i got stuck this morning returning true or false on the callback method. Anyway is there anywhere to post this example somewhere ?