Forum OpenACS Development: User Registration form more flexible

Collapse
Posted by Iuri Sampaio on
I've been learning the register pkg and i've got a few comments

1. ********** The Password
the password field is not a required field. if the user keeps it blank. He will be registered and the password will be created automatically.
Therefore the user will be locked out of the sistem since the first time.
Is that a way to make it as required, through the website?

*******************

2. ************** APIs

I've browsed APIdocs, reading the procs of user registration:

auth::get_registration_form_elements
auth::get_registration_elements
auth::get_all_registration_elements
etc...

it would be great to have the field's properties managed through the site.
I believe in this case an elegant solution would be a creation of parameters to set the values (optional, required),(hide, show). Is that w way to do that?

This thread is related to http://www.openacs.org/forums/message-view?message%5fid=502545

where I started to learn register pkg, in attempt to ammend the user regisration form