From: Matthew M. <ma...@tu...> - 2003-07-04 17:52:24
|
I added the width and height feature to EZform today. It adds a style parameter to the form element. This allows the text area or text field to follow the size of the browser. Here is the format. $form = new PHPWS_Form; $form->add("whatever", "text", "something something"); $form->setWidth("whatever", 100); $form->setHeight("whatever", 100); echo $form->get("whatever") If width is assigned, it will overwrite columns set for text areas. If height is assigned, it will overwrite rows. If someone would like to test if this is XHMTL compliant, that would be great. Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 phpwebsite.appstate.edu ess.appstate.edu |