logo

New Response

« Return to the blog entry

You are replying to:

  1. Jake,

    In XPages, Server Side Validation is really PREFERRED in my opinion. Sure it's a round trip to the server, but it's just SO DARN EASY you just don't want to write the CSJS.

    In the simple edit box controls and such, there are built in properties for required and length for instance. So in the case of Required, you turn it on - fill in a field with the message you want to return to the user and you're done.

    There are many custom validators behind the scenes as well if you need to get a little more advanced. And quite honestly I've not really played with the advanced stuff yet.

    I'm a little surprised that I've not done a short NotesIn9 on basic validation yet. I did cover it a little bit in my "Introduction to XPages" Show. This is 73 minutes, but it looks like I demo it a bit around the 49 minute mark.

    Here's link to there video on my site and also YouTube:

    http://notesin9.com/index.php/2010/09/26/notesin9-extended-edition-intro-to-xpages/

    http://www.youtube.com/watch?v=p6dvFZRNfZc&hd=1

    Hope that helps!

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: