Print Page | Close Window

Increase the max size of subject field?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=8342
Printed Date: 07 April 2026 at 2:29am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Increase the max size of subject field?
Posted By: Richard
Subject: Increase the max size of subject field?
Date Posted: 26 December 2003 at 11:35am

What is the quickest way of goign about this: Increase the max size of subject field?

 

Cheers guys ;)

http://www.onevideo.co.uk/forum - http://www.onevideo.co.uk/forum

http://www.oneanimation.net - http://www.oneanimation.net




Replies:
Posted By: weppos
Date Posted: 26 December 2003 at 12:23pm
Open the db (I think you've the Access Version Board), go to the table tblTopic and increase the size of Subject Field in the Structure view of the table.
Save and quit.

Open and edit pages

post_message.asp

About line 149

strSubject = Trim(Mid(Request.Form("subject"), 1, 41))


Insert the new size (41).
Attention: the size must be smaller about 20 chr than the db field size.

includes/RTE_message_form_inc.asp
includes/message_form_inc.asp


<input type="text" name="subject" size="30" maxlength="41" ...>


Inser the same size in maxlenght attribute that you've inserted in the code line above.
I think it's all you've to change.


Posted By: Richard
Date Posted: 26 December 2003 at 12:49pm

Cheers !




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net