Automatically insert a slash (/) after that I entered the numbers

I would like to add a slash (/) when entering the numbers. My query looks like that found in this thread:

http://forums.Adobe.com/message/5120770#5120770

The field is to capture the blood pressure, that's why it can be 999/999, 999/99 or 99/99. If you use arbitrary mask is not possible because it will depend on if the blood pressure is over 99 or not.

Because now I'm using the following in the custom format, but it does not add the slash by itself, and the user must always enter.

Custom validation script

(function () {}

Do nothing if the field is empty

If (! event.value) return;

Fill in the other fields if the length of the string is correct

If (event.value.length = 7)

{event.value = util.printx ("999/999", event.value) ;}}

on the other

If (event.value.length = 6)

{event.value = util.printx ("999/99", event.value) ;}}

on the other

If (event.value.length = 5)

{event.value = util.printx ("99/99", event.value) ;}}

})();

I kinda want to operate if the field was the arbitrary mask, so if the user enter 6 digits it becomes 999/999; 5 digits = 999/99; and 4 digits = 99/99.

The Regular Expression object is used to deal with this kind of problem. Because of multiple entries, you may need more than one reg exp for test and you should use a custom key sequence, custom format and the validation script and

Here is the custom scripts.

custom script hits

(function() {}

If (event.willCommit == false) {}

[var RE_BP_KS = / ^ \d{0,3}[./]? \d{0,3}$/;

If ((event.value + event.change) RE_BP_KS.test is false)

Event.RC = false;

} / / end of custom script typo

} ) ();

custom script hit end

custom script marker

(function() {}

If (event.value! = "") {}

var RE_BP6_Frmt = /^(\d{3})[./]?) (\d{3})$/; Enter 999/999;

var RE_BP5_Frmt = /^(\d{3})[./]?) (\d{2})$/; Enter 999/99;

var RE_BP4_Frmt = /^(\d{2})[./]?) (\d{2})$/; 99/99 entry;

{if (RE_BP6_Frmt.test (Event.value))}

Event.Value = RegExp. $1 + ' / ' + RegExp. $2;

} else {if (RE_BP5_Frmt.test (event.value))

Event.Value = RegExp. $1 + ' / ' + RegExp. $2;

} else {if (RE_BP4_Frmt.test (event.value))

Event.Value = RegExp. $1 + ' / ' + RegExp. $2;

} / / end new test

} / / end of custom format script

} ) ();

custom validation script

(function () {}

If (event.value! = "") {}

var RE_BP6_Frmt = /^(\d{3})[./]?) (\d{3})$/; Enter 999/999;

var RE_BP5_Frmt = /^(\d{3})[./]?) (\d{2})$/; Enter 999/99;

var RE_BP4_Frmt = /^(\d{2})[./]?) (\d{2})$/; 99/99 entry;

If (RE_BP6_Frmt.test (Event.value)) event.rc = true;

else if (RE_BP5_Frmt.test (event.value)) event.rc = true;

else if (RE_BP4_Frmt.test (event.value)) event.rc = true;

else {}

App.Alert ("incomplete heading", 1, 0);

Event.RC = false;

Event.Value = "";

} / / end new test

} / / end of custom script validataion

}) ();

Tags: Acrobat

