| *RESOLVED* XoopsThemeForm making elements side by side? |
| by zer0fill on 2004/7/8 2:42:55 I remember being able to place two form elements next to each other on the same row but can't figure out how it was done. For example, I have a row with the telephone number and the extension. I thought it was done by putting an array of elements in the $form->addElement(array($phone1_text,$phone1_ext_text), true); function but that didn't turn out too well. -------------- Found it! le="color: #000000"><?php $phone1_tray= new XoopsFormElementTray('Phone 1'); $phone1_tray->addElement(new XoopsFormText('', "phone1", 35, 100, $_POST['phone1'])); $phone1_tray->addElement(new XoopsFormText('x', "phone1_ext", 15, 100, $_POST['phone1_ext']));
|