Print Page | Close Window

Poll text box question

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=1811
Printed Date: 31 March 2026 at 3:10am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Poll text box question
Posted By: quietstorm
Subject: Poll text box question
Date Posted: 14 April 2003 at 11:05am

How can you edit the Subject, Poll Question and Poll Choice  boxes to make them bigger?

I have a few questions/answers that will not fit in the text boxes!!

I have edited the database, but it did not add any length!

TIA

 




Replies:
Posted By: quietstorm
Date Posted: 15 April 2003 at 1:32pm

I guess this can not be done!! 

It would have been nice to do this tho!!



Posted By: WebWiz-Bruce
Date Posted: 18 April 2003 at 9:40am

Line 319 of the post_message.asp file also needs changing as well as the text box size and field sizes in the database:-

strPollQuestion = Trim(Mid(Request.Form("pollQuestion"), 1, 41))

Increase the number shown in red.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: quietstorm
Date Posted: 18 April 2003 at 11:00am

Bruce..

Thank you sir!!   It works!!   

 

 

Originally posted by -boRg- -boRg- wrote:

Line 319 of the post_message.asp file also needs changing as well as the text box size and field sizes in the database:-

strPollQuestion = Trim(Mid(Request.Form("pollQuestion"), 1, 41))

Increase the number shown in red.



Posted By: quietstorm
Date Posted: 18 April 2003 at 12:03pm

welll I thought it was working...

I spoke too soon..ehh?

What am I doing wrong?



Posted By: Commander
Date Posted: 18 April 2003 at 10:31pm

Change the following numbers

TO CHANGE THE MAXLENGTH IN THE FORMS
CHOICES:
//includes/poll_form_inc.asp and change the number in red
78: ....e="choice<% = intPollLoopCounter %>" type="text" size="30" maxlength="41"></td>

QUESTION:
//includes/poll_form_inc.asp and change the number in red
58: ....e="pollQuestion" type="text" size="30" maxlength="41"></td>41"></td>

SUBJECT:
//includes/IE_message_form_inc.asp
143: ....="text" name="subject" size="30" maxlength="41"<% If strMode="editTopic" or strMode="PM" Then .....

Now to chage the code so the extra characters won't get cut off.
CHOICES:
//post_message.asp
339: saryPollChoice(intPollChoice) = Trim(Mid(Request.Form("choice" & intPollChoice), 1, 41))

QUESTION:
Already answered.

SUBJECT:
//post_message.asp
149: strSubject = Trim(Mid(Request.Form("subject"), 1, 41))

 

I hope what i typed is right and it helps!



Posted By: quietstorm
Date Posted: 18 April 2003 at 10:39pm

Thanks Commander!! 
Before I did a post on this.. I made sure your solution worked wih Bruce's and it did!!

Bruce's worked too..I made a typo and found this when I was trying yours!!

Thanks again to both of you!!

Originally posted by Commander Commander wrote:

Change the following numbers

TO CHANGE THE MAXLENGTH IN THE FORMS
CHOICES:
//includes/poll_form_inc.asp and change the number in red
78: ....e="choice<% = intPollLoopCounter %>" type="text" size="30" maxlength="41"></td>

QUESTION:
//includes/poll_form_inc.asp and change the number in red
58: ....e="pollQuestion" type="text" size="30" maxlength="41"></td>41"></td>

SUBJECT:
//includes/IE_message_form_inc.asp
143: ....="text" name="subject" size="30" maxlength="41"<% If strMode="editTopic" or strMode="PM" Then .....

Now to chage the code so the extra characters won't get cut off.
CHOICES:
//post_message.asp
339: saryPollChoice(intPollChoice) = Trim(Mid(Request.Form("choice" & intPollChoice), 1, 41))

QUESTION:
Already answered.

SUBJECT:
//post_message.asp
149: strSubject = Trim(Mid(Request.Form("subject"), 1, 41))

 

I hope what i typed is right and it helps!




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