In my dialog, I have 3 fields, "name", "short description", and "description"
which are all mandatory. When I add a new entry, if one of the validation
failed in other fields, the richtextfield will always throw error even if it
should have passed the validation. In this case, I have value to the
description which is a richtext but I dont have value to short description so
the validation for this field failed. This only happens on create mode. This
does not happen in update mode. Any idea how to resolve this issue?
My configuration is:
[code]
form:
tabs:
- name: product
label: Basic Information
fields:
- name: name
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
label: Name
i18n: true
required: true
- name: shortDescription
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
label: Short Description
rows: 5
i18n: true
required: true
- name: description
class: info.magnolia.ui.form.field.definition.RichTextFieldDefinition
height: 200
label: Description
i18n: true
required: true
[/code]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=95ff0fb7-6570-4038-9881-1f7e75784a78
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------