Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » MultiPage Forms module Questions.

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 282 Views
  • Schippie
    Avatar
    Community Member
    32 Posts

    MultiPage Forms module Questions. Link to this post

    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.

    282 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.