If a description is entered that is longer than 57 characters in the textarea edit screen, the width, height and Description aren't saved during submitting. The preview works fine though.

Comments

pegmonkey’s picture

I changed the table webform_component "extra" field from type varchar(128) to varchar(255) and it seems to work up to the maximum allowed field entry length on the submission form.

ullgren’s picture

Assigned: Unassigned » ullgren

Did you update from a previous webform version or is this a fresh install.
If fresh install when did you do it (or rather when did you download the .mysql file).

Anonymous’s picture

It's an update from a previous install. I went from 4.4.0 to 4.5.0 just today. I created a fresh directory for 4.5 as recommended. Then I installed the appropriate upgraded modules. In regards to the webform module, I had been using the 4.4.0 version and after installing the 4.5 version I went to /admin/settings/webform and ran the upgrade link. It stated that it complete successfully. I just grabbed the 4.5 version today. I didn't think to check the upgrade script... hmm can't find the upgrade script, I see a path 'webform/upgrade' in the module file, but there is no such directory in the tar file I downloaded.. Of course, I'm not much of a programmer so I may really have no clue about that. :) Ok, the webform.mysql file says that the "extra" field should be text. When I look at the DB it is not text it was varchar(128), I changed it to varchar(255) but if I'd have thought to look at the mysql file I could have done it right. :)

pegmonkey’s picture

sorry, forgot to log in on that last post.. it was me. :)

ullgren’s picture

Ok the update function (_webform_update) did not change the webform_component "extra" field to text (as it should do).
Also the "data" field in webform_submited should also be changed from blob to longtext.

I've changed the update function now but you (and others that allready have upgraded) may need to do these changes by hand.

pegmonkey’s picture

Not sure if this will help.. I remember that the upgrade script said it could not determine my previous version.. or at least previous version showed up as being "unknown". But I remember seeing ok after it was done.

pegmonkey’s picture

I posted that last one while you were typing your reply.. Thanks for the quick reply.. Webform Module rocks btw. Thanks again.

ullgren’s picture

The update is now in the distribution.
Closing this issue.