Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.6-1
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2008 at 23:48 UTC
Updated:
17 Mar 2008 at 09:22 UTC
Hi there, i am new to Drupal and I am facing a problem that i can't sort out!
I installed the event module as I wanted to be able to build up a calendar of events. I also installed CCK.
I created a custom field for my Event node, let's say "Venue of the event" as text field. Then I created an event and filled up my custom "Venue..." field with a text. When i wanted to see a preview or submit it, i have an error message which says "Illegal value for Venue of the event".
Don't know what to do...need help...
Thanks,
S@lime
Comments
Comment #1
salime commentedNo one to help me out? I am desperated. I have tried to change the types in the database but for no avail...
Comment #2
arnulphe commentedI came accross the same issue. In my case the reason for this error was quite simple, not a bug at all: once you have created a "text field" with CCK, Drupal expect a text value, therefore you should get the error ONLY if
* you enter something else in your form
* you did limit the choice to some values in the "allowed values list" when you created the custom text field
Do you have a html editor installed ? If so, it might have automaticaly filled the "allowed values list" with some tag, in my case a
tag. Just remove the editor when you create your custom text field.
I hope this can help.
Comment #3
salime commentedMerci Arnulphe!
Indeed, I installed nicEdit html editor. I removed it when creating the custom field (it showed a
<BR>that I deleted) and then I was able to create content without any error.Merci encore et bon WE!
Salime
PS : J'utilisais SPIP avant et je découvre l'univers de Drupal :-)
Comment #4
yched commentedOK, fixed then.
Thx arnulphe.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.