Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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,
Comments
Comment #1
salime CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: yched commentedOK, fixed then.
Thx arnulphe.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.