Hi,
In the sign up page, at the left of the field 'VAT Number' there is a box displaying the country code. This box and the field are not in the same line as supposed to be, like the fields 'Price', 'Tax Amount' etc.
In order this to be fixed, in the file 'components\com_osmembership\view\register\tmpl\default.php' the lines 216-217 containing the code:
Code:
$('input[name^=<?php echo $this->config->eu_vat_number_field ?>]').before('<div class="<?php echo $inputPrependClass; ?> inline-display"><span class="<?php echo $addOnClass; ?>" id="vat_country_code"><?php echo $this->countryCode; ?></span>');
$('input[name^=<?php echo $this->config->eu_vat_number_field ?>]').after('<span class="invalid" id="vatnumber_validate_msg" style="display: none;"><?php echo ' '.JText::_('OSM_INVALID_VATNUMBER'); ?></span></div>');
must be changed to:
Code:
$('input[name^=<?php echo $this->config->eu_vat_number_field ?>]').before('<div class="<?php echo $inputPrependClass; ?> inline-display"><span class="<?php echo $addOnClass; ?>" id="vat_country_code"><?php echo $this->countryCode; ?></span><span class="invalid" id="vatnumber_validate_msg" style="display: none;"><?php echo ' '.JText::_('OSM_INVALID_VATNUMBER'); ?></span></div>');
$('input[name^=<?php echo $this->config->eu_vat_number_field ?>]').insertAfter($('#field_<?php echo $this->config->eu_vat_number_field.' .'.$addOnClass; ?> '));
I hope that this will be included in the next version.
Thanos