开发者

input filtering in CCK fields,how is it possible?

i have added to new fields using CCK to my custom content type. there are email and phone number and i want to restrict their input to just numbers for phone number field and special pattern to email field.

how can i d开发者_开发百科o that?

thank you in advanced.


There are specific CCK field types for phone number and specific CCK field types for email. You should use these instead of CCK text fields as they automatically validate/restrict the input.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