Two variables need to be set and reset as two different buttons are pressed

How to define variables and reset the variables when different buttons (one at a time). They go to the same page, but their actions are taken based on the setting of variables.

Examples or suggestions will be highly appreciated.

keep going to the page as hidden. Pass a value to this hidden point. Based on the hidden item, the button appears.
For example if: Pn_X = 1 display button1 if: Pn_2 = 2 display button2. Pass the value to Pn_x, you have your own conventional logic
Another example on the use: I do not have a process button and create the Bill once I clicked and dealt with the Bill, I put the element hidden under another value. Immediately, print the invoice button will appear, and the process button disappeared. Once printing is complete, this key will also have disappeared and create a Bill button will appear. and this cycle

Tags: Database

Similar Questions

  • Condition of two option button are true then...

    Hi all

    Please forgive me if I post my question in the wrong group.

    I'm running LiveCycle Designer ES ver: 8.2.

    I created a form that contains two different sets of radio buttons.

    The use of Javascript, I'm writing a piece of saying code:

    If the radio 1 = '1' and 4 '1' = radio button, then this text box is read-only and grayed.

    My script is as follows:

    Form1.restrictions - positioned.restrictionFrequency::click - (JavaScript, client)

    If (foodStuff.rawValue is "1")

    {

    This.Access = "readOnly";

    this.fillColor = "216, 216, 216";

    This.Border.Edge.Presence = 'hidden ';

    }

    This code does not work? Is it because I put it in the text box? What the option 'display '. I tried to put the code in 'click', 'validate', etc., with no result. (Note: I don't know how to use this section either)

    Your insight is appreciated.

    Thank you

    Erik

    Solve the problem.

    The code will now appear like so:

    Form1.restrictions - positioned.restrictionFrequency::click - (JavaScript, client)

    If (foodrestriction.resolveNode("foodStuff").rawValue is "1")

    {

    This.Access = "readOnly";

    this.fillColor = "216, 216, 216";

    This.Border.Edge.Presence = 'hidden ';

    }

  • Two different palpable area in a ListItemComponent in a ListView

    Hi all

    Here's my problem:

    I have my ListView with my ListItemComponent including the two cities, and I would like to be able to open another page, if I click in one place or the other.

    Unfortunately onTriggered is available for all the ListItemComponent.

    Someone has an idea?

    Thank you.

    Your element needs to list an ID, so to access something from the list view, that you should do something like that (obviously the syntax isn't everything is correct, but you get the idea)

    {To ListView

    {ListItemComponent}

    {Of container

    ID: testitem

    {Label

    onTouch {testItem.ListItem.view.pushPage1 (ListItemData)

    }

    }

    function pushPage1 (data) {}

    dowhatever

    }

    }

  • Two different installers are named jre-8u45-windows-i586

    I have two files on my computer that are all two named jre-8u45-windows - i586.exe and have been downloaded Oracle's Web site. They are both signed by Oracle Corporation. One was signed to 2015-04-30 and the other 2015-04-10. I have reviewed the files and they differed in the binary content as well as digital signature section.

    I want to assure you that the two files have been issued by Oracle. I installed the signed version 2015-04-10 on some computers and I'm about to install the 2015-04-30 on another (because it is more recent). But what is the difference? Is there a problem of security at Oracle or is punished for edit setup, but keep the same version?

    Please confirm:

    fc29ed9b76d70b20e94fb2cd52fb75df41512f40 * (2) jre-8u45-windows-i586 .exe

    7fc89bd7f82a092d2aa15b753f1fa17e47b879aa * jre-8u45-windows - i586.exe

    Thank you

    Yes, these two files are Oracle only. I was facing the same problem and then checked.

  • Just installed Acrobat XI and many of the tool buttons are greyed out.

    This is Acrobat Standard.  Why would the edit buttons be grayed out?

    Lee

    It is possible that the document you are editing does not allow for edition, which could be due to security restrictions that are in place, because it is a form created in LiveCycle Designer spirit, it is locked due to a digital signature, etc. See what it shows when you select: file > properties > Security

  • need a better way to reset the selected cells in a table

    Hi all

    I've been watching the various threads of discussion reset only certain fields in a form and leaving the others unchanged.

    The form, I am currently a table of 20 lines of body with 8 columns. I want to have a reset button that resets the 6 cells in each row.

    I use the following code snippet:

    for (var equal nrow = 1; nrow equal < 21; nrow equal ++)

    for (nCell var = 0; nCell < 6; i ++)

    {

    xfa.host.resetData ("form1.page1.wrapper.ICC.Table1.Row [" + equal nrow + "] .rate [" + nCell + "]");

    }

    It works but it is extremely slow (order of 10 seconds) and my pc is not outdone.  There must be a simpler (and faster!) way to do it.

    I saw a thread where cells that were to be spared from reset could be entered but could not do this work to all the. I thought to put the cells to be spared in a subform, but that went nowhere, because I was able to place cells individual separate subforms.

    Any suggestions will be welcomed with formcalc script if possible :)

    Thank you.

    Harry Ohm.

    Edit: now, it seems that this does not work as I first thought. It works on a single line, but not when the nested for loops are used.

    Post edited by: HarryOhm

    Hi Harry,.

    Just two quick questions. I would wrap the first for loop {} and then you have i ++ in the second loop:

    for (var nRow = 1; nRow < 21; nRow++)
    {
         for (var nCell = 0; nCell < 6; nCell++)
         {
              xfa.host.resetData("form1.page1.wrapper.ICC.Table1.Row[" + nRow + "].rate[" + nCell + "]");
         }
    }
    

    It seems that your table is static (lines do not repeat). One option would be to build a variable/string with object names and reset that. It is an example of a reboot of one of our forms (http://assure.ly/gBJYj9). Here it is set to zero, a line and two fields outside the table:

    // reset page 6 only
    var f1 = Table1.Row1.description.somExpression + ", ";
    var f2 = f1 + Table1.Row1.quantity.somExpression + ", ";
    var f3 = f2 + Table1.Row1.unitPrice.somExpression + ", ";
    var f4 = f3 + positionedSF.myName.somExpression + ", ";
    var f5 = f4 + positionedSF.myAddress.somExpression;
    
    xfa.host.resetData(f5);
    

    Hope that helps,

    Niall

    Ensure the dynamics

  • Process in two different tables in one page

    Hi all

    I have A form with a submit button, when I click on the button I want to send the data from two different tables. For example:

    REQ_ID: 221

    BOX_NUMBER: 2

    NOM_ELEMENT: APPLE

    COUNTRY_ORIGIN: USA

    I want to send all the information in table 1 and only REQ_ID and BOX_NUMBER in table 2.

    I tried to create processes two different which are:

    1. the usual process line DML for table 1 and;

    2. simple query 'Insert' SQL for table 2

    It seems fine, until I realized that when the user tries to update the BOX_NUMBER to 10 for example, only 1 table is updated and table 2 creates an another duplicate data instead of updating the old one! This also applies to my button Delete,.

    any idea to fix this problem?

    Thank you very much

    Vika

    Reread what you wrote and you would realize why 2nd table only "new lines".

    2. simple query "Insert into ' SQL for table 2

    If you need to UPDATE the table, then you must write a simple UPDATE statement.

    If you want to REMOVE from the table, then you must write a simple DELETE statement.

    I call this "DML DIY" - do it yourself DML

    (personally, I'd probably use MERGE for INSERT and UPDATE)

    MK

  • Reports from two different domains

    Hi all

    Is it possible to account for two different subjects areas, i.e., a report that contains fields from two different areas? If so, how could we select fields from two different disciplines in a single report of responses?

    Thank you!!

    One thing to understand is that if you're imagining having two areas (SAs) poster and then by dragging the columns of each in your application without any preparation, then no, that cannot be done. You would need to make a join in the MDB layer and expose the column of the second subject area in the presentation layer.

    But if you indeed interested in UNION (or cross) queries, then do this:

    Build your first application in the first SA in the usual way. Note the number of columns and the data types of each column.

    Now at the bottom of the workspace of criteria, there is a button called "Combined with application similar." Until it clicks.

    Select your second. You will notice that the contours of the columns in your first query appear. This is to remind you that the number of columns in this second query must be the same as in the first. It also shows the data type of each column for the same reason.

    Once you select your columns and your filters, click result. (Oh, you need to decide what kind of combination you want - click the menu drop down.) The result will be a new application that has data from two SAs in the query and combined in the way you select (union, intersection, etc.)

    This should give you a start.

    They are now, some 'useful' or 'correct' points for users on this thread...

  • I have been hacked and you will have to reset my PC to factory setting and reinstall everything.  To get my Adobe Lightroom rear 6 where she was re - download the software and then Exchange with my current backup catalog catalog.  Will this work?  I have

    I have been hacked and you will have to reset my PC to factory setting and reinstall everything.  To get my Adobe Lightroom rear 6 where she was re - download the software and then Exchange with my current backup catalog catalog.  Will this work?  -What I else I need / have to do?

    Yep, it shud work.

    https://helpx.Adobe.com/Lightroom/help/import-photos-various-sources.html

    Restore a backup catalog

    • Choose file > open catalog.

    • Navigate to the location of your backup catalog file.

    • Select the backup the .lrcat file and click Open.

    • (Optional) Copy the catalog to the location of the original catalogue to replace.

  • SAWATDEE Apple, I need to erase and reset my iPad, but I forgot my restriction code, please help me

    SAWATDEE Apple, I need to erase and reset my iPad, but I forgot my restriction code, please help me

    better compliance

    Try recovery mode, see to halfway down this page: If you have forgotten the password for your iPad, iPhone or iPod touch, or your device is disabled - Apple supports

    (Do not know what as 'Sawatdee Apple' is it wants to say, but we are fellow users on these forums, not support nor Apple iTunes.)

  • I need help my Webcam setting and put in place.

    I NEED HELP MY WEBCAM SETTING AND IMPLEMENTATION. I BOUGHT IT USED

    I need help my Webcam setting and put in place.

    Thinking about ask you for help using Bing, Google or any search engine you want to use.  Try entering "set up the webcam" in your search parameters.

    Or ask for help on the Web site of the manufacturer of the webcam that you have purchased.

  • is it possible to have two different images in "develop" mode  I need to match the color and other image to the other.

    is it possible to have two different images in "develop" mode  I need to match the color and other image to the other.

    Select the reference image and choose window > secondary display > Magnifier (locked). Now the image you want to change, and start working. You can refer to the secondary display window while you work on the image you are editing,

    If you have a second monitor attached, the entire second monitor may be the secondary display.

  • Need help to set up global variables

    Need to put in place a global variable that I can access and make changes using button actions...

    Thank you

    Code Stage.compositionReady:

    sym.boatPosition = 1;

    Code button:

    If (sym.getComposition () .getStage () .boatPosition == 1) {}

    SYM. Play ("mylabel");

    }

  • DSLR-A380 will not take photo and resets all settings

    My DSLR-A380 has had this problem under and turned off for a while now, but now it seems finally kaput. The camera turns on good and works as normal, except that the pictures will not save. When the trigger is depressed, it looks like he took the picture, the FVO screen goes black as if previewing the image loading, but then it resets and there is no saved photo. I had several people try to take photos and in different scenes/light, and it's the same problem. For a while, this seemed to happen randomly whenever I turned on the device. Sometimes it would work. Sometimes not. Now, it seems to be permanent. I tried to change all of the possible settings, but the given parameters to zero when I take a picture, including the aperture, shutter speed and ISO. The same problem occurs with Auto, manual or any other scene/priority setting.

    Battery is fully charged. Memory card room, is released and inserted correctly. The only reason I can think is that I dropped the camera on the concrete on a year and a half. He fell from lens face down. But I use the camera since then. It's only this week that it is dead.

    The camera needs to be repaired or replaced? I wouldn't replace the camera if there is a small patch.

    Strange things happen when the rechargeable batteries are aging. The fact to keep settings to reset is the most significant symptom, and that being the case, I don't think that there is more need to do a "hard reset." In fact, he wouldn't have enough 'juice' to format a new card.

  • The way of writing to a wireless bridge between two different routers.1:broadband and dir 2:dlink 605 l

    I want to bridge.and wireless I can't do that... Please send me how to write to a wireless bridge between two different routers.

    1:broadband
    and
    2:Dlink dir 605 l,

    Hi Mohammed Ehsan Jourah,.

    Thanks for posting the request in the Microsoft community forums.
    I understand that you need to know how to make a wireless bridge between two different routers

    What version of the operating system is installed on the computer?

    To connect multiple computers, install a network adapter in each and run a network CAT5 cabling to connect each one to a hub (and thus the other.) The computer that will serve as a transition will have a standard network card for wired and a wireless network adapter that will connect to the wireless (WAP) access point or gateway on the second network.

    A network bridge is software or hardware that connects two networks or more so that they can communicate. You can create only a single bridge network on a computer, but a bridge can handle any number of network connections.

    You can try the steps at the bridge between two different routers wireless.
    a. determine the coverage area. When using two or more routers, the coverage area should be divided, and each router should be placed in a central location in each subdivision. If you add a wireless router to an existing network, this may mean moving the first router.
    b. decide which router is the main router. The main router is connected to the Internet, a LAN cable or other networks. It should be as close to the wired network connections or who has the best line of sight to another wireless network. In addition, the main router should be a high range router, allowing large tables of State and more users.
    c. buy a spare antenna, as the antennas that come with most routers do not have very good range. Quality omnidirectional antennas can push the range and signal strength of each of the routers, which, in turn, will reduce the cost by allowing routers less cover more space overall.
    d. deploy the primary router carefully. This router is the most important and requires most of the time of installation and options. Set the WEP (Protocol) encryption Service Set Identifier (SSID) and wireless, set up the Internet connection and test the router with some clients (computers). Once you get the main router deployed, deploy other routers should be easy.
    e. deploy the secondary routers, which must be configured to operate in "mode of transition." Secondary routers should be deployed around the perimeter of a large area or 'hot spots' where users placed - for example, will convene a bench Park or the table.

    Links:
    Create a network bridge:
    http://Windows.Microsoft.com/en-us/Windows7/create-a-network-bridge

    Add a connection to a network bridge:
    http://Windows.Microsoft.com/en-us/Windows7/add-a-connection-to-a-network-bridge

    Hope this information helps you. If you need to get help or information with decision-making wireless bridge between two different routers, I'll be happy to help you.

Maybe you are looking for