I've installed Bad Behavior on a client's site. The client wants all users to be able to include their homepage in their comments. However, if a user just enters their domain without "http://", Bad Behavior rejects it with a warning that the homepage must be of the form "http://www.example.com"
Is there a way to control this restriction? I have not discovered a way to include a simple javascript check after the homepage field to add a "http://" if the user does not include one. Realistically, most users these days won't think to add "http://" since their browser does that automatically.
Any suggestions would be most appreciated. Thanks.
Comments
Comment #1
gregarios commentedAre you sure Bad Behavior is notifying you of this? I see no implementation of this kind of notification. Please supply more info and let us know if you are still experiencing this. Maybe include the URL of the website where this is happening? :-)
Comment #2
gregarios commentedComment #3
dave reidURLs without a scheme/protocol are invalid. This is core's comment module that validates this, not BadBehavior.