How to set the 1st online number = 10 and increment 10 whenever you press the button to add a new line. Also enable users to enter the generic numbers, IE 13 and still increment of 10 23 or whatever.

How to set the 1st online number = 10 and increment 10 whenever you press the button to add a new line. Also enable users to enter the generic numbers, IE 13 and still increment of 10 23 or whatever.

I already have my chart updated in place with a button that will add new lines when pressed.

Now, I want to clarify that the 1st row is 10 and all the other rows after this increase by 10. It will also allow users to enter any number they want, and the next line will increment of 10.

Help please.

Try changing the line button Add the following JavaScript code

newRow var = Table1._Row1.addInstance)

If (newRow.index > 0)


newRow.NumericField1.rawValue = newRow.resolveNode ('Row1 [-1].) NumericField1') .rawValue + 10;


You need to change this code to match your name on the form, but basically the method addInstance() returns the new row, the newRow.resolveNode ("Row1 [-1]... will get the value of the previous row and then add 10.



Tags: Adobe LiveCycle

Similar Questions

  • Write on the Board whenever you press a button


    I want to read a radio buttons control when you press the button "check answer". I would then like to compare this value with a value in a table. If they are the same, I want to update another table. The problem is when I do this more than once the original table is deleted. I have attached my code below.

    A shft register will be your friend.  It keeps the value of the previous iteration, and makes it accessible to the next.  Look at the help.

    You want to change the mechanical Action on the check answer button.

    The data type to select question must be an integer type.

    You should have a wait function in the loop.  No need to turn thousands or millions of times per second to respond to a human user.  Learn to use the Structure of the event.


  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • How to set the key numb to activate at startup

    How to set the key numb to activate at startup on computer laptop gateway running windows 7?

    Original title: numb locking button

    Hello Wan,

    Thanks for the quick response. We appreciate your time and your efforts.

    By default the NUM LOCK status is the same as it was before you shut down the computer properly. If it is on when you shut it down it will be on when you turn on the computer again.

    A few users have solved this problem by disabling fast boot option in the BIOS (Basic Input Output System). I would ask disable youFast Boot to the BIOS and check if that helps.

    For more information about how to disable Fast Boot in the BIOS, I would ask you to contact the manufacturer of the system.


    BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    Hope the helps of information provided. Let us know the results and do not hesitate to post on the Microsoft Community, in case you have problems when you are working on Windows.

  • How to set the default value of the attribute with a sequence number? Is it possible to add a string to like abc0001?

    Mr President.

    How to set the default value of the attribute with a sequence number? Is it possible to add a string to like abc0001?


    For the date, you can use groovy expression adf.currentDate to set the current date. reference

    You already have ways to use the sequence.

    How do you add a new value in the form. You're creating a new line of your page (user interface) and by engaging with validation operation? Unless you commit you will not be able to see anything in the table.

    Thank you

  • Hi, how to set the maximum number of connections of FMS on the same IP address

    How to set the maximum number of connections of FMS on the same IP address?

    The application.clients object available in action script server-side maintains a list of all clients connected to the Court at this moment here.

    You can browse the table and compare the property Client.ip to determine the max connections from an ip address and therefore accept/reject connections.

    It can be as simple as this in the application.onConnect

    application.onConnect = function (clientObj)


    var totalConnections = 0;

    for (i = 0; i< application.clients.length;="">


    If (application.clients [i] [ip] is clientObj [ip])


    totalConnections ++;



    If (totalConnections > 10)

    this.rejectConnection (clientObj);

    on the other

    this.acceptConnection (clientObj);


    Above the piece of code is untested so you may have to make some changes to make it work, but your solution should look something like this.

  • How to set the alignment of the field in a table in jdev

    How to set the alignment of the field in a table in jdev
    for example: to display a body of numbers in a table as right aligned.
    I tried to put field (amount) VO UI Hint Format Type: Number; Format: 0000.00
    and jspx, flowing, but it doesnot work.
    Thank you.

    < af:column sortProperty = "#{bindings."}.
    sortable = "true".
    headerText = "#{bindings." VO1.hints.amount.label}.
    ID = "c44" width = "60".
    Align = "center" >
    < af:inputText value = "#{row.bindings.Amount.inputValue} '"
    label = "#{bindings." VO1.hints.amount.label}.
    required = "#{bindings." VO1.hints.amount.mandatory}.
    columns = "#{bindings." VO1.hints.amount.DisplayWidth}.
    maximumLength = "#{bindings." VO1.hints.amount.precision}.
    shortDesc = "#{bindings." VO1.hints.amount.ToolTip}.
    ID = "it58.
    secret = "false".
    inlineStyle = "" text-decoration: overline; ">"
    < f: validator binding="#{row.bindings.Amount.validator}"/ >
    < / af:inputText >
    < / af:column >

    To set a field right alignment in a table:
    It doesnot work when InlineStyle-> text-align: right;
    It works when ContentStyle-> text-align: right;

  • How to set the default duration through the effects of the dissolution?

    How to set the default duration through the effects of the dissolution? I use it on all the titles I would add, and I add a large number of titles on my clips and change the duration of each crossing simple dissolution effect is a little easy, but a lot of time.

    Or if there is simply a way to add titles giving cross them dissolve effect in case of default of a predefined, which would also be very useful. Enjoy all the tips

    Go to Preferences > general, then set it to "video Transition default Duration", but many executives you want it to be.

    Note that this applies to everything that you set your default transition, which is chained by default.

    Hope that helps!

  • How to set the background color of a page_item?

    I was pasting "background-color: #5CD65C" in a number of places, like the 'attributes of the HTML table cells' under the label and the tabs of the item, but get no results. Can someone tell me how to set the background color of a cell, please?

    Hi Doug,.
    One method is to add a style to your header html in page attributes, if you add the below css styling and the change of the name of the item page (#P2_FIRST_NAME) to your he should style correctly:

    Thank you


  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura


    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • How to set the content of the column for lines of automatic separation

    Hello guys,.

    I have a problem with the column width and the content of column in a standard report. In the report are hugh entries that are not interrupted by a space character. I put my column width to a special value by usingen "style css: display block; Width: 300px; ». Now the problem is that some of the entries in the column with a longer width that the column width is set. Then they overlock the entries in the column next to them.

    My question is: How to set the column lines of automatic content break after a certain number of characters?

    After searching for a couple of websites and discussion thread, I found maybe a reference to the solution. I hope that it helps you to give me an answer.





    It is more a matter of HTML as a matter of APEX... You can start by looking here:

    Kind regards


  • How to set the field "default" of a quick dashboard to yesterday?

    Hello world

    I have a dashboard the guest on a date (full name Date.Date and type Date).
    I also have a simple report with two columns: Date.Date and a measure (whatever the name).

    I've managed to filter the day before the current date in the report by adding an advanced SQL filter:
    Date.Date = Cast (TimestampAdd(SQL_TSI_DAY,-1,@{system.currentTime}) as Date)

    Now, I would like to invite him to select the day before the current date by default.
    The filter on Date.Date would be "invited" or more.

    How to set the field "Default" from the command prompt?

    Thanks in advance


    go to the command prompt...
    Select SQL results of as default: drop-down list.
    here... you have to write your SQL logic...
    who uses by default the previous date
    something like that...

    * Select case when 1 = 0 then anydate column of another timestampadd (sql_tsi_day-1, CURRENT_DATE) of the end SubjectArea name*.

    write like this... and report back...

    Thank you & best regards
    Kishore Guggilla

  • How to set the time that my screen stays on?

    How to set the time that my screen lights up.  I have an iPod Touch 6?

    Settings > general > auto-lock

  • How to set the default android home page.

    How to set the home page in the latest browser of firefox for android?


    Unfortunately you can not remove the top sites home page but you can pin a site, remove a site from unpin it and change the url of a pinned site.

    Please read this article for instructions.

    I hope this helps!

  • How to set the time between slides in a slideshow (iPhoto, el capitan)

    How to set the time to say - 5 seconds or 20 seconds - between slide show photos in iPhoto. I use el capitan.

    See the Settings button at the bottom right of the toolbar (at the bottom of the slide show). Click on it and you have a small window with two tabes, refers to all the slides, the other to the selected slide. You can make your choice

Maybe you are looking for

  • after upgrade to 22.0 when sidebar is open, some pages no longer correspond to the window as in version 19.

    After seeing the suggestions I tried to adjust the setting of the CSS-1 to 1 about.config, etc.. But this change just the size of all pages. Not a solution because some pages are okay to begin with, so they do not need decreases. All Pages seem to ma

  • fastboot flashing images

    my own experience of trying to use the fastboot tool I find it weird how after using OEM unlock on a xoom wifi which is normal retail version... which: 1 fastboot flash boot boot.img instantly, works very well 2. when I then try to make the next file

  • B1 Iconia Tablet - insufficient storage space

    Acer Iconia B1 Tablet 8 GB 32 GB internal external (Micro SD) Android Version 4.1.2. My Acer Tablet keeps telling me that I have a memory, even if I uninstalled multiple applications. Storage Android app provides the following information:INTERNAL ST

  • transfer of warranty Dell

    Here again a few doubts while making the transfer of online security. 1. what we offer in the box to the name of the company? 2. If I did processes online how many days does for transfer? 3. I would like to know if someone have warranty transfer?

  • iPad and the wireless printer

    I have a HP C6380 wireless printer.  Is this compatible with the iPad?  or Mac Air? Thank you