Page 1 of 1

Validation:All are Required fields *solved*

PostPosted: Thu Jul 15, 2010 8:14 am
by chichi
Hello, all fields in my xataface-app are declared as required fields right now, i want to change this to optional.
How can I handle this? :?:

chichi

Re: Validation:All are Required fields - how can I change this

PostPosted: Fri Jul 16, 2010 7:15 am
by cantlep
Hi,

in fields.ini for that table, you could add this:
Code: Select all
validators:required = false


or

You could change the column in the actual Database itself to Null=yes, Default=NULL and then you wouldn't need the validators bit in fields.ini.

Rgds
Paul

Re: Validation:All are Required fields - how can I change this

PostPosted: Fri Jul 16, 2010 7:35 am
by chichi
Hey Paul,
I changed the column in the actual Database itself to Null=yes, now its working fine. :D

Thanks.