473,782 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

<textarea> bug????

Simple vbscript,html page loading into access.
Input pg posting to Confirm pg, then sending to access.

when using;

<textarea name="name" tabindex="15">
</textarea>

as an input renders tab spaces automatically.

I took out <Div> tags, and tried nowrap, and tried
reformatting data before sending to dbase (CStr, Trim),
with no answer to alleviate this problem.

Any suggestions????
Jul 19 '05 #1
5 5159
I'm confused.... are you trying to KEEP or REMOVE the tab spaces?
--
----------------------------------------------------------
Curt Christianson (Software_AT_Da rkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Matt" <mb*****@yahoo. com> wrote in message
news:06******** *************** *****@phx.gbl.. .
Simple vbscript,html page loading into access.
Input pg posting to Confirm pg, then sending to access.

when using;

<textarea name="name" tabindex="15">
</textarea>

as an input renders tab spaces automatically.

I took out <Div> tags, and tried nowrap, and tried
reformatting data before sending to dbase (CStr, Trim),
with no answer to alleviate this problem.

Any suggestions????

Jul 19 '05 #2
I don't understand. Your tabs are disappearing? When? When you later
present the data in HTML? That's because a tab in a textarea is not HTML...
and HTML doesn't recognize a tab. You will need to replace for presentation
in a web page, something along the lines of:

txt = rs("txt")
response.write replace(txt, chr(9), "&nbsp;&nbsp;&n bsp;&nbsp;")


"Matt" <mb*****@yahoo. com> wrote in message
news:06******** *************** *****@phx.gbl.. .
Simple vbscript,html page loading into access.
Input pg posting to Confirm pg, then sending to access.

when using;

<textarea name="name" tabindex="15">
</textarea>

as an input renders tab spaces automatically.

I took out <Div> tags, and tried nowrap, and tried
reformatting data before sending to dbase (CStr, Trim),
with no answer to alleviate this problem.

Any suggestions????

Jul 19 '05 #3
The tabs are automatically in textarea when I try to enter
data into it. Also each time I display the textarea more
tabs are automatically entered into it. The dbase shows
square blocks - 2 before and 2 after the data, whether I
have the field as text or memo.

I am trying to rid the textarea of the tabs, or whatever
the squareblocks are.
-----Original Message-----
I don't understand. Your tabs are disappearing? When? When you laterpresent the data in HTML? That's because a tab in a textarea is not HTML...and HTML doesn't recognize a tab. You will need to replace for presentationin a web page, something along the lines of:

txt = rs("txt")
response.wri te replace(txt, chr(9), " ")


"Matt" <mb*****@yahoo. com> wrote in message
news:06******* *************** ******@phx.gbl. ..
Simple vbscript,html page loading into access.
Input pg posting to Confirm pg, then sending to access.

when using;

<textarea name="name" tabindex="15">

Jul 19 '05 #4
Remove.

The tabs are automatically in textarea when I try to enter
data into it. Also each time I display the textarea more
tabs are automatically entered into it. The dbase shows
square blocks - 2 before and 2 after the data, whether I
have the field as text or memo.

I am trying to rid the textarea of the tabs, or whatever
the squareblocks are.
-----Original Message-----
I'm confused.... are you trying to KEEP or REMOVE the tab spaces?

--
----------------------------------------------------------
Curt Christianson (Software_AT_Da rkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Matt" <mb*****@yahoo. com> wrote in message
news:06******* *************** ******@phx.gbl. ..
Simple vbscript,html page loading into access.
Input pg posting to Confirm pg, then sending to access.

when using;

<textarea name="name" tabindex="15">

Jul 19 '05 #5
All fixed - thanks for help.

<textarea>
</textarea>

does not work - picking up Cr

<textarea></textarea> does

-----Original Message-----
I don't understand. Your tabs are disappearing? When? When you laterpresent the data in HTML? That's because a tab in a textarea is not HTML...and HTML doesn't recognize a tab. You will need to replace for presentationin a web page, something along the lines of:

txt = rs("txt")
response.wri te replace(txt, chr(9), " ")


"Matt" <mb*****@yahoo. com> wrote in message
news:06******* *************** ******@phx.gbl. ..
Simple vbscript,html page loading into access.
Input pg posting to Confirm pg, then sending to access.

when using;

<textarea name="name" tabindex="15">

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4725
by: Augustus | last post by:
Hiya, I have a form with a <textarea></textarea> to receive user input. This input is then stored in a database and sent by fax... I need to be able to remove the carriage returns (enter key... vbcrlf...) from the input so that somebody doesn't do something like fill the textarea with 100s of keypresses of the enter key and end up spitting out tonnes of blank pages on the fax machine
4
4328
by: Dennis Allen | last post by:
Hi. I hope someone here can help. I'm webmaster for a local astronomy club. Just went over our web site. Have validated every htm file on the site except: http://validator.w3.org/check?uri=http://www.stargazing.net/mas/COMET.htm In the <textarea> of this page I have Javascript code. I can't figure out how to present this code and still be w3c valid. Any advice would be appreciated...Dennis
2
9269
by: Jonathan Taub | last post by:
This may seem a stupid question. I've got a <textarea> element: .... <td> List of items: <textarea> 1. Apple 2. Orange 3. Box
16
2928
by: Martin Trautmann | last post by:
Hi all, I just had a problem where Mozilla 1.6 did not accept a XHTML 1.0 page that contained <p><textarea cols="50" name="prod_prob_description" rows="4" /></p> It did not accept the end tag />, but selected everything after til the EOF as text within the textarea.
11
13725
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom, there's an "Edit" link. So the page itself looks something like this: <HTML><HEAD><TITLE>blah</TITLE></HEAD><BODY> <!-- TEXT STARTS HERE --> <H1>Hello World!</H1> <P>More stuff here...</P>
3
6786
by: Jarek Mielcarek | last post by:
hi all, in xml file I have some fields which are source for <textarea> element. I'd like to transform this file using xslt and set the rows property of <textarea> depend of lines in some source field. How to do this? regards jaro
8
2275
by: ASP Yaboh | last post by:
I have an ArrayList of data gathered from a database. I want to create a web page from this data by creating a <table>, each cell in each row displays the appropriate data. One of those cells in each row needs a <textarea> control. The background supporting classes are completed, the only task left now is to create the web page. I am at a loss on how to create the table in the page populated by the data. Previously, I would have just...
6
31453
by: Tony | last post by:
The w3schools HTML tag reference for <textarea> http://www.w3schools.com/tags/tag_textarea.asp says that the attributes 'cols' and 'rows' are REQUIRED attributes for the textarea tag. Looking at the HTML 4.01 specification I see this, too. What I'm wondering is - 'cols' & 'rows' determines the height & width of a textarea. So shouldn't that be something that is handled by CSS instead? What would be the practical consequence of leaving...
3
5676
by: FunkHouse9 | last post by:
I'm working on a form to collect data in a textarea which and am trying to keep returns and spaces. I have a couple of functions that I Frankensteined together to replace returns with <br> and to replace spaces with &nbsp;. The <br> part works well enough, but I keep getting "%20" instead of "&nbsp;" for the spaces. I understand that escape() changes " " to "%20", but I would think the ConvertSpaces function below would change the %20 to...
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9942
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8967
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7492
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6733
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2874
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.