Closed (fixed)
Project:
Webform
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2007 at 00:13 UTC
Updated:
14 Jun 2008 at 06:47 UTC
Hi there,
sorry i have been hunting around for ages trying to find a fix for this,
But when i add a select form to my field, i put in my options and they do not seem to show once saved and submitted ?
am i doing something wrong ?
any help would be appreciated.
Thanks - Solly
Comments
Comment #1
mflage commentedI'm experiencing the exact same issue here. I add options to the webform, but once submitted, they vanish. I don't see anything in the database tables either and the option field is empty when I then move in to take a look at it.
Comment #2
alaa007 commentedI had exactly the same problem only with the select field!!
please help!!!
Comment #3
sgwood commentedSame problem here. Trying to create a dropdown with the select Type. Once submitted the
dropdown apears but without the entries entered into the Options field.
Comment #4
aschiwi commentedi have just reported this bug as well, with a possible solution. are you guys all using fckeditor? then you have to exclude the option field from using fckeditor.
Comment #5
PatFrat commentedFCK is not enable on this field and the same problem remains.
Any development on this issue ?
Comment #6
SilenceEchoed commentedJackpot! Thanks for the tip. I've been struggling with this all week.
For everyone else - just because the options field doesn't look like FCK is modifying it doesn't mean that is the case. Make sure this field is on the FCK exclusions list in admin and the issue should go away for you.
Comment #7
quicksketchThanks for the updates everyone. I've changed the title to reflect the problem better.
Comment #8
quicksketchMarked http://drupal.org/node/218340 as duplicate.
Comment #9
sander-martijn commentedI had the same problem. For tinymce you need to modify a function. You're supposed to be able to do it in template.php, changing the function to theme_tinymce_mythemename, but when i put it there it didn't work. It only worked when I modified the module itself (yuck). all you need to do is find this function and add the lines with the // webform at the end of them. Of course it would be ideal if webform automatically disabled it for these fields, but this works until then:
function theme_tinymce_theme($init, $textarea_name, $theme_name, $is_running) {
switch ($textarea_name) {
// Disable tinymce for these textareas
case 'log': // book and page log
case 'img_assist_pages':
case 'caption': // signature
case 'pages':
case 'access_pages': //TinyMCE profile settings.
case 'user_mail_welcome_body': // user config settings
case 'user_mail_approval_body': // user config settings
case 'user_mail_pass_body': // user config settings
case 'synonyms': // taxonomy terms
case 'description': // taxonomy terms
case 'edit-additional-validate': // webform
case 'edit-additional-submit': // webform
case 'additional-validate': // webform
case 'additional-submit': // webform
case 'field-extra-items': // webform
case 'edit-field-extra-items': // webform
unset($init);
break;
// Force the 'simple' theme for some of the smaller textareas.
case 'signature':
case 'site_mission':
case 'site_footer':
case 'site_offline_message':
case 'page_help':
case 'user_registration_help':
case 'user_picture_guidelines':
$init['theme'] = 'simple';
foreach ($init as $k => $v) {
if (strstr($k, 'theme_advanced_')) unset($init[$k]);
}
break;
}
Comment #10
UnicornSong commentedThank you aschiwi! You saved me from potentially wasting so much time..
Comment #11
quicksketchComment #12
wira.perdana commentedhmm, textarea with id edit-a-textarea-example dont work for me.. but it works if i just write a-textarea-example
so
case 'edit-field-extra-items': // webformshould be
case 'field-extra-items': // webformComment #13
UnicornSong commentedJust to note, I did not even know about fckeditor when i submitted this issue, let alone have it enabled. I have not come across this issue on any of my other sites since....
Comment #14
payel.c commentedI am using FCKeditor for a custom built form...but when I submit the form ...the values in textarea are posted empty..can anyone help me in this??