Gossamer Forum
Home : Products : DBMan : Installation :

How can I change Textfield to Textarea?

Quote Reply
How can I change Textfield to Textarea?
I have installed the demo and added the mods: shortlongUF and the date translator. After that I used the JPDeni's configurator and made the db. It worked Cool.

Then I saw that a field (Presentation) was a textfield instead of a Textarea. I have tried to change it, but...I must obviesly do something wrongUnsure.

Is there anyone who can help me?

The db resides at http://www.colombiaklubben.no

and txt files can be found at

http://www.colombiaklubben.no/dbman_txt/db_cgi.txt
http://www.colombiaklubben.no/dbman_txt/default_cfg.txt
http://www.colombiaklubben.no/dbman_txt/html_pl.txt

Jan Peter
Quote Reply
Re: [JPWiese] How can I change Textfield to Textarea? In reply to
I found out what to do CoolCoolCool

In the default.cfg in stead of:

'Presentation' => [62, 'alpha', 5x40, 999, 0, '', ''],

It should be:

'Presentation' => [62, 'alpha', 5x40, 999, 0, '', ''],

Jan Peter

Last edited by:

JPWiese: Sep 8, 2002, 4:09 PM
Quote Reply
Re: [JPWiese] How can I change Textfield to Textarea? In reply to
It seems like I just did a part of the job. The area that should be i textarea in the form is still a textfieldUnsure. Anyone who knows what I should do?

Jan Peter
Quote Reply
Re: [JPWiese] How can I change Textfield to Textarea? In reply to
In your html.pl file sub html_record_form you would also need to change the field value to:

<TEXTAREA NAME="Presentation" ROWS="5" COLS="40" WRAP="VIRTUAL" MAXLENGTH="999">$rec{'Presentation'}</TEXTAREA>

That should do it.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] How can I change Textfield to Textarea? In reply to
Thank you Lois. It did the trick. I am now up and running

Jan Peter