Field Character Limitations

7 views
Skip to first unread message

Oscar

unread,
Jul 9, 2020, 1:23:45 PM7/9/20
to Orbeon Forms
Hi all,

Would there be an Xpath formula or configuration that can be enabled to only allow a certain number of characters?

For example, I have a Zip field and I am trying to do 2 validations:
  1.   Only numeric characters allowed
  2.   Maximum length of 5 numeric characters (I am already utilizing the forumula string-length()=5)
At this point, I have validations set in place to check this, but the user can enter other characters and any number of numeric characters as it only activates after the user leaves the active field. I would like the form to do not accept input after the 5th numeric character or other characters at the time of input.


Thank you!

Oscar

Jarosław Kowalewski

unread,
Jul 9, 2020, 4:15:25 PM7/9/20
to orb...@googlegroups.com
Hi,
The value is changed after you leave the field. 
If you need it 'live' you have to edit source code...

//Jarek

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orbeon+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/24b631fb-7787-4435-9ca7-f103092fdee1o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages