Placeholder text in oXygen css for text field and textarea
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 157
- Joined: Mon Aug 18, 2014 4:11 pm
Placeholder text in oXygen css for text field and textarea
Hi Team
I would like to know whether it is possible to keep some placeholder text in an oXygen css text field(oxy_textfield). We are using oXygen 19.1 Author version.
For example : we have a text box for <change-completed> element and we need to show DD-MM-YYYY as placeholder text in the text box. How this is possible?
2) Also we need to know whether it is possible to have this for text area(oxy_textArea) .
Best Regards,
Shabeer
I would like to know whether it is possible to keep some placeholder text in an oXygen css text field(oxy_textfield). We are using oXygen 19.1 Author version.
For example : we have a text box for <change-completed> element and we need to show DD-MM-YYYY as placeholder text in the text box. How this is possible?
2) Also we need to know whether it is possible to have this for text area(oxy_textArea) .
Best Regards,
Shabeer
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Placeholder text in oXygen css for text field and textarea
Post by alex_jitianu »
Hello,
Currently, those two form controls don't offer this functionality. I will add an issue to support a new placeholder property on the form controls.
Meanwhile, perhaps it will help if you use a date picker form control instead of the text field because you can impose a date format.
There is always the option to create custom form controls that will present a placeholder text as you desire.
Best regards,
Alex
Currently, those two form controls don't offer this functionality. I will add an issue to support a new placeholder property on the form controls.
Meanwhile, perhaps it will help if you use a date picker form control instead of the text field because you can impose a date format.
There is always the option to create custom form controls that will present a placeholder text as you desire.
Best regards,
Alex
-
- Posts: 157
- Joined: Mon Aug 18, 2014 4:11 pm
Re: Placeholder text in oXygen css for text field and textarea
Hi Alex,
Thanks for the solution.
We are using eclipse-oXygen 18.1.
Currently the date format shown in oxy_datePicker is in 'MM/DD/YYYY' and the date inserted is in 'YYYY-MM-DD' format. This is a little confusing for an end user.
Is there any way to change the date format shown in the oxy_datePicker popup?
Best Regards,
Shabeer
Thanks for the solution.
We are using eclipse-oXygen 18.1.
Currently the date format shown in oxy_datePicker is in 'MM/DD/YYYY' and the date inserted is in 'YYYY-MM-DD' format. This is a little confusing for an end user.
Is there any way to change the date format shown in the oxy_datePicker popup?
Best Regards,
Shabeer
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Placeholder text in oXygen css for text field and textarea
Hi Shabeer,
Alex took a week off.
The date picker you see on Eclipse is the usual date picker component that can be used on this platform (org.eclipse.swt.widgets.DateTime) and it formats the presented date based on the current user locale. Unfortunately we cannot quite control this from our side.
Regards,
Radu
Alex took a week off.
The date picker you see on Eclipse is the usual date picker component that can be used on this platform (org.eclipse.swt.widgets.DateTime) and it formats the presented date based on the current user locale. Unfortunately we cannot quite control this from our side.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service