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.
I have a CCK text field that has a list of 20 values. If I leave the widget type as text field and make it display the editable form (HTML or Ajax) on view node, then it won't respect the 'allowed values' restriction. I can type anything in there and I won't receive an error.
I've worked around it with using the list widget for now.
Great module, btw, some of my users are seriously click adverse.
Comments
Comment #1
vishun CreditAttribution: vishun commentedWhen you type anything and submit it, does the change take place or is the issue simply that the user is not notified of the error? The reason I ask is I just determined the potential issue that might be causing the latter problem prior to reading this issue.
http://drupal.org/node/1821168
If this is the issue you are referring to, please feel free to try the posted patch and see if that resolves the problem for you.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThe change does take place. I change it to something that's not on my allowed values list, go to another page and then go back to that page again--the value remains.
Comment #3
joelpittetClosing this to triage the queue. Feel free to comment if you'd like this to be re-opened, though currently there is nobody supporting the 6.x branch.