Since your screenshots isn't in English, I am not sure I can understand it 100%
Are you using the latest version of Types?
In your screenshot 1:
http://d7j863fr5jhrr.cloudfront.net/wp-content/uploads/Capture_d_e_cran_2013_11_22_a_11.17.43_3.png
Is the field "annee-de-fondation" a custom single line field create with Types?
And you did not choose the option "Required" option
But in the screenshot 2:
http://d7j863fr5jhrr.cloudfront.net/wp-content/uploads/Capture_d_e_cran_2013_11_22_a_11.39.18.png
It seems to be a required field
I assume you are going to set the field "annee-de-fondation" as a non-required field in backend, but keep it as a required field in CRED form
Please try this:
1) choose the option "Required" option, in your screenshot:
http://d7j863fr5jhrr.cloudfront.net/wp-content/uploads/Capture_d_e_cran_2013_11_22_a_11.17.43_3.png
2) modify your codes in theme/functions.php as this:
// set field as non-required field in backend add_filter('types_fields', 'required_field_func'); function required_field_func($fields) { if(isset($fields['annee-de-fondation']['data']['validate']['required'])) { unset($fields['annee-de-fondation']['data']['validate']['required']); } return $fields; }
If still not works, please create a test site, and duplicate same problem in it, send the login details to my email: luo.y@icanlocalize.com
Also point out the problem page URL, where can I edit your php codes. and include this thread URL for reference
Thanks