Bonjour,

je souhaiterai mettre un champ en readonly dans un formulaire, et cela en passant par un content type.

C'est à dire par exemple :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
<FieldRef   ID="{monGUID}"
               Name="monChamp"
               ReadOnlyClient="TRUE"
 />
D'après MSDN :
Optional Boolean. TRUE to specify that the user cannot change the field by any means and that it can only be changed by the system.

Pourtant cela n'a pas l'air de fonctionner, qu'est ce que je rate?

Ps: je ne souhaite pas utiliser de code client, je cherche a savoir si cela se fait via le .xml