I saw this Remove the "Please wait" text on Ajax Call but I can't find the form element. <?php dsm($form);?> and <?php dpm($form);?> return errors. This is what I found in $node:

enter image description here

I may have missed it. I tried using the ID path in the unset form function but it didn't work. This is what I'm putting in template.php:

function fivestar_form_fivestar_custom_widget_alter($form, &$form_state) {

I also tried theme_fivestar_form . . .

  • You might want to adjust your module weight or check for after_build
    – niksmac
    May 26, 2015 at 8:50
  • @NikhilM can this be done in template.php?
    – James
    May 26, 2015 at 8:59
  • Can't check it right now and give you the exact selector, but it's easiest to do this through CSS. May 26, 2015 at 9:57

1 Answer 1


this can be done in css:

.fivestar-widget .ajax-progress

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.