[ckan-dev] Required-field

Pabitra Dash pkdash_reena at hotmail.com
Thu Mar 13 14:42:32 UTC 2014


I use 'not_empty' if I want to make any custom metadata element 'data entry required'.
 
Pabitra


 
Date: Thu, 13 Mar 2014 15:14:43 +0100
From: ckanappoggio at gmail.com
To: ckan-dev at lists.okfn.org
Subject: Re: [ckan-dev] Required-field

Yes it's a custom field. 
I tried to add the not_missing instead of ignore_missing in toolkit.get_validator() but nothing changes


On Thu, Mar 13, 2014 at 8:21 AM, Nigel Babu <nigel.babu at okfn.org> wrote:

Is this a custom field? You need the add the 'not_missing' validator in your schema.



Nigel Babu



Developer  |  @nigelbabu


The Open Knowledge Foundation


Empowering through Open Knowledge


http://okfn.org/  |  @okfn  |  OKF on Facebook  |  Blog  |  Newsletter









CKAN | http://ckan.org/ | @CKANproject | the world’s leading open-source data portal platform





On 12 March 2014 23:32, Fabrizio Fornari <ckanappoggio at gmail.com> wrote:



Hi guys!
How can I change a field to make it a required-field? 
Thank you!
- Fabrizio




_______________________________________________

ckan-dev mailing list

ckan-dev at lists.okfn.org

https://lists.okfn.org/mailman/listinfo/ckan-dev

Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev





_______________________________________________

ckan-dev mailing list

ckan-dev at lists.okfn.org

https://lists.okfn.org/mailman/listinfo/ckan-dev

Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev





_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140313/eec528e6/attachment-0003.html>


More information about the ckan-dev mailing list