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, Ed, biapar, Willr, Ingo, swaiba

Change Type on EmailField

Go to End

2 Posts   869 Views


Community Member, 50 Posts

14 March 2011 at 3:46am

Hi, is it possible to change the type on the email field so the iPhone recognises it?



Forum Moderator, 5523 Posts

15 March 2011 at 9:58pm

Not the built in Email class. You could create your own Email field subclass really easily. Subclass EmailField and override the Field() function to return the Html you want. Will be all a lot easiest in 3.0 when you will be able to theme your own form fields.