Placeholder attribute on form input fields - General Discussions - General Discussions - Progress Community
 General Discussions

Placeholder attribute on form input fields

  • Placeholder attribute on form input fields
  • 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.
  • 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
  • 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.

  • 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