Default Value of DatePicker
Oxygen general issues.
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Default Value of DatePicker
Post by alex_jitianu »
Hi,
I need little more details to understand your situation. When inserting such a date element, do you want to automatically insert the current date into that element? This can be achieve with an author action based on a InsertFragmentOperation that uses the "date" editor variable inside the fragment to insert:
Or is this about the widget that allows you to select a date and you want it to present the current date instead of the one currently set in the form control? By default, if no value is present in the form control then the widget will present the current date so a quick solution would be to delete the value from the form control before presenting the widget.
Best regards,
Alex
I need little more details to understand your situation. When inserting such a date element, do you want to automatically insert the current date into that element? This can be achieve with an author action based on a InsertFragmentOperation that uses the "date" editor variable inside the fragment to insert:
Code: Select all
<element>${date(yyyy-MM-dd)}</element>
Best regards,
Alex
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