Re: [xwiki-users] Mandatory Validation for a property field

2008-10-06 Thread Jean-Vincent Drean
Hi,

What xwiki version are you using ? Have you tried the xar sample
provided in the tutorial ? does it work ?

Thanks,
JV.

On Fri, Oct 3, 2008 at 12:14 PM, syam_kg [EMAIL PROTECTED] wrote:

 Hi Jerome,

 Thanks for the reply. I had a look into the page you pointed out. For a
 property in my class, I tried with the regular expression /.{1,50}/ so that
 it would show a message if the entered text length range is not in the range
 1 - 50. But it is allowing me to save the form without entering a single
 character. Is there anything else needs to be done to enable the validation
 ?

 Syam


 Jerome Velociter-2 wrote:

 Hello Syam,

 There is no way to precise this from the classe editor. You might be
 interested by
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+validation+and+tooltips

 Regards,
 Jerome

 syam_kg wrote:
 Hi
 Is it possible to configure a property of an XWiki class mandatory in the
 class editor? If not please provide me an alternate way to acheive this.I
 am
 using XE 1.5.1

 Regards
 Syam

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



 --
 View this message in context: 
 http://n2.nabble.com/Mandatory-Validation-for-a-property-field-tp1140940p1141675.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Jean-Vincent Drean
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Mandatory Validation for a property field

2008-10-03 Thread Jerome Velociter
Hello Syam,

There is no way to precise this from the classe editor. You might be 
interested by 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+validation+and+tooltips

Regards,
Jerome

syam_kg wrote:
 Hi
 Is it possible to configure a property of an XWiki class mandatory in the
 class editor? If not please provide me an alternate way to acheive this.I am
 using XE 1.5.1

 Regards
 Syam

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Mandatory Validation for a property field

2008-10-03 Thread syam_kg

Hi Jerome,

Thanks for the reply. I had a look into the page you pointed out. For a
property in my class, I tried with the regular expression /.{1,50}/ so that
it would show a message if the entered text length range is not in the range
1 - 50. But it is allowing me to save the form without entering a single
character. Is there anything else needs to be done to enable the validation
?

Syam


Jerome Velociter-2 wrote:
 
 Hello Syam,
 
 There is no way to precise this from the classe editor. You might be 
 interested by 
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+validation+and+tooltips
 
 Regards,
 Jerome
 
 syam_kg wrote:
 Hi
 Is it possible to configure a property of an XWiki class mandatory in the
 class editor? If not please provide me an alternate way to acheive this.I
 am
 using XE 1.5.1

 Regards
 Syam
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Mandatory-Validation-for-a-property-field-tp1140940p1141675.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users