Hi Kevin,
On another thread I saw you mention plans to add registration form support to the Form and related plugins. That's great news!
One suggestion:
It would be good to be able to specify requirements for fields that appear on the registration from, like for a text area (e.g. about me field) that there should be a minimum of X characters entered.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- bthj@bthj
bthj - 0 likes
You must log in to post replies.Another addition will be hooks for validation functions throughout the form plugin. As validation can be complex, I doubt that there will be a UI for specifying validation but there will a clear example of how to add validation functions to the different field types.
So a function might be:
function validate_aboutme(value) {
if (strlen(value) < 20) {
return false;
} else {
return true;
}
}
You could add that as a trivial plugin.
That would be great, to have an example (plugin) to base a custom validation on : )