When you create a new webform and you add an new number to the webform, you can choose the thousand separator.

When you choose for 'none' and save all, 'none' does not work and it comma is set as standard.

Comments

quicksketch’s picture

Component: Miscellaneous » User interface
Priority: Normal » Minor

Thanks for the report! I'll take a look when I get a chance.

t.habenreich’s picture

Title: Thousand separator » [Workaround] - Thousand separator

I recognized the same issue and I've made a workaround.

1. Open the file \sites\all\modules\webform\components\number.inc
2. Change in line 119 from
'' => t('None'),
to
'n' => t('None'),

3. Insert in the function _webform_number_format (starts in line 690) right before the return statement the following code:

if($component['extra']['separator'] == 'n') {
	$component['extra']['separator'] = '';
  }
quicksketch’s picture

Title: [Workaround] - Thousand separator » Thousand separator does not save
vernond’s picture

@t.habenreich and @carlovdb: I'm unable to duplicate this issue on my installs. Are you folks running original Drupal sites, or custom distributions? If you're using a distro, which one?

carlovdb’s picture

I am running an original drupal sites

bgm’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #1504786: Thousands separator does not save to 'none', which is fixed in 7.x-3.18.

Fayna’s picture

I'm still having this problem happen with webform 7.x-3.18 and drupal 7.14 but only in Safari. neither drupal nor the browser are throwing any errors. my number fields are all set to 'none'.