1
zer0fill
*RESOLVED* XoopsThemeForm making elements side by side?
  • 2004/7/8 2:42

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


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']));

Who's Online

108 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 108


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits