I had a few questions regarding the multipage forms module. When going through the book "Silverstripe the complete guide to CMS development" (chapter 6.4.3 to 6.4.9).
- - On page 190 it shows how to restrictFields using:
$fields = $this->scaffoldFormFields(array( 'restrictFields'=> array( 'Firstname', 'Surname', etc.
Is there any place i can find most/all of the available options that can be restricted here?
Secondly how to unrestrict the password fields. Since they are currently not filled in (available) on the page with the current restrictFields setup.Figured out that i had to simply use password and then with the fieldClasses array add
'Password' => 'ConfirmedPasswordField'
- - How would you add confirmedpasswordfield to this? instead of the normal password field. Also is there any way to extend the field classes EmailField for example? to include your own functions / requriements.