[xwiki-users] Mandatory Validation for a property field
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 -- View this message in context: http://n2.nabble.com/Mandatory-Validation-for-a-property-field-tp1140940p114... Sent from the XWiki- Users mailing list archive at Nabble.com.
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+valid... 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
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+valid...
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/Mandatory-Validation-for-a-property-field-tp1140940p114... Sent from the XWiki- Users mailing list archive at Nabble.com.
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+valid...
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/Mandatory-Validation-for-a-property-field-tp1140940p114... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Jean-Vincent Drean
participants (3)
-
Jean-Vincent Drean -
Jerome Velociter -
syam_kg