1
sceilig
Adding text to a Xoops Form
  • 2006/4/20 2:55

  • sceilig

  • Just popping in

  • Posts: 53

  • Since: 2006/3/1 1


I am creating a XOOPS Form and building a XoopsFormElementTray() where I can add multiple radio buttons and text fields to appear in the one form column.

But I dont know how I can add text to appear directly AFTER a text field.
e.g. Recurs every TEXTFIELD days
(where TEXTFIELD is a XOOPS form text field and "days" appears on the SAME line as the textfield)

I thought I could use something like setDescription() but that doesnt seem to work. I think that function only adds a description underneath a left column form element label.

Is there another function for just adding text to a XOOPS form?

2
sceilig
Re: Adding text to a Xoops Form
  • 2006/4/20 5:35

  • sceilig

  • Just popping in

  • Posts: 53

  • Since: 2006/3/1 1


Well I figured out how to do it - all about specifying the delimiter parameter in
XoopsFormElementTray ($caption, $delimeter);

I had the delimeter set to "<br />" - changing the delimeter to be a space allowed me to combine multiple form elements on the same line, using the XoopsFormLabel() function to add text in bettwen elements.

Login

Who's Online

209 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 209


more...

Donat-O-Meter

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

Latest GitHub Commits