0

on this page http://dev.amnesty.io1developer.com/donate-now under the section of the Credit card,I want to remove from the date the Day field. It is a webform.How to achieve this? Thanks

0

if there is no validation on the form you could hide it with CSS. Otherwise you can use a hook_form_alter

  • How to use the hook_form_alter please for this element? – sokratis Oct 5 '11 at 17:49
  • What is the ID of my form and what should I write on hook_form_alter? – sokratis Oct 5 '11 at 18:04
  • you inspect the HTML for the form element names. Or use this the code snippet shown here: drupal.org/node/651106 – uwe Oct 5 '11 at 20:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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