Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Poll text box question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Poll text box question

 Post Reply Post Reply
Author
quietstorm View Drop Down
Newbie
Newbie


Joined: 24 September 2001
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote quietstorm Quote  Post ReplyReply Direct Link To This Post Topic: Poll text box question
    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

 

Back to Top
quietstorm View Drop Down
Newbie
Newbie


Joined: 24 September 2001
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote quietstorm Quote  Post ReplyReply Direct Link To This Post Posted: 15 April 2003 at 1:32pm

I guess this can not be done!! 

It would have been nice to do this tho!!

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
quietstorm View Drop Down
Newbie
Newbie


Joined: 24 September 2001
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote quietstorm Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
quietstorm View Drop Down
Newbie
Newbie


Joined: 24 September 2001
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote quietstorm Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2003 at 12:03pm

welll I thought it was working...

I spoke too soon..ehh?

What am I doing wrong?



Edited by quietstorm
Back to Top
Commander View Drop Down
Groupie
Groupie


Joined: 27 September 2002
Location: Canada
Status: Offline
Points: 85
Post Options Post Options   Thanks (0) Thanks(0)   Quote Commander Quote  Post ReplyReply Direct Link To This Post 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!

Back to Top
quietstorm View Drop Down
Newbie
Newbie


Joined: 24 September 2001
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote quietstorm Quote  Post ReplyReply Direct Link To This Post 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!

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.