Validation:All are Required fields *solved*

A place for users and developers of the Xataface to discuss and receive support.

Validation:All are Required fields *solved*

Postby chichi » Thu Jul 15, 2010 8:14 am

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
Last edited by chichi on Mon Jul 19, 2010 1:57 am, edited 1 time in total.
chichi
 
Posts: 28
Joined: Fri Jul 09, 2010 3:05 am

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

Postby cantlep » Fri Jul 16, 2010 7:15 am

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
cantlep
 
Posts: 172
Joined: Fri Mar 05, 2010 2:14 am

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

Postby chichi » Fri Jul 16, 2010 7:35 am

Hey Paul,
I changed the column in the actual Database itself to Null=yes, now its working fine. :D

Thanks.
chichi
 
Posts: 28
Joined: Fri Jul 09, 2010 3:05 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 43 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved