Jump to content

Recommended Posts

Hi,
Just creating a few forms for users to be able to fill out on my webpage. I am using the code below to create boxes users can fill out:

[i]<tr><td align="right"><b>Message</b>
<td><input type="text" name="message"
value="<?php echo @$message ?>"
size="50" maxlength="50"></tr>[/i]

Its in my .inc file which is then posted to the .php file. The thing i want to know is how you make the box bigger in terms of depth (currently they are like the topic title box when you fill out a new topic on this website. I want them to be larger so they are more like the actually message box when you fill out a new topic on this website).
Thanks.
It's an html question. Use textarea, not text, as the input type. Adjust the number of rows and number of columns (horizontal size) to suit. For example:
[code]
<textarea name="something" rows="3" cols="30"><?php echo $something; ?></textarea>
[/code]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.