1
Excuse if this is not the right forum to post this, but I am trying to modify a form that came with a module and have got a bit stuck.
I can see how I can tweak the language file to change the form labels and have found a 'submit.php' where I can remove unwanted fields (e.g. I have successfully removed the 'state' field as this is a non-US website). However, I really need to add a textarea field - but *without* the DHTML editor and image manager buttons. It is just for a simple list, e.g.
Item one
item two
etc...
I found this line in the submit.php file which I gather creates a DHTML text area:
$modlinkform->addElement(new XoopsFormDhtmlTextArea
(_MD_DESCRIPTIONC , 'moddesc' , null , 8, 50), false);
Can anyone tell me how I could add a non-DHTML textarea, or point me at a suitable FAQ for hackers & tinkerers? I was thinking of utilising my redundant 'state' field definition so the back-end form tied in with the one submitted by the user, but maybe it isn't quite as simple as that.
Or should I just stick to drinking beer?
A thread is for life. Not just for Christmas.