fm:Form_DateTime


Component description. Use paragraphs, punctuation and full sentences. Avoid bulletpoints.

Example

<!-- Primary code example. This example should display the simplest use-case possible, but not simpler -->

Supported attributes

NameRequiredDefaultDescription
classOptionalThe css classname that will be assigned to the actual html form field. Note that a few default classes might be added
disabledOptionalN/AThis will set the html disabled attribute
idOptionalrandomizedThe id of the form element. Note that this id will also be used for the 'for' attribute in the <label> component
labelOptionalN/AThis attribute will be used to generate labels for this component, if it's used within an fm:Form component
languageOptionalN/AThis specifies which language to use for the display of the form_country dropdown. Choices are:
  • en - English
  • es - Spanish
  • fr - French
  • nl - Dutch
nameRequiredN/AThe name of the form field. This is how the value will be submitted back to the server
readonlyOptionalN/AThis sets the html readonly attribute and controls if the user can change the value
requiredOptional0Set required to '1' if you'd like the form validator to check if this form element has a value before submitting
styleOptionalThe style attribute for the actual form component
valueOptionalThe current value of the form element

Optional notes about the supported attributes.

Template variables

This component defines no template variables.

Optional notes about supported template variables.

See also

  • List of related pages in the documentation here.

More examples

<!-- Complex code examples. Note that the goal is not to write an entire application here, instead it should focus on advanced usage patterns of the component. This section is optional-->