How can I restrict a textfield to specific alpha characters of a single entry, but in a textfield that should have a limit of two spaces to allow a combination of two letters?
I want to force the user to limit the entries in a textfield using only four entries unique alphabet (E, C, W or A), plus an entry of two-letter alphabet "na". I have a textfield with a limit of two characters. Right now, it is possible for the user to enter two of the same entries properly alpha. How to prevent the user to enter only a single entry, at the same time allowing the user to enter the entry "na"?
Oh OK, I thought that was simply a consequence of you only allows one entry alphabetical, never understood you wanted as a characteristic to have AutoComplete from "n" to "na".
You miswrite that last comment? As noted above, you stated that "I had hoped limit the entry of"na"in lowercase. Is it just for the entry? You want the output to always be capitalized?
If this is the case you simply remove the statement on the exit event making this.rawValue.toUpperCase (trigger) each time. And seeing you want to limit the entry for "na" to a single "n", you can delete the statement in the "verification of entry" or "na".
On change:
If (! xfa.event.newText.match(/^(e|c|w|a|n)$/i))
{
XFA. Event.change = "";
}
To the output:
If (this.rawValue == "n") {}
this.rawValue.replace(/n/g,"na")
}
this.rawValue = this.rawValue.toUpperCase)
Are you sure that this would be no 'wrong' user? willing the entry "na" and only able to enter "n"?
In your code you also have double returns 'replace(/n/g,"na") '? One off the if statement and one inside? From my point of view if one is enough. As right now it will evaluate to 'naa' in the case that the user enters "na" (I tested in a fictional form).
Maybe it's because you think you want to restrict the user to only be able to enter the "n" of single entry.
If you feel that your question is answered please feel free to mark a correct answer so that the thread will be properly tagged as well (I guess you have all the tools you need to find the exact behavior you are looking for).
Best regards, Mattias.
Tags: Adobe LiveCycle
Similar Questions
-
How can I block e-mail from specific senders?
I'm tired of searching on a large number of emails in my spam folder. A large part of the enamel comes from the sender even. How can I block e-mail from specific senders?
Junk e-mail is automatically deleted after 30 days > iCloud: manage junk e-mail
-
Windows 7 Pro, how can I restrict permissions to users selected to features such as Control Panel, run, format and other administrative functions?
Hello
You should be able to control it for all users, users or groups or all users
except the administrator.Settings for group policy to control panel
http://TechNet.Microsoft.com/en-us/library/ee617167 (WS.10) .aspxPolicy settings for display in the Panel group
http://TechNet.Microsoft.com/en-us/library/ee617168 (WS.10) .aspxHow to enable or disable the control panel in Vista and Windows 7 - see two Option
http://www.Vistax64.com/tutorials/121043-Control-Panel-enable-disable.htmlHow to hide or display a Control Panel icon in Vista and Windows 7 - see an Option
http://www.Vistax64.com/tutorials/120937-Control-Panel-hide-icon.htmlHow to disable the control panel in Windows 7
http://www.howtogeek.com/HOWTO/16189/configure-what-items-are-available-in-Control-Panel-or-completely-disable-it-in-Windows-7/Enable/disable the Windows 7 control panel access
http://www.AddictiveTips.com/Windows-tips/disable-enable-access-to-Windows-7-Control-Panel/I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
How can I change the download folder. Firefox tells me of free memory, but there is actually enough space.
IM using a Samsung Galaxy S. The problem was the internal sd card, which has been used by some data that belong to an application already deleted. That's why the smartphone was told there is still some free space. I formatted my sd card. Now, everything works fine.
-
in iBooks author, how can I change the book ID? I update often books and hand but ID remains the same, so it caused problems when others discover. I wish it were as if it were a new book with a new code.
From the link 'related items' below, see:
-
How can I get my menu bar on my macbook pro? The dock also disappeared. I know I have to take my pointer upwards (or downwards), but it's a waste of time and that bothers me. Its only happens on Safari, and not on other applications.
You could try starting in safe mode:
• Try safe mode if your Mac does not end commissioning - Apple Support
Which can allow additional troubleshooting.
Also, sometimes there may be a hardware problem which may help a SMC reset with
Depending on the cause:
• Reset the management system (SCM) controller on your Mac - Apple Support
You can try the test equipment to see what appears in the results:
• With the help of Apple Hardware Test - Apple Support
Other options include an appointment with a genius of Apple Store or a
service provider authorized Apple for the device inspected, diagnostic tests, etc.
There may be system software or hardware problems, in order to solve the problems with the aim
to see what the cause, can take time. If you have a backup in Time Machine &
end by using OS X Recovery to see OS X Utilities usage, disk utility or
other functions, be aware that this can make the more advanced features; It may not need.
Because this question appears as a symptom in Safari, which makes it more curious.
• Stop the pop-up ads and advertising on Safari - Apple Support
http://etrecheck.com/ http://www.adwaremedic.com/index.php
There may be a weird extension in Safari that may relate to some adware or other
elements, so this is another issue to consider. a report of Etrecheck may tell you if
some candidates are there; but maybe not. I do not primarily use Safari
so, my other two browsers work slightly differently.
Good luck & happy computing!
-
How can I work from my deskstop PCs, directly in a foledr shared under win server 2008 so that all my work is saved directly on the server.
what I try to do is the following.
I installed winserver 2008 on a machine and I created a folder for the individual. I want the individaul to connect in the folder ocreated on winserver 2008 directly from their desktop and laptop computers and their work so that all works are recorded directly on the server.
Post in the Windows Server Forums:
http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/ -
e-mail not received-
How can I get a copy on my received emails from my account hotmail on a particular day, that I could legally use
Hello-Inbox,
The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:
Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.
-
How can I download photos and videos from my camera digital/dvr (panasonic sdr s50) to my computer that has windows MediaPlayer, WITHOUT erasing the cameras SD memory card? (I am running windows xp professional).
PS - I'm a senior and not warned, any computer do pls 'non technical' answers as possible.
Thanks in advance for the answers to my question!
Hello Fred!
- First create a new folder by right click on an open space on your desktop
- hover the mouse over the new, & click on new folder
- right-click on the new folder and choose Rename
- write your selected folder name
- Connect your data cable USB & POWER to the camera or insert the memory card
- Open the files and Select the files you want to save
- Select files butten now the mouse left click and move the mouse over the files
- then right click on the selected files and click copy
- go to the folder you named and open
- right-click and select Paste & that's it!
I hope this works!
Do not hesitate to ask, I don't mind! -
How can I configure Outlook Express to receive messages to different mailboxes (via POP3) but to send messages and responses using only a single SMTP account?
In other words, I need to download via POP3 messages sent to the * address email is removed from the privacy *, * address email is removed from the privacy *, * address email is removed from the privacy * but I want to send messages using Mar SMTP service associated to * address email is removed from the privacy *
If I get a message like * address email is removed from the privacy * I want to answer as * address email is removed from the privacy *.
Is this possible?
How can I configure Outlook Express?
Concerning
Marius
You can do this if the Server SMTP allows you to send from a location that you are not connected via their internet service. So if you have this permission, go to tools | Accounts | Add mail. Then under the account of property | You want to set the server for incoming mail to the POP3 account, and then the SMTP protocol for the other account that you use to send servers. And then indicate whether or not the server requires authentication, and if yes, then you will need to put in the user name and password for the SMTP server it. Under properties. Advanced to define appropriate ports that may be different from the default value according to e-mail accounts. You can also check the "leave a copy of messages on the server" for accounts POP3, if you access messages from multiple computers.
Once you have an account set up, then you can set others upward in the same way, but change the POP3 properties for each while leaving the SMTP ones the same.
Once you have all that in place, you might want to backup things in case something goes wrong: www.oehelp.com/OETips.aspx#6
Steve
-
Microsoft Outlook is not compatible with my email. How can I change this to a different email address. It opens and gives me the email that it is not compatible.
I need to put up with my hotmail account.
Hi CarolBehrendt,
- What e-mail program other than Microsoft outlook use?
You must validate your application in the Windows Live community to know how to configure the hotmail account in the e-mail program you want to use.
-
How can I uninstall my quick heal antivirus when I uninstall my antivirus ask to take your administration? I have windows 7
When you want to uninstall the antivirus or other programs, you must run as administrator.
If your PC is part of a domain, your administrator can block the uninstallation and in this case you should contact them.
-
How can I upgrade my Photoshop CS5 to my new computer laptop of my older imac. I want to have access to the same tools, preferences, brushes, etc. on both computers
Hello
You can install Photoshop CS5 on your new machine from this link: Download Adobe Creative Suite 5 products
See this article for the location of the predefined settings that you can transfer manually on the new machine: functions of file Photoshop CS6 preferences, names and places
In addition, you can check this link: Migrate presets in Photoshop CC
Kind regards
Claes
-
Hi, how can I start my programs? An old verson of Adobe creative suite 2 premium for universities? I have a new computer and I find the activation code of the can´t. The old computer was rejected. Can you help me?
Please check: error: "Activation Server unavailable". CS2, Acrobat 7, pass a hearing 3
-
Hello
How can I cancel my plan? I followed the steps recommended by Adobe, but when I click in 'manage plan' site does not work... Could someone help me, please?
Hello
Please contact adobe support https://helpx.adobe.com/in/contact.html?step=PHSP-PHXS_how-tos-troubleshooting_troubleshoo t_stillNeedHelp
Thank you
Jitendra
Maybe you are looking for
-
App Apple health - missing categories
Hi all Someone at - missing category 'Calories Active"of the healthapp following that the last IOS 9.3.1 update?
-
I installed Windows 10 but it did not work properly, so I tried to go back to Windows 8. Unfortunately I'm stuck on this screen and I have no way to make a choice between Yes or no. http://h30434.www3.HP.com/T5/media/gallerypage/image-ID/122524i98013
-
Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem
-
Office Jet after upgrade of el capitan 4620: 4620 - not printing black
After upgrade my iMac to El Capitan, the printer does not print black. I tried all the troubleshooting steps I found, and no solution to the problem: 1. replace the ink cartridge 2. check the ink cartridge has ink 3 reset ink system 4. clean the pri
-
stop chkdsk running the system to boot.
I am running Windows 7 and have set chkdsk on C:, but it starts tracks abends restarts tracks abends etc. It ignores any key entry well before it says that I have 10 seconds to press any to stop it. What now?