Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

i18n 99% there

Go to End

10 Posts   1106 Views


Community Member, 115 Posts

22 March 2012 at 8:32am

Ok i'll help you out a little bit more:

function SigninForm(){
   $form = new Form(
      new FieldSet(
         $email = new TextField("Email", _t('CustomLoginForm.ENTEREMAIL')),
         $password = new PasswordField("password", _t('CustomLoginForm.ENTERPASSWORD', 'Enter Password'))
      new FieldSet(
         $dosignin = new FormAction("doLogin", _t("CustomLoginForm.SIGNINBUTTON", "Sign In"))
      new RequiredFields(
   return $form;


Community Member, 86 Posts

22 March 2012 at 10:11am

Josh, Many thanks for your help, you're fabulous. :)


Go to Top