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

mflage’s picture

I'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.

alaa007’s picture

I had exactly the same problem only with the select field!!
please help!!!

sgwood’s picture

Same 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.

aschiwi’s picture

i 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.

PatFrat’s picture

FCK is not enable on this field and the same problem remains.

Any development on this issue ?

SilenceEchoed’s picture

Jackpot! 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.

quicksketch’s picture

Title: Select Options/Values not showing » FCK/tinyMCE Break Select Options/Values not showing
Category: bug » support

Thanks for the updates everyone. I've changed the title to reflect the problem better.

quicksketch’s picture

Marked http://drupal.org/node/218340 as duplicate.

sander-martijn’s picture

I 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;
}

UnicornSong’s picture

Thank you aschiwi! You saved me from potentially wasting so much time..

quicksketch’s picture

Status: Active » Closed (fixed)
wira.perdana’s picture

hmm, 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': // webform

should be case 'field-extra-items': // webform

UnicornSong’s picture

Just 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....

payel.c’s picture

I 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??