Rename the field quantity of Drupal uc_event_registration

To change the label of Ubercart Event Registration (uc_event_registration) without hacking the module simply insert some Jquery.

Put a pice of JQuery like this in your page.tpl.php

<script type="text/javascript">
<!--//--><![CDATA[//><!--
$(document).ready(function(){
$('.webform-client-form #edit-submitted-uc-event-quantity-wrapper label').html('NEW LABEL TEXT');
}
);
//--><!]]>
</script>

Post new comment
The content of this field is kept private and will not be shown publicly.
CAPTCHA
Deze vraag is om te controleren of u een persoon bent. Di is om spam berichten tegen te gaan.