I am looking to run javascript for a textbox on a webform. So i am looking to add an extra attribute to my webform. but I am not sure how the webform is rendered . I was able to do that for my cck form using hook form alter but unable to do that for a webform.
Simply I have
<input type="text" maxlength="128" name="submitted[school_name_cancer]" id="edit-submitted-school-name-cancer" size="32" value="" class="form-text required" />
But I would like
Thanks.