| Previous · Next | |
| User | Message |
|
lrobinson
|
Date: 1/26/2010 5:16 am · Subject: AJAX checks at registration? · Rating: -1
Is there any code to do AJAX checks on user names and passwords as the user is filling in the fields on the createAccount page? (E.g. an onblur to check the username is not already taken, etc.)
|
| Back to Top |
Rate [ | ]
|
|
perlDreamer
|
Date: 1/28/2010 10:11 am · Subject: Re: AJAX checks at registration? · Rating: -1
There's no built-in code to do that, but the framework is in place to do it. The best way to do that in WebGUI is to make a custom Form plugin, that does the AJAX, much like the Keywords form plugin does. Then, alter the Auth code to use the new Form plugin instead of a regular text box for the username. |
| Back to Top |
Rate [ | ]
|
|
patspam
|
Date: 1/28/2010 5:30 pm · Subject: Re: AJAX checks at registration? · Rating: -1
That would be a great RFE.As Colin says:1. A new WebGUI::Form:: package that wraps up a text input field with ajax checking for username uniqueness2. Similarly for password input (checking against current password constraint settings - length etc..) 3. Modify auth to use the new form classes instead of a regular text input fields Patrick On Fri, Jan 29, 2010 at 3:11 AM, <colink@perldreamer.com> wrote: perlDreamer wrote: |
| Back to Top |
Rate [ | ]
|
|
lrobinson
|
Date: 1/29/2010 4:24 am · Subject: Re: AJAX checks at registration? · Rating: -1
I've created the RFE and donated some Karma. http://www.webgui.org/rfe/request-for-enhancement/11383 |
| Back to Top |
Rate [ | ]
|
|
lrobinson
|
Date: 2/12/2010 4:44 am · Subject: Re: AJAX checks at registration? · Rating: -1
Thanks to those who've donated Karma to this RFE http://www.webgui.org/rfe/request-for-enhancement/11383 Who knows, a little bit more and I might be tempted to have a go myself.
|
| Back to Top |
Rate [ | ]
|
|
lrobinson
|
Date: 3/1/2010 9:50 am · Subject: Re: AJAX checks at registration? · Rating: -1
I've fixed this locally. Wondering how best to share my code with the world. Luke
|
| Back to Top |
Rate [ | ]
|
|
perlDreamer
|
Date: 3/1/2010 11:40 am · Subject: Re: AJAX checks at registration? · Rating: -1
You can attach patches to the RFE, or URLs for git pulls (with rev specs of all commits). 7.9 is now open for new development and this is a pretty simple change (one plugin and some minor form code changes to Auth). |
| Back to Top |
Rate [ | ]
|