1
attock
Usage: new XoopsFormText()
  • 2007/2/27 0:27

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Hi,

Consider the following code:

$formartist = new XoopsFormText('Artist''artist'5050);
   
$fileform->addElement($formartist);


It will create a text field, with a title of artist.

Now my question is how to pre-fill the text field.

e.g. I want, by default, fill it with 'unknown' which can then be overwritten by the user.

Thank you.

Login

Who's Online

220 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 220


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