Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


Help with custom registration validation plugin
Date: 2007/04/18 18:34 By: mjhnyc Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 1
graphgraph
Hello, all.

I'm writing a plugin to validate the entered value of a custom field on the user registration form against values I have in a database.

In my plugin I have registered the function to be called onBeforeUserRegistration. If the validation fails, I call raiseError(0) and _setErrorMSG($errmsg).

This is all working fine, but when the validation fails, the resulting page shows the error message (after a javascript alert) and nothing else. What do I need to do to show the registration form again so the user can correct the problem?

Thanks, in advance.

--MJH
Click here to see the profile of this user The administrator has disabled public write access.

Re:Help with custom registration validation plugin
Date: 2007/06/21 18:04 By: ziwe Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
did you ever find a solution to this ? i am having the same problem
Click here to see the profile of this user The administrator has disabled public write access.

Re:Help with custom registration validation plugin
Date: 2008/04/24 06:41 By: suman Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 13
graphgraph
any news ?
Click here to see the profile of this user The administrator has disabled public write access.

Re:Help with custom registration validation plugin
Date: 2008/06/06 07:34 By: sjnims Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 13
graphgraph
any update on this?
Click here to see the profile of this user The administrator has disabled public write access.

Re:Help with custom registration validation plugin
Date: 2008/07/29 16:11 By: AprilFloyd Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 6
graphgraph
Any update - I am interested too
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login