Active
Project:
Node Reference Create
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2011 at 17:16 UTC
Updated:
13 Jun 2011 at 20:12 UTC
How can I validate the user input in order to avoid certain strings as nodetitles?
Say I do not want to allow the user to create nodetitles that contain a comma … is there any way i can trigger a form_set_error() when the form is being validated?
Comments
Comment #1
tinker commentedYou can do this by making your own module that alters the form. Its not easy if you are not a programmer. Replace anything beginning with "my" using the names you select for the module, content type, and field.