Placeholder attribute on form input fields

Posted by Community Admin on 03-Aug-2018 22:03

Placeholder attribute on form input fields

All Replies

Posted by Community Admin on 10-Oct-2011 00:00

More and more browsers are starting to support the "placeholder" attribute on form input fields. Is there currently a way to apply this property to fields via the Form content type and if not, are there any plans to add this? It would be really helpful.

Posted by Community Admin on 13-Oct-2011 00:00

Hello Roger,

Currently we're not supporting HTML5 tags out of the box. You can inherit from our widgets and create your own that support such and then set the doctype in the master page.

Best wishes,
Pavel Iliev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 20-Nov-2014 00:00

Pavel,

Does Sitefinity support HTML5 tags such as Placeholder yet? If so I can not find any documentation for it and would appreciate it if you could point me in the right direction.

Thanks.

Posted by Community Admin on 25-Nov-2014 00:00

Hi,

Unfortunately, we currently does not provide an option to set the placeholder out of the box. We use the default asp net textbox which by default does not have the placeholder property, however, it could be set client side on the generated input element. You should create a custom formtextbox control and extend it to persist a placeholder property and pass it to the descriptor, so it could be used to set it client side.

Regards,
Nikola Zagorchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed