By fcp078 on
Hi,
I'm trying to remove the submit button from a specific webform, but since I'm not very proficient with php and some other coding I haven't been able to find a way to do this.
I have found different forum threads that explain about doing this using a hook_form_alter, but like I said I don't know where to start about this.
Any help would be appreciated.
Comments
If you remove the submit
If you remove the submit button won't that make the webform "useless"?
Yes. I should have explained
Yes. I should have explained that I am trying to make one page/node with very specific content and the webform allowed for the best implementation of this.
I am not trying to have submissions (at least not for now).
Maybe give this a read,
Maybe give this a read...
http://www.lullabot.com/articles/modifying-forms-drupal-5-and-6
...it really helped me when I didn't know anything about altering forms.
Hey! no need to code, use css instead
Try to find out below code from the html output of corresponding webform node
and add corresponding form id in your style sheet as follows
Replace x with your webform id (say webform-client-form-1)
Hope, it helps
Thank You
Thank you so much, ThALhA. That worked like a charm!
As you can tell I'm still learning my way with Drupal, but I'm getting there. I appreciate your help and Web Assistant's too; I'll be giving your link a good read.
Thank you again.
You are welcome and happy
You are welcome and happy Drupal days ahead!