I am using Joomla 1.5.1 and CF 2.5J1.5RC2.1. I am using the Registration plugin and have Validation enabled. Is there a way to check form username and email against #__users table using Form Code, or by trapping the error returned by Joomla (or some other way)? Right now the form is submitted, emails are sent and the Joomla error message "This username/password already in use." is written over my redirection URL article.
Forums
Form username & email validation
Hi Dennis,
This is a good feature to be added, will make sure we have this soon, may be using AJAX, but currently we use the same method Joomla uses so its not better or less!
Cheers
Max
This is a good feature to be added, will make sure we have this soon, may be using AJAX, but currently we use the same method Joomla uses so its not better or less!
Cheers
Max
Hi dennisg,
I wrote a custom plugin recently that worked with a hacked version of chronocontact.php. This ran some checks and returned a value if there was a problem so that it could be caught and handled before the emails were sent. You can't do that with the current PlugIn code.
Bob
I wrote a custom plugin recently that worked with a hacked version of chronocontact.php. This ran some checks and returned a value if there was a problem so that it could be caught and handled before the emails were sent. You can't do that with the current PlugIn code.
Bob
I did some investigation into this issue to figure out a hack and noticed a few things:
1) Registration emails are sent BEFORE the call to the Registration Plugin.
2) There is no checking to see if plugin returns successful ( onsubmit() ).
So, if I return a false from the plugin and perform a check (2) , it's too late - the email is already sent.
1) Registration emails are sent BEFORE the call to the Registration Plugin.
2) There is no checking to see if plugin returns successful ( onsubmit() ).
So, if I return a false from the plugin and perform a check (2) , it's too late - the email is already sent.
Hi Dennis,
Exactly, new version of Chronoforms will be available very soon with the option for you to set when the plugins are called : before or after email is sent, global variables defined in the plugins so you can get them later in the email or check them before sending, for example a new Authorize.net payment plugin is available (not released yet) which connects to Authorize and make payment and only if Authorize.net returns APPROVED the email is sent and the order is saved or other plugins run🙂
The only bad news is that all this will be available for the Joomla 1.0 version first then get implemented at the J1.5 version!
Regards,
Max
Exactly, new version of Chronoforms will be available very soon with the option for you to set when the plugins are called : before or after email is sent, global variables defined in the plugins so you can get them later in the email or check them before sending, for example a new Authorize.net payment plugin is available (not released yet) which connects to Authorize and make payment and only if Authorize.net returns APPROVED the email is sent and the order is saved or other plugins run🙂
The only bad news is that all this will be available for the Joomla 1.0 version first then get implemented at the J1.5 version!
Regards,
Max
This topic is locked and no more replies can be posted.