Closed (duplicate)
Project:
Compact Forms
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
7 Aug 2009 at 08:38 UTC
Updated:
5 Mar 2015 at 16:35 UTC
I have been testing this module and I am getting the following error.
when the comment is submitted, Drupal displays the following message:
The URL of your homepage is not valid. Remember that it must be fully qualified, i.e. of the form http://example.com/directory.
It seems that when the homepage field is left empty, compact forms auto completes it using the label.
When i poked around in firebug, i got the following code:
<input id="edit-homepage" class="form-text error comment-processed compact-form-field" type="text" onfocus="if (this.value == 'homepage') {this.value = '';}" onblur="if (this.value == '') {this.value = 'homepage';}" value="homepage" size="30" name="homepage" maxlength="255"/>
I took a couple of screenshots to help anyone who is taking a look at this.
| Comment | File | Size | Author |
|---|---|---|---|
| compactforms_error_2.png | 16.91 KB | Anonymous (not verified) | |
| compactforms_error_1.png | 37.03 KB | Anonymous (not verified) |
Comments
Comment #1
sunThanks for taking the time to report this issue.
However, this can only happen with the patch in #165608: Move the label text to the form field value applied.
Please add this (major) issue over there.