Sets a value for the form field using the appropriate display format for the field type and the language currently in use.
Throws an FormRuntimeException if the value is not appropriate for the field type.
Display formats can vary based on regional formatting associated with the language being used for the current form.
Formatting is applicable for date, time and numeric fields.
See Tools > System Preferences > Internationalization for details of the formatting applied for each language.
Boolean - value should be "true" or "false"
Character - any String value
Currency - any numeric String value, formatting commas/periods are supported
Date - should use an appropriate format for the current formatting language
Datetime - should use an appropriate format for the current formatting language
Throws an
FormRuntimeException
if the value is not appropriate for the field type.Display formats can vary based on regional formatting associated with the language being used for the current form. Formatting is applicable for date, time and numeric fields. See Tools > System Preferences > Internationalization for details of the formatting applied for each language.