Hi there!
Nowadays trend is to write everything in lowercase. Last Names, First Names, City Names, etc...
Maybe the use of computers is one of the reasons to such bad typing.
In a form, there's a lot of Input Fields to fill-in...
Is there a way in AS to make the first letter typed in an uppercase one?
I thank you in advance for the help you'll provide.
Best regards,
Gerry
1 3537 nomad 664
Recognized Expert Contributor
Hi there!
Nowadays trend is to write everything in lowercase. Last Names, First Names, City Names, etc...
Maybe the use of computers is one of the reasons to such bad typing.
In a form, there's a lot of Input Fields to fill-in...
Is there a way in AS to make the first letter typed in an uppercase one?
I thank you in advance for the help you'll provide.
Best regards,
Gerry
hello Gerry:
you could do something like this
Heres the code for the method: - String.prototype.ucFirst=function()
-
{
-
if(arguments[0] == true)
-
{
-
var words=this.split(" ")
-
for(var w in words)
-
{
-
words[w]=words[w].ucFirst()
-
}
-
return words.join(" ")
-
}
-
return this.charAt(0).toUpperCase()+this.substring(1,this.length)
-
}
- input_title="this is my title";
-
title=input_title.ucFirst();
-
input_name="guy watson";
-
name=input_name.ucFirst(true);
nomad
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Nacho |
last post by:
i need to convert the first letter of a veriable to uppercase (the veriable
is loaded and the applied LCase() )
thanks
--
Nacho
|
by: dave |
last post by:
Hi
How to make first letter of word in upper case?
i.e. hello should return Hello
Is there any inbuilt function??
Thanx
dave
|
by: Dwight Shubert |
last post by:
Hi all,
This is my first try using Access. I understand how to format a text field
for uppercase and lowercase, but how do you capitalize only the first letter
of each word? tia
Dwight
|
by: blabla120 |
last post by:
In an element of my source xml file, II have an attribute
method="getSurfaceNumber".
I want to make a XSL transformation to a target file. In the target
file, I want to give out the mehod name in text, I do it like this
<xsl:value-of select="@method"/>
This goes perfect.
Now I want the first letter of the string in Uppercase:
|
by: shapper |
last post by:
Hello,
How can I make the first letter of a string to be upper case and all
the others lower case?
Thanks,
Miguel
| |
by: setabery |
last post by:
When entering a value to a field, is there a way to make only the first
letter upper case without using the Shift Key? For example, entering a
name.
|
by: fniles |
last post by:
In VB.NET 2005 can I check if a letter in a string is upper case or lower
case ?
For example:
I have the following 2 lines:
NQ,Z2003,11/11/2003,1416.5,1420,1402,1411.5
NQ,z2003,11/10/2003,223801,260154
NQ,H2004,11/11/2003,1416.5,1422.5,1406.5,1415
NQ,h2004,11/10/2003,56,1191
Notice the 1st line has uppercase Z (Z2003) and the 2nd line has lowercase z
|
by: Middletree |
last post by:
I want to take a value that users type into a field (actually 2
fields--first and last name) and convert the first letter to Upper Case. I
htought I could use UCase, but it seems to only work for an entire string.
Anyone got a suggestion?
|
by: karthickkuchanur |
last post by:
if((document.forms.employeeId.value == 0) && (document.forms.applicantId.value == 0))
{
alert("Please Select the "+document.forms.type.value+" Code or Name");
return false;
}
i want to make the first letter into upper case in the document.forms.type.value
thank u
karthick
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
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...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |