Specific range of numbers

Hello there,
I have a numeric field, and I would like to enter a specific numbers in this field; numbers between 10 to 40.
How can this be achieved?
Kindly note that I'm new to Livecycle Designer.
Thank you in advance,

On the exit event of the field you woudl have to write code that will check that the user entered a number in that range. Something like this javascript here:
if (this.rawValue < 10 || this.rawValue > 40) {
     app.alert("You have entered a number that is outside of the acceptable range. It must be between 10 and 40. Please try again");
     xfa.host.setFocus("Insert name of your field here");
Hope that helps
Paul

Similar Messages

  • How to calculate on MDM 7.1 (Range of numbers)

    Good Afternoon,
    I Have the following scenario:
    We are implementing a products repository that will feed an ECC environment.
    The interface are going to be the Enterprise Portal, so users are going to request for new products on MDM trough Enterprise Portal.
    To reduce the impact on the interface team (PI development) we decided to generate the products numbers inside of MDM (once MDM will be the unique interface to input products).
    The question is about the product number that I'll have to generate inside of MDM, there are two types of products and each one starts with a specific range number (i.e.; FERT = 800000000 and ZSTK = 9000000000).
    Does anybody knows a solution for this situation? I cannot use an AutoID field because I have to guarantee the sequence of each range.
    Regards
    Armando Martines Neto

    Hi Armando,
    Number generation has been one of the crucial requirement with MDM  as we are dealing with master data creation and maintainence in MDM.
    However from mdm 5.5 ver till the latest 7.1 ver of MDM this need has not been fully met.
    So if you need MDM to generate the number range for you you will have to do it through one of the following means.
    - Use of the Qualified Number range feature provided  with the Remote systems.
    - Use MDM Data modelling and JAVA API effectively through Portal.
    1) For using the Qulaified range feature you can generate a number range for your Product master records but you need to take care of the following.
    - This feature works with the Remote system only.So make sure you are maintaining records per the remote system and not directly in MDM.
    - This will generate the Keys only at the time of syndication and not before that.
    - You will be able to see the keys in the syndicated output file only and not in MDM data manager directly.In the DM these keys will be visible only under the Key mapping option and not otherwise.
    You can refer the below links for more info:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/807ce1ba-94c0-2a10-a398-afdfd8135ebd
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0f787f8-11d9-2b10-f789-cffdffa4bab6
    2) The Second method that i suggested would be a workaround by uisng the SAP Portal and MDM Java API.Using this method you can try to maintain the range for every product type with their min and max range in an MDM lookup table and then use these values through the API to increment it one by one to generate a value for every record.This is not a straight forward approach and will require the EP expert for the same.
    Just an dea for a workaround i thought will help.
    Hope it Helped
    Thanks & Regards
    Simona Pinto

  • Hunt Pilot - range of numbers

                      HI,
    I have a simple question.
    I'm using call manager version 8.6. I have configured hunt pilot as range of numbers instead of specific number.
    eg: 898949X
    it wil work properly right. I want to confirm.
    I tested it is working fine.

    Yes, it is allowed to use special characters in Hunt Pilots and documented:-
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/7_1_2/ccmsys/accm-712-cm/a03rp.html#wp1043520
    - Basant

  • How to print a specific cell in numbers

    how to print a specific cell in numbers?

    Copy the cell (contents), Paste onto a page of a separate document, or onto a separate sheet of your Numbers document, Print.
    Or insert a single cell table onto your Numbers document, type an = sign in the cell then click on the cell you want to print. Drag the new table to a second sheet, set up your page there, and print.
    See the Numbers '09 User Guide for other useful tools and techniques. Download the guide via the Help menu in Nuimbers.
    Regards,
    Barry

  • Using the IF function with a range of numbers

    I am working with the IF function and trying to get it to work "if" the number I'm examining is within a range of numbers.
    Example:
    If a wigit costs between $1000 and $1999, then a discount of $100 is given
    If a wigit costs between $2000 and $2999, then a discount of $150 is given
    If a wigit costs between $3000 and $3999, then a discount of $225 is given
    And so on.
    If cell A1 always holds the current cost of the wigit being sold.
    cell B1,B2,B3 holds the value of the discount values respectively.
    In cell C1 I would like to return what the current discount value is to be given for the wigit price in cell A1?
    How do I do this using the IF function or is there another way?
    Thanks,
    Ryan

    HI Ryan,
    In this post you have, except for the issue noted by Badunit, the basis for the discount table described by Wayne:
    I'm trying to devise a way of knowing what Cash Card a customer will receive depending on the amount of the purchase, based on the following table:
    $0         to $999 purchase         =      $50 Cash Card
    $1,000 to $1,999 purchase     =     $100 Cash Card
    $2,000 to $2,999 purchase      =     $200 Cash Card
    $3,000 to $3,999 purchase      =      $300 Cash Card
    $4,000 to $4,999 purchase      =      $400 Cash Card
    $5,000 to $5,999 purchase      =     $550 Cash Card
    $6,000 to $6,999 purchase     =      $700 Cash Card
    $7,000 to $7,999 purchase      =     $850 Cash Card
    $8,000 to $8,999 purchase     =      $1,000 Cash Card
    $9,000 to $9,999 purchase     =     $1,200 Cash Card
    $10,000 to   UP   purchase     =     $1,500 Cash Card 
    To take care of the issue noted by Badunit, you need to revise the top line to state the minimum purchase necessary to earn a cash card, then add a line above that to handle purchases under that amount. I've arbitrarily chosen a $500 minimum, which results in these two lines:
    $0             to $499 purchase        =      $0 Cash Card
    $500         to $999 purchase         =      $50 Cash Card
    To write this as Wayne's table, you need to remove all of the text (including the $ currency markers), the top end of each range, and the = sign. What you're left with is two columns of numbers: The bottom number of each range of values, and the number telling the dollar amount of the cash card for that range. Here's your table, edited to make it work with LOOKUP:
    Here is a second table (Main), containing only the labels and the two cells involved in the calculation of the cash card amount. The Purchase amount is the amount used in your example. The Cash Card amount is produced by the LOOKUP formula below the image.
    Purchase price is in cell B1 of the table "Main". The LOOKUP formula is in B2:
    B2: =LOOKUP(B1,CC Amt :: A,CC Amt :: B)
    LOOKUP acts essentially as you request in your post containing the iPad image with the time shown as 1:46. But it takes a much simpler approach.
    Here's the syntax:
    LOOKUP(search-for,search-where,return-from)
    LOOKUP gets the search-for value (2535) from cell B1.
    It looks in column A of the table "CC Amt" for the largest value less than or equal to the search-for value, and finds 2000.
    It returns the value from the same line of column B (200).
    Below are two more examples. Main-2 and Main-3 are copies of the Main table. Both contain exactly the same formula as Main, but have had a different Purchase price amount entered. LOOKUP uses the same CC Amt table as is used above, and returns the appropriate Cash Card value for each of the two new amounts:
    You may, as implied in your 1:46 post, use a pair of cells to calculate the Cash Card amount for each widget in the purchase, then total the Cash Card amounts, or you may use a single pair of cells, one containing the total purchase amount, the other containing the Cash Card amount due for that total. That choice is yours. The formula is the same for either case.
    Regards,
    Barry

  • How do I select a range of numbers using IF function

    I am trying to select a name in a cell if the value of another cell is either a 5,6,7,8 or 9.  I have had success when I have just wanted numbers above 9 or below 5 by using formulas
    IF(Table 1::C3<5,T(Table 1::A3),T(Table 1::A2))
    And
    IF(Table 1::C3>9,T(Table 1::A3),T(Table 1::A2))
    But for the life of me can't get the range of numbers in between.
    I have tried including AND and OR functions in multiple ways but to no success.  I know I am overlooking some simple thing, I have tried scratching for nested if functions but no help there either, and the information file in numbers is horrendously useless.
    Please help.  I am using an ipad btw.

    This forum is generally for iPad and iOS problems. I doubt that you'll get an answer here.
    Furthermore, you don't say what app you are using. If Numbers, you should post here https://discussions.apple.com/community/app_store/iwork_for_ios
     Cheers, Tom

  • Find a range of numbers in one cell and output in another

    Here I am again with something I just can't seem to find an answer to:
    I need to find the range of numbers in one cell and place that value in another, like so:
    Cell A1 says: "3 - 8"
    Cell A2 returns: 5
    Any simple formula to do this?

    Hi gunkie83,
    Yvan's formula does perform properly. He stated: Here the decimal separator is comma so Numbers use the semi-colon as parameters separator but the formula is OK. CAUTION, here I left the semi-colons.
    Yvan is in France using the French version of iWork. For the U.S.A. semicolons need to be changed to a comas as I have in the following formulae.
    =VALUE(LEFT(A,SEARCH("-",A)-1))-VALUE(RIGHT(A,LEN(A)-SEARCH("-",A)))
    this returns -5
    =ABS(VALUE(LEFT(A,SEARCH("-",A)-1))-VALUE(RIGHT(A,LEN(A)-SEARCH("-",A))))
    this returns 5
    One important observation in cell A2 the text reads as 3 - 8 not 3-8. Also it can be inputted as 3 -8 but not 3- 8. Watch those spaces. Fun huh.
    Hope this helps. Again Yvan thank you.
    Cordially,
    RicD

  • Capture specific range of data in ECC

    Dear All;
    We have a situation here:
    The customer database is huge (more than 1 TERA GB) in Production server, and it is difficult to do client copy of production server database to Test server for the testing/simulation purpose.  Cause it will take long time and require large space in QAS server to copy the client from PRD to QAS.
    Therefore, l would like to know if there is a tool (SAP or non-SAP)  to capture certain range the data  (specific range of date) in Production server and place it in the QAS server?
    Please advise.
    Thanks
    Jordan

    Dear Udya;
    It is the same problem, if we have to do the DB refresh, it will take long downtime to do the DB export for TeraGB database, which customer not quite agreed, and the QAS cannot have the same disk space as the Production, image if we are using the AS400 machine, and we need to have the same disk space as the Production server, it is too costly for the hardware as well as the maintenance cost.
    Any other option?
    Thanks
    Jordan

  • Printing a range of numbers

    Dear All,
    I have to print a range of numbers that I give in selection screen, say 1 to 20 in two columns (on a sticker).
    Kindly give me the logic, how to go about it.
    Regards,
    Alok.

    Hi Alok
        you can do like this
    TABLES : caufvd.
    SELECT-OPTIONS  :  s_auart FOR caufvd-auart. 
    write : "from",s_auart-low , "to", s_auart-high.
    Regards
    Wiboon

  • Averaging a range of numbers

    I'm looking to try and average a range of numbers, but instead of doing it by certain rows (that is, average rows A1 through A30), I'd like for Numbers to average cells if they fall into a certain numerical range (that is, average cells whose values are 1-30, but whose rows might be A1 through A70 or A1 through A42--you don't know). Since my cells are numerically ordered, I could go through and find myself the cells that fall into the range (is it A70 or A42?), but I have a few thousand rows so that's really not economical in terms of time. Could someone help me to figure out the function to average cells based on their numerical value?
    Thanks!

    Here's how you might set up the formula:
    The formula in B3:
           =AVERAGEIFS(Table 1::A,Table 1::A,">"&B1,Table 1::A,"<"&B2)
    It's a little tricky because you need the " " in the proper places.  You could hardcode the values into the formula itself with something like ">0" and "<31" but it's generally good practice to put the conditions in cells so you can vary them as needed.
    SG

  • IF Else (javascript) with a range of numbers

    I am creating form fields in a PDF using Acrobat.  There is a field which you enter an amount (1-20, 21-100, 100+) and depending on what is entered the cost will be different.  So if 1 thru 20 units are entered the cost will be $199 per unit, 21 thru 100 units the cost is $175 per unit and 100+ units the cost is $150 per unit.  The line on the document looks like:  Number of Entities___ X Price per Entity___= Total___. 
    This is what I have so far to get the price;
    if (this.getField("No. of Entities").value == '1') {
    event.value = 199
    } else if (this.getField("No. of Entities").value == '21') {
    event.value = 175
    } else if (this.getField("No. of Entities").value == '101') {
    event.value = 150
    } else {
    event.value = 0 // Default value here
    I have it working for a single number, I just can't get a range of numbers.
    Any help would be great, thanks.

    The problem is in the logic of your condition.  This will only hit when you have the value of 1, 21, or 101.
    I'd suggest a different set of logic, based on <= operators
    if (this.getField("No. of Entities").value <= '20') {
    event.value = 199
    } else if (this.getField("No. of Entities").value <= '100') {
    event.value = 175
    } else if (this.getField("No. of Entities").value >= '101') {
    event.value = 150
    } else {
    event.value = 0 // Default value here
    or something along those lines.  I would also imagine that having the operators be numeric (no quotes on the constant) would be more effective.
    But this is general JS advice and not tried within a form.
    Also, I have a question for you.  Are you designing this as an PDF form inside Acrobat, or are you using LiveCycle Designer?  That information will help when we move this issue into the proper forum.

  • Using COUNTIF with a range of numbers

    Hi, This has been bugging me for a while - and hopefully you can help
    I am counting the scores a particular set of children are getting in a test. I need to count how many of these children get between 4.5 and 5.5
    I've been trying with the below expression - but it does not work! How do I express between 4.5 and 5.5?
    COUNTIFS(Data::$B$3:$B$33,FALSE,Data::I$3:I33,">4.5,<5.5")÷COUNTIF(Data::$B$3:$B $33,FALSE)

    Hi Gwyn,
    Columns C to H are hidden to make a smaller screen shot.
    Column B all cells are FALSE (unticked) to keep this simple.
    The result appears in the Countifs table with this formula in A2:
    =COUNTIFS(Data::B,"=FALSE",Data::I,">4.5",Data::I,"<5.5")
    Note the Header Row in the Data table to allow reference to all Body Cells (for example, Data::B instead of a specific range of cells). That will allow you to add or delete rows, and the COUNTIFS formula will still work
    The syntax for COUNTIFS is (from the Functions Panel)
    COUNTIFS(test-values, condition, test-values…, condition…)
    Regards,
    Ian.

  • RQL Query to get the specific range of product items from product catalog.

    Hi All,
    I need to do the batch wise query to product catalog.
    For that i have use Query builder but that is giving me repeated items, now i wanted to use RQL using rqlStatement.
    Please help me in solving the issue.
    Query which i have used using QueryBuilder.
                    RepositoryView productView = productRepo.getView("product");          
                    QueryBuilder productBuilder = productView.getQueryBuilder();
                    Query productQuery = productBuilder.createUnconstrainedQuery();           
                    RepositoryItems[] productItems = productView.executeQuery(productQuery,startIndex,endIndex);
    Can anybody help me in writing RQL Query to get the specific range of product items from product catalog.

    Hi Shakuntala,
    There is no executeQuery method defined in RqlStatement Interface, which will accept index for output result.
    So As far as I know, what u are trying to achieve is not possible with RQL statements OOTB way.U can consider range of results based on some condition from Repository items.
    Please let me know if u find any way to implement it.
    Above Query builder should always return different ids if range is not overlapping with previous range.
    Please verify that repeated items ids are same or different,
    Quoting from API docs:
    RepositoryItem[] executeQuery(Query pQuery,
                                  int pStartingIndex,
                                  int pEndingIndex)
                                  throws RepositoryException
        Executes the given query and returns an array of matching RepositoryItems, which are contained within a total potential result set. For example used if one wanted to retrieve elements 50-60 from a query which could return 100 elements.
    Regards,
    Nitin.

  • How to Delete emails in Specific range on database level (Exchange 2010)

    Hi All,
    Kindly assist me on deleting emails in specific range. i have exported all users mailbox using this below powershell script and in the same manner can we delete all the emails from users mailboxes in the below date range. Please advise
    foreach ($usr in (Get-Mailbox -Database "DB01")) { New-MailboxExportRequest -ContentFilter 
    {(Received -lt "12/07/2012")} -Mailbox $usr -FilePath \\Server01\DB01_Export\$($usr.Alias).pst・}
    Thanks, Venkatesh. &quot;Hardwork Never Fails&quot;

    Hello,
    You can use search-mailbox cmdlet with -deletecontent switch:
    http://technet.microsoft.com/en-us/library/ff459253(v=exchg.141).aspx
    http://andersonpatricio.ca/how-to-delete-messages-using-search-mailbox-in-exchange-server-2010/
    Hope it helps,
    Adam
    www.codetwo.com
    If this post helps resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others
    find the answer faster.

  • How do you create the equivalent of a named  range in Numbers for iPad?

    At first I didn't think Numbers could handle named ranges but when I look at the formula written for the "Personal Budget Template"  The "Actuals" column is calculating using named ranges but I am not sure how the ranges were created...  In any case it does appear that there is a way.  Does anyone know how?

    Those technically are not named ranges. Its using the information in the "header" rows. Once you make a row a header row and sum it (or include the whole colun in some function). It will use the data/name in the header row in the equation to make it clearer. I do not think you can make named ranges in Numbers.
    I made a test excel workbook using two formulas to sum a range, one with named ranges one without and sent to my ipad, when i opened it up...and downloading... yep...  it converted the named range to a regular range with letters and numbers. no named ranges support.
    But learn to use your header and footer rows to get the same affect in many functions.
    When i assign both header rows and columns to a table, it combines them into one string to show "Jan 2001" when I had a header column with Jan in A2, and a header row with "2001" in B1, then used the value in an equation.
    The one your looking at I think says something like "=Sum(actuals)". that formula is in a designated footer row, and has a designated header row. at the top of that column is the label "actual". if you look at the difference column formulas, you will see how it combined header rows and columns into a single text string and use it to cross reference the cell being used.
    Jason

Maybe you are looking for

  • Selection problem in JTextArea

    hi all i have a TextArea in which i have some coded charecters in a group of ten charactes i treet these ten characters as a single character ,so when i delete or insert these charactes all these charactes r deleted and no other character r inserted

  • File Transfer non-unicode - unicode via client

    Hello. I downloaded a binary file from a SAP 4.0 system to my client (win2k) with OPEN DATASET (to read the file on the app server) and WS_DOWNLOAD (to save it to the client). Now i want to upload this file from my client to a 6.40 unicode system. Th

  • Itunes 5 CD Installshield Error?

    Hi I have just got my black nano and have put the cd rom in it says it can't install due to an installshield error. What can I do now? and is this the reason why itunes 5 wont play songs on my computer? Greg

  • Where did dcd-aug08-3.exe go?

    Yesterday, I downloaded dcd-aug08-1.exe from the webpage and started installing my NI device driver 2008.08, then it asked for CD 2, so I downloaded dcd-aug08-2.exe from the webpage and continued installing but couldn't finish yesterday. Today, I ran

  • PS 6 is not updating: error message U44M1P7 Also have CC installed.

    When I click on "more details" my finder opens like I'm supposed to choose a file and it's all gibberish to me. Anyone encounter this and have a solution?