I would suggest going the 2nd path. It would be the simplest way to do this and I believe you only have to change one file: schedConf/registration
Your plan for implementing this sounds good to me. Let us know if you run into any problems and we can give you more assistance.
Well, I set out to go the 2nd path, but I've run into a problem. The validation
process which warns the user if some required fields
were left empty isn't called when I send the registration
page back to itself (naturally) to show a confirmation dialog. Is there a way to manually call the validation
process ? I'm trying to understand how to use this piece of code found in UserRegistrationForm.inc.php outside of the normal process :
- Code: Select all
$this->addCheck(new FormValidator($this, 'firstName', 'required', 'user.profile.form.firstNameRequired'));
I need to do the validation
from inside the registration
template (UserRegistrationForm.tpl), any hint I could follow?