I have visited field.
[code]
  - name: visited
    required: true
    class: info.magnolia.ui.form.field.definition.TextFieldDefinition
    validators:
    - name: visited
      class: 
info.magnolia.ui.form.validator.definition.RegexpValidatorDefinition
      pattern: ^[0-9]*$
[/code]
I just change type to Long (for selects "more then") i starts getting error 
from validator even if field valid long value. 
When i turn of validation i have StackTrace of error if value can't be casted 
to Long.

How to validate Long values in dialogs?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=54e52a84-7744-4e34-9d9d-88c6e876c00d


----------------------------------------------------------------
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: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to