Creating a numbers only textfield

Hi everybody,
I was wondering whether or not you lot can help me out.. I'm new to fillable forms.
Basically I am creating a form for my clients to fill out to set up a standing order with my company.
A problem I have run into is when I create a textfield for two sections..
Bank Account number: I only want them to be able to type only numbers in here, first off I chose Format: Numbers, but then realised (not sure if it is common or not) that if their account number started with 0, it would not count that in the field and disappear. I then made an Arbitrary Mask, but again, I do not know how long account numbers should be, so unsure how many "9" codes to do, and if it was longer or shorter than the Arbitrary Mask code, it would not accept it.
I want to know if theres a way to force numbers only, but to include 0 as a number if thats what the account number starts with and not limit the amount of numbers they could have in their AC number (like the Arbitary Mask does)
I'm not very familiar with Javascript either so I can't really do the Custom textfields...
Any help is much appreciated.
Thanks,
Will

I have tried putting your script into the Validation section, but if I have Format:Numbers
it still does not include 0 as a number
If I input 0123456 after clicking out of the form, it turns to 123456
With the Arbitary Mask + the script, it still forces me to input as many numbers as I inputted into the Arbitary Mask section.
Thanks for your quick reply though

Similar Messages

  • Can't open .xls files created by Numbers

    All of a sudden, using Numbers '09 I can no longer open certain .xls files that I created in the first place by saving .numbers files as Excel files (using the "Save copy as Excel Document" checkbox in the Save As... dialog box). Some will open, but the vast majority attempt to open, and then I get an "Import Error - An unknown error occurred." message. Backed up copies of the same files produce the same result. New .numbers files I save as Excel documents can't open either.
    Background: Earlier tonight while saving a .numbers file as an Excel Document, the blue "progress" bar got about halfway and then just hung there. Having not rebooted the computer for a couple of weeks, and lots of apps open, I proceeded to shut down other processes and eventually the blue progress bar finished and an Excel file was saved. However, after rebooting the computer, the above inability to open Excel files started to occur. Something in the "save as" process must have corrupted?
    I quit Numbers, deleted the com.apple.iwork.numbers.plist file from Library/preferences, emptied trash, and restarted Numbers -- but that didn't solve the problem.
    What would you all suggest now at this point? Would reinstalling Numbers solve this? (hmmn, where is that disc?) I'm personally fine with the .numbers format, but my clients are not, hence the need to save as Excel documents. Any help would be appreciated!

    ack, this whole thing is frustrating. I can create new .numbers documents, save them as Excel documents, and those resulting .xls documents will open fine. HOWEVER, if I grab an old .xls document from a time machine backup (over a month ago), I cannot open it. Nor can I open an newly saved .xls document saved from the same original .numbers file.
    It would seem that the only thing I can do now is take those old .numbers files and copy/paste the content into a brand new .numbers file. After saving as, the resulting .xls files open fine (with the usual "import warnings", but I'm used to those )

  • Address Book -- Importing CSV File created by Numbers

    I'm trying to import a csv file generated from MS outlook into address book. When I attempt to import the csv file that Outlook created, Address Book is able to recognize the file. However, I need to modify the file before importing. To do that, I opened in Numbers, deleted some columns and renamed some columns. Then, I exported from Numbers as a .CSV file. However, when I try to import the .CSV file created by numbers, I get the error that I have modified with Numbers, I get the error "Text file import failure".
    Does anybody know why address book can't import a CSV file created by Numbers?

    Many people have run into this problem, including myself. I had worked many hours on a spreadsheet in Numbers, exported to CSV, and received the error message when trying to import into Address Book. The answers to this dilemma are out there, but tidbits of the whole answer are spread around discussion boards. So I hope to consolidate those answers here.
    The main problem for me -- and it's reasonable to assume that others receive the "Text File import error" for the same reason -- is that 1) I had commas in my spreadsheet, and 2) I had hidden RETURNs in the spreadsheet. Once I got rid of those two things, I had no problem importing into Address Book.
    Deleting Commas>
    The problem with commas in your spreadsheet is that the CSV format uses commas to distinguish when a new cell is formed. So having other commas will inevitably confuse Address Book during the attempted import. I didn't have too many commas in my spreadsheet, so I was able to quickly remove them. Yet, if you have dozens or hundreds of cells with commas in them, you'll need an easier solution. I imagine opening Number's Inspector>Cell Inspector>Format will have the solution of removing commas from, say, currency amounts or something else. Yet, how many commas arise in contact information? Perhaps the easiest way is to use the same method of removing those hidden RETURNs. Read on...
    Deleting Hidden RETURNs>
    You can't see them, and I couldn't find a "show invisibles" option in Numbers. So you need to search and find them. Yet, how do you search for something hidden? Do the Command-F thing to bring up the search field. The search bar should automatically be ready to search what you type. Hitting the Return key will do nothing for you, but hitting Shift-Option-Return will (you'll likely need to hit Return again to actually perform the search). Numbers will point out how many times these hidden returns are in your spreadsheet, which cells contain them, and give you the option to automatically replace them with something else (a space is a safe option). You can do the same search and replace with commas too.
    Save your spreadsheet, export it as CSV, and -- as long as the only errors stemmed from commas and hidden RETURNs -- you shouldn't have a problem having Address Book import it. Good luck!
    PS- After importing my spreadsheet, I noticed that some of my Smart Groups in Address Book were not showing some people who should have automatically been in there. The problem was that the Smart Group search had straight apostrophes in it, but the imported contact had curved apostrophes. The computer saw these as two unrelated characters. After some copying and pasting, the problem was solved.

  • Logic to create multiple numbered copies of a page?

    I have compiled a report that I need to create unique numbered instances of a page based on a number of units for different vendors, and I'm trying to automate the process. I use a parameter field to tell the report to determine the number of units that necessitate an additional copy of the report. For instance, if I enter a parameter of 10 and there are 50 units, I need to get 5 copies of the report; if there are 175 units, I need 18, and so on.
    I'm trying to use a do while loop where I increment the page count lower each time a page is printed, but I can't figure out exactly how to pull it off..... Here's what I've got:
    Dim c
    c = {@total_reports}
    Do While c > 0
        if c = 1 then Exit Do
        c = c - 1
    Loop
    formula = c
    Total reports is the total number of pages I need for an individual report. There may be hundreds of individual reports for which I need to go through this duplication process.....
    Of course, the formula as written only counts down to 1 and prints "1" into a single instance of a report, but that is where I'm hung up - how can I get it to start with number 18 and count down to number 1, and to then move on to the next unique report?
    A million thanks in advance for any help!

    This returns a 1 for all instances in the test report I'm using.
    I didn't use the Roundup methodology because I need each instance of the report to return the value of units associated with the individual page/instance.
    For example, if there are 238 units of a product, and the parameter entry denotes a split of 25, then I need it to create 9 reports, each noting that it covers 25 units (9*25=225) and one report noting that it covers 13 units (238-225=13). The mathematical end of things is pretty tidy, but I'm having trouble figuring out how to get it to print the "25" nine times and "13" once..... I need it to print to the page prior to going into the loop each time:
    Dim c
    c = {@total_reports}
    Do While c > 0
        if c = 1 then Exit Do
        c = c - 1
    ----- PRINT VALUE TO PAGE LOGIC HERE -----
    Loop
    formula = c
    I rarely have to use the basic scripting, so I'm just not sure how to get it to do what I want....

  • Regex question - looking for numbers only

    I'm getting a bit stuck with a simple regular expression.
    I want to find the records that consist of numbers only. From the example below, I'm looking for just the first record, which has '1234'.
    I tried looking for digits, but not alphabetic, but that doesn't work.
    Any ideas?
    Thanks.
    drop table test_regex;
    create table test_regex as (
    select '1234' col1 from dual
    union all
    select 'abcde' col1 from dual
    union all
    select 'a1b3c3' col1 from dual
    union all
    select '123c3' col1 from dual
    union all
    select 'a_*1' col1 from dual
    union all
    select '  9  ' col1 from dual
    union all
    select '    ' col1 from dual
    select *
    from test_regex
    where REGEXP_LIKE(col1, '[[:digit:]][^[:alpha:]]')
    /

    Something like this?
    WITH t AS (SELECT '1234' col1
                 FROM DUAL
                UNION ALL
               SELECT 'abcde' col1
                 FROM DUAL
                UNION ALL
               SELECT 'a1b3c3' col1
                 FROM DUAL
                UNION ALL
               SELECT '123c3' col1
                 FROM DUAL
                UNION ALL
               SELECT 'a_*1' col1
                 FROM DUAL
                UNION ALL
               SELECT '  9  ' col1
                 FROM DUAL
                UNION ALL
               SELECT '    ' col1
                 FROM DUAL)
    SELECT t.col1
      FROM t
    WHERE REGEXP_LIKE(t.col1, '^[[:digit:]]+$')
    ;You may want to take a look at something I wrote in this forum: Introduction to regular expressions ....
    C.
    Message was edited by:
    cd

  • Tried to open a file I created in Numbers a while ago which I modified on 11/4/13 and got a message that I needed a newer version of Numbers.  When I went to the Mac App Store it shows that the new version is already installed.  Any suggestions?

    Tried to open a file I created in Numbers a while ago, which I modified on 11/4/13, and got a message that I needed a newer version of Numbers.  When I went to the Mac App Store it shows that the new version is already installed and there doesn't seem to be a way to reinstall it.  When I checked "About Numbers" on my MacBook it shows "Numbers '09 version 2.3".  Any suggestions as to how I can get the new version installed?

    Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there.

  • Is there a way to create a fade only for the first loop?

    I have a loop (Modern Guitar Rock 04), which I've extended out so it repeats four times. I select the Fade Tool and X-Fade for drag. I then drag just in front of the loop and onto it, which creates a fade. However, this also creates fades at the beginning of the repeating loops. Is there a way to create a fade only for the first loop?

    The loop function always repeats the same region so of course the fade is also copied. So option+drag the original region to make a (non clone) copy, fade the first region and loop the second one (which you just copied).

  • Is there any way to create admin role only for one resource.

    Hi all,
    I am trying to create an admin role with 'update user' capability. But I want to restrict the user(with the admin role) to be able to update a user's attribute only for one resource, The user(with the admin role) should not be able to update the attributes of the other resources which a user have.
    Is there any way to create admin role only for one resource?
    I customized the tabbed user form to show only one resource attribute (deleting the missing fields and adding my tab for the resource) and then assigned this new User Form to the user(with the admin role) in security tab.
    It works fine. But the problem is that if any user(with the admin role) is also admin of some other resource then he/she will not be able to view the other resource attributes.
    Please suggest,
    thanks

    The loop function always repeats the same region so of course the fade is also copied. So option+drag the original region to make a (non clone) copy, fade the first region and loop the second one (which you just copied).

  • How to create a read only access for database

    I am developer but willing to lear some of the dba tasks. I would like to know the steps that i need to take to creat a read only access database that is going to be used for the report development.
    I really appreciate if you tell me all the steps I need to create that. I have a full right to do this in the develpment database. thanks

    thank you for your reply but it does not tell me how i can set up a read only access acccount for the user. Do i need to create a role and assign the role to the users?

  • Error while creating document numbering series via SDK add on

    Dear Experts,
    We receive the following error while creating the document numbering series through the SDK add on
    [Microsoft][SQL Server Native Client 10.0][SQL Server]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Too many parameters were provided in this RPC request. The maximum is 2100.
    From the above error message I can suspect the following possibilities
    1. The limit for the document numbering must be less or equal to 2100.
    2. There is a problem in the coding in SDK where it does not allow more than 2100 lines in the database.
    We tried to create manually for the same fiscal year and period indicator disconnecting the add on, the same error occured.
    Then we created a seried for a single document with the period indicator for the next fiscal year, it allowed.
    After creating the document numbering for the next fiscal year, we were able to create the numbering for the previous year also.
    Kindly help us on how to solve the same.
    With regards,
    Yeshwanth Prakash

    Hi
    You have, as far as i can determine without seeing the template,defined no Part Appraiser Column (PAPP) in your template. But you have defined a function on the template to automaticly default the part appraisers.
    On the Appraisal document persons (appraiser / appraisee) are getting defaulted as part-appraisers although no part appraisal column excist,and therefor 00 Part Appraisers are allowed. This gives the error. Remove the Part Appraisers default functionality from the template and this problem will be solved.
    FYI: The reason why this doesn't give a business check error is that the functions to default participants are BAdI's and we have no means of determining wether or not a BAdI implentation will create an inconsistency on the appraisal document.
    Also, the reason that it occurs as a S message and not as E or W is because of programming restrictions in combination with messages. All errors on the Appraisal Document will come as 'S' messages.

  • How do I set a form field to accept whole numbers only?

    I am using Acrobat X.
    I have a number of fields in a form that are used in a variety of calculations. It is the nature of these fields that they need to contain whole numbers only, no decimals.
    On the "Format" tab, I have set the field format to "Number" and the number of decimal places to "0"
    On the "Validate" Tab I have set the "Field Value is in Range" "From 0", "To 999"
    This is to ensure that the field can only contain a maximum of a three digit number.
    But this still allows the user to enter decimal places. This messes up my calculations so I want to limit the user's input to whole numbers.
    How do I do that?
    Thanks!
    Steve

    I apologize for being dense but I really do not know how to apply your solution. Taking the path you suggested there is nothing under Tools>Document Processing relating to Java scripts.
    I presume that I have to save this part somewhere in Acrobat:
    // Document-level function
    function triDigKS() {
        // Get all that is currently in the field
        var val = AFMergeChange(event);
        // Reject entry if anythig but digits
        event.rc = AFExactMatch(/\d{0,3}/, val);
    And then use the call out:
    // Custom Keystroke script
    triDigKS();
    Somewhere else but I don't know where thos two places are. Do I use the callout in the validation tab, or somewhere else?
    Thanks
    Steve

  • Error ora-12028 while creating a read-only snapshot

    Hi !
    I'm in trouble creating a read-only snapshot of a simple table.
    The Master table belongs to an ORACLE 7.3.4 database instance, while the snapshot site belongs to an ORACLE 8.1 database. The read-only snapshot should have a refresh type FAST, but while I'm running the CREATE SNAPSHOT statement in the snapshot site I receive the following message:
    "ORA-12028 snapshot type is not supported by master site string
    Cause: Pre-Oracle master sites are not able to support primary key or
    subquery snapshots that are able to perform a fast refresh.
    Action: Create a ROWID snapshot or use a master table from an Oracle8 site. "
    This message doesn't help me enough. Is there anyone who can give me an advice ?
    Thanks you all.
    Laura

    Well laura earlier version doesn't support snap shot based on primary key
    u should disable primary key constraint from master site
    and create snap shot on the basis of row id.
    for further detail mail me at [email protected]

  • MOVED: Folders Created As 'Read Only' By Default

    This topic has been moved to Off-Topic Technical.
    Folders Created As 'Read Only' By Default

    This topic has been moved to Off-Topic Technical.
    Folders Created As 'Read Only' By Default

  • How to generate auto incremented ID using a user who has create,view permissions only

    Hi
    i am using  the builtin ID
    field  to achieve generate sequence no  in a list
    every time a new item created in list
    for this i used update list item action in workflow, its working fine but
    i have a problem here user who login into sharepoint site and create a new list item
    has only Create ,View Permissions only,
    i created a Requesters permissions level with (Create,view ) rights only i did not  added Edit Rights
    because this user only create list items only  he will not edit the list item.
    adil

    Hello adil,
    If user is having "Add Items" rights then item ID should be created automatically and this is auto generate column in list.
    Why you are using "update list item action"? Are you updating any other field?
    If updating any other column value then add Impersonation steps in your code to update item.
    http://sharepoint.stackexchange.com/questions/16232/impersonation-step-in-sharepoint-designer-2010
    http://sharepointgroup.wordpress.com/2012/05/10/how-to-use-work-flow-to-change-list-item-permissions-by-sharepoint-designer-2010/
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Program to create random numbers in plsql

    How do we Write a program to create random numbers.
    Thanks

    No need to - we have DBMS_RANDOM :)

Maybe you are looking for

  • How to install the OS using a Toshiba Recovery DVD

    Hi I want to clear my laptop and start from scratch and I have a toshiba product recovery DVD When i put it into the D drive i just keep getting a window that asks if i want to copy pice, play cd etc I thought the DVD would wipe everything off the ha

  • Cannot access MMS and Internet after OS upgrade

    Hi all. I'm a new BB user. I got my Curve 9300 three weeks back. As soon as it was registered, I was prompted 2 upgrade the OS - which I did and subscribed 2 BB Protect. A friend sent me an MMS but I cannot view it as my settings r wrong. I cannot ac

  • Can't Print in iPhoto 6.0.5

    I installed iLife '06 then ran Software Update to get to iPhoto 6.0.5. Now I can't print anything in iPhoto. It displays the message "No pages from the document were selected to be printed." I HAVE selected a photo, set up the page size, etc. but not

  • Activated Windows 7 Professional Product ID - now Expired

    Dear All, Windows 7 Professional has been installed and activated in my Laptop. I'm using it since last two years. Few days before I installed Windows 2008 Server in the same Laptop. Now it have dual operating system. Windows 2008 is not activated be

  • Crop a background image (movie) - working with a template

    I'm working with the template "Promo > Product Shot". The image block with the bike is what I want to replace with my own video clip. I can't figure out how to replace it, so I took the video clip and "placed" it. That's all fine, but now I want the