Similar Questions

  • BlackBerry smartphones white screen after that I entered the wrong ID password too many times

    Hello

    I was trying to sync my blackberry information to my computer laptop when I was asked the ID password, I tried a few options but could remember nothing. When it reaches the last attempt of the screen says that if I entered the wrong pin code it would erase all of my information. I stopped went to the site and changed my password to make sure, so I went back and entered the password. Immediately the screen turned white and began to clear all. I pulled the battery immediately and have been frantically the Internet a way to undo it. Please please please help.

    I have so many things on my phone, I really need. Especially my baby :-(videos

    Can someone help me.

    Hello and welcome to the community!

    Failure of the BBID credentials will never wipe a BB. What actually happened, was that you entered correctly your password user - created lock too many times, and he went with the unit, in accordance with the requirements of the security level agreed upon activation of this function of wiping. There is no way to stop it.

    I'm sorry.

  • Black screen after that I entered the password for the connection.

    Original title: missionary59

    I have a computer that is a laptop. When I go to start the boot process that the computer turns on at the entrance of logo and password, when I put the password in the square when going on the applications, but the screen is black and only the cursor appear!

    Hi Genedupree,

    A problem with a layer of security software causes the Desktop Window Manager to wait for an indefinite period or video adapter problems are the most common cause of this problem. I suggest you to see the help link and check if it helps.

    Why my screen is black when I start Windows 7?

    http://Windows.Microsoft.com/en-in/Windows7/why-is-my-screen-black-when-i-start-Windows-7

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base. How to back up and restore the registry in Windows:
    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry

    See also:

     

    Windows Vista and Windows 7 black screen on computer unlock

    http://support.Microsoft.com/kb/2431700/en-GB

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • Lightroom 4 launch after that I entered the serial number

    I was running the trial version 4 Lightroom for Mac (OS 10.7). After my trial was up, I bought the upgrade (I already had v.3). At the launch of Lightroom 4, request dialogue if I want to buy a serial number or appears. I go through the steps of the entrance to my new serial number (which Lightroom gives a green check mark) and the serial number of my v.3 (also a green checkmark) and go through all subsequent stages of the dialogue.

    When I hit the finish, the dialog closes and Lightroom does not launch. The program is not yet active in my dock. If I launch even once, I get the same dialog asking if I have a serial number or want to buy.

    I moved this facility Drew forum, where engineers hang out.

    In the meantime, just try to remove Macintosh HD/Library/Application Support / Adobe: Lightroom / Lightroom 4.0 registration (which is not the user's library) and see if this fits the Bill.

  • I bought Photoshop elements on Amazon. After that I entered the serial number and the adobe ID and password,

    serial number, adobe and password identification code, I can't initialize the installation. Another screen appears "Setup wants to make changes. Type your password to allow this. "What password wants? My adobe password is not accepted.

    It need password your system user account.

    Looks like the security feature of the system in which he wishes to authenticate the right admin to run the installation program.

  • You can help me too? The key that I receive after you have entered the wrong password 3 times is 52309445

    You can help me too? The key that I receive after you have entered the wrong password 3 times is 52309445

    You can help me too? The key that I receive after you have entered the wrong password 3 times is 52309445

    You can help me too? The key that I receive after you have entered the wrong password 3 times is 52309445

    try to enter

    43061481

  • I have Safari 9.1, El Capitan. The changes I make in the Safari preferences are not saved after that I close the program. There is no such thing as a Library/Preferences/Safari. What should do?

    I have Safari 9.1, El Capitan. The changes I make in the Safari preferences are not saved after that I close the program. There is no such thing as a Library/Preferences/Safari. What should do?

    I think you're looking in the root folder not your home folder.   Tilde ~ in front of the first slash indicates the folder.

    Try this...

    Quit Safari.

    Open a Finder window. In the Finder menu bar, click go > go to folder

    Type or copy paste the following text:

    ~/Library/preferences/com. Apple.Safari.plist

    Click OK, and then move the com.apple.Safari.plist file to the trash.

    Restart Safari to test.

  • Why Firefox is not saving my log in info after that I used the option "Remember Me"?

    Why Firefox is not saving my log in info after that I used the option "Remember Me"?
    Whenever I get on a frequently used site where I have already indicated on the Firefox browser to save my log in info, I still need to manually connect. The latest versions of Firefox are not like that. I am running Firefox on both my Imac (OS 10.5.8) and on my Mac Book Pro (Snow Leopard), and on each machine, the latest version of Firefox does the same thing. I don't have this problem with Safari, but I prefer to use Firefox then please let me know if there is anything I can do to solve this problem.

    This has happened

    Each time Firefox opened

    Is two months ago

    If you register your name, and your password in the password manager and then having no other effect that Firefox can fill these name if necessary.
    Firefox is not automatically a session you.
    Many Web sites may use a cookie to remember you, you do not need to open a session.

    Websites to remember you and automatically log you are stored in a cookie that you must allow: Firefox > Preferences > privacy > Cookies: "Exceptions."
    Also make sure that you do not use the delete, search and download Firefox browsing history to erase "Cookies" and the "Site preferences" "browser history".

  • Can I print data that I entered the health of Apple app

    Can I print data that I entered the health of Apple app?

    Yes! You will most likely have to screenshot data then hang your iPhone (including the charger) in your USB port in your computer. After that, you load your screen capture on your computer. Copy and paste into Microsoft word on your computer/laptop and then print! Then you have your printed data.

    I know this is a long process, but it works I tried. Please let me a good review!

    Thank you and goodbye!

    ~~~~~~~~~~~~~~~~~~~~~~~~~

    Best regards, @Jay.Arii

  • my windows vista starts normally until I have pass the user coice screene. After that, I see the cursor but everything is black. What should I do? Thank you very much!

    my windows vista starts normally until I have pass the user coice screene. After that, I see the cursor but everything is black. What should I do?

    It was probably caused by the removal of any file system as I was scaning the pc for malware and probably deleted some important file. only safe mode works now
    and I need my computer quite urgent for the University.
    Thank you very much!

    Hello

    No saving necessary data and re-installing Windows Vista might be the best option, but here
    are a few others.

    You can save your files by putting the drive in another computer as a 2nd disk (best) or external
    Drive USB enclosure and then backup to removable media such as CD, DVD or other USB drives.
    Of course a real store of the computer or the manufacturer of your system can help to recover the files.

    Or you can use a boot Ubuntu CD to back up data.

    Use Ubuntu Live CD to backup files from your Windows computer dead
    http://www.howtogeek.com/HOWTO/Windows-Vista/use-Ubuntu-Live-CD-to-backup-files-from-your-dead-Windows-computer

    --------------------------------------------------------------

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    A method to try to get to the desktop (try in normal Windows Mode without failure) is CTRL +.
    ALT + DELETE - Manager tasks and tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - and then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is available by
    repeatedly tapping F8 as you start. CTRL + SHIFT + ESC also begins the Task Manager.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you don't have the disks your
    system manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (making the system restore it)
    must be bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation
    (if all goes well, the data records and need to reinstall programs). Be sure to do a good backup or three.

    You can use another DVD that aren't copy protected but you you need to own
    Product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-happened-to-the-recovery-console

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (a line type or copy and paste one line at a time and hit enter - enter a bracket)
    or "BOLD")

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Forums CWMS drop after you have entered the code meeting

    Hi all

    We have webex 2.6.1.45.B - AE, call out of work, but a drop after you have entered the code-meeting... Work of DTMF.

    may be, because: you are using a trial version of the Cisco WebEx meeting server which expires in 32 days. Buy licenses to host for your system to avoid the limitation of access host?

    or someone has an idea?

    Thank you very much!

    Hello

    This problem is caused by a bad configuration of the integration of CUCM with CWMS.

    Make sure you check you SIP Trunks and SIP configuration on CUCM routing model.

    Make sure that your points in routing SIP Trunk SIP of Point Application model.

    Make sure that the Partition configured in routing SIP model belongs to a CSS that is configured in the LoadBalancing SIP trunk under:

    1. change of itinerary calling search space

    2 outside dialogue see calling search space

    Also, refer to this post to understand why the model of routing SIP and Application Point SIP trunks are used: https://supportforums.cisco.com/discussion/12879351/cucm-and-cwms-call-routing

    In addition, this guide to the official reference documentation: http://www.cisco.com/c/en/us/td/docs/collaboration/CWMS/2_6/Planning_Guide/Planning_Guide/Planning_Guide_chapter_0101.html

    I hope this will help.

    -Dejan

  • After that I changed the apple ID password I can not connect to facetime

    After that I changed the apple ID password, I can not connect to facetime

    Update your password for Facetime, too.

  • I just bought a Apple Watch and thought that I entered the same password as my iPhone. Apparently I did not, and now my watch is locked. Help

    I just bought a Apple Watch. Thought that I entered the same password as my iPhone. Apparently I don't have. Watch is now locked. Help

    Hi Rich

    Follow these steps to clear your locked watch and re-pair it with your iPhone:

    • Connect your watch to its charging cable - with power connected.
    • Hold down the side button until you see the cursor off the power.
    • Press Power Off (don't try to drag - just press more firmly than a normal tap), then press erase content and settings.
    • Then re-pair your watch by using the app shows on your iPhone, choose restore backup when the possibility.

    More information:

    Set up your Apple Watch - Apple Support

    If you have forgotten the password for your Apple Watch - Apple Support

  • After that I closed the lid on my laptop, when I reopen it, I have to keep moving the lid until I can get a picture. What could be the problem and how to fix?

    After that I closed the lid on my laptop, when I reopen it, I have to keep moving the lid until I can get a picture.  What could be the problem and how to fix?

    Hello

    Looks like a loose connector or a short circuit in the video cable. Check with a real
    store computer (one that works on computers cell phones internal ASUStek) or ASUStek
    Support, their documentation and online in their forums.

    Not a maintainable question by the user.

    ASUStek support
    http://support.ASUS.com/

    ASUStek Forums
    http://VIP.ASUS.com/forum/default.aspx?SLanguage=en-us

    ASUStek drivers
    http://support.ASUS.com/download/download.aspx?SLanguage=en-us

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • When I try to connect to hotmail, I get a message saying that I entered the wrong password.

    Problem password Hotmail

    Hello

    I'm trying to access my account hotmail (not that I use to ask this question). Until recently, I was able to connect without a problem. Now, when I try to connect, I get a message saying that I entered the wrong password.

    I then try to reset my password. I gives me 3 options: -.

    Send me a link to reset - with this option, the displayed e-mail address is similar to my other address, but not the right. Whatever it is, I don't get a link for reset.

    Use my trusted PC - I have tried this on 2 computers I use most often. Neither work

    Customer service - I've tried this 3 days ago. I entered all the information I have, but have not heard anything yet return.

    I don't know what are my options here. I would be glad of any help.

    Hotmail questions should be posted here: http://windowslivehelp.com/product.aspx?productid=1

Maybe you are looking for

  • Safari shortcuts

    Safari doesn't let me display the URLS of the websites that I am displayed, even when I click on where it should be.  In addition, the Q command shortcut that stops the application has stopped working.  It is completely up to date, so I know this isn

  • Re: Satellite U300 will not start

    The machine has failed at a conference while using only the word and not on any network. Now the machine will not start orrepair and even the recovery disk will not work. He gets to the part where he asked for the language and then freezes on the nex

  • program counter? As an indicator of

    I need to make a program that takes into account, if I press a button "minus 1" or a "+ 1"in the while loop. I don't know how to actually convert Boolean logic of the key pressed to match an addition in the number? All comments appreciated!

  • SR5110NX BIOS

    I have a SR5110NX with card mother ECS MCP61PM-HM Iris - GL6 and I'm unable to locate the latest BIOS. I don't think the drivers are necessary because Windows 7 includes most, if not all of them.

  • Have I not a valid license of Microsoft products

    We are a company in Sri Lanka, who have access to valid Microsoft licensed products. My question is, if we use any kind of a program that has created from a Microsoft lincesed product (Eg: Microsoft Access). We need to have a permit for that one too?