Create conditional button

I have searched the forums and don't understand the explanations because I am a total Apex beginner!!!! So, sorry if this is a duplicate question.....
I have a form and a report on the same page, but different regions. I deleted the CREATE button from the report since the CREATE button is already on the form. The CANCEL button also shows up on the form. But, I only want the CANCEL button to show up if I"m editing a record, in other words, if the field "Region_Code" is NOT NULL. I tried the condition option via the CANCEL button properties, but that does not work.

Which option did you select from the 'Condition Type' list and what did you put in 'Expression 1' for the cancel button item?
You should use Condition Type: Value of Item in Expression 1 is NOT null and then put the name of the item that holds the REGION_CODE, i.e. P1_REGION_CODE into the Expression 1 field.
Earl
Message was edited by:
Earl

Similar Messages

  • Creating conditional buttons in InDesign

    I'm not sure if there is a way to do this in InDesign, but thought I'd see what people think.
    I want to create a document that has two sets of buttons. The top row will have two buttons and the bottom row will have three buttons. Each combination of button will bring you to a different page. So, for example, if the user clicks ButtonRow1_A and ButtonRow2_A, he is brought to page AA. If the user clicks ButtonRow1_A and ButtonRow2_B, he is brought to page AB. In this scheme, the user is not brought to another page until *both* buttons are chosen. My challenge is to figure out how to make the second row of buttons conditional on the first row of buttons. Does anyone know how to do this in InDesign? Maybe Fireworks or Dreamweaver?
    Thanks,
    Jon

    From your description, the user could only go to six different pages: AA AB AC BA BB BC so we are not talking about alot of possibilities. You could have this scenario, Have an initial page where only the top row of buttons are active, and the bottom row is inactive, but visible. When the user makes a choice and clicks A, you are taken to a second page where the interface is visually the same as the first. But now the top row of buttons are inactive, and the bottom row will only take you to the possible destinations of AA AB AC. Do the same for top row B.

  • Can i create conditional Radio Buttons?

    I'm creating forms in Acrobat 9 Pro.
    Does anyone know if it is possible to create conditional Radio Buttons that only need to be checked if a certain box or button from another group is checked?
    For example: the first group of buttons might show the days of the week. If Tuesday was chosen a choice would need to be made from a further group of buttons (say a choice of time - 9am, 10am or 11am.). If any other day was chosen a different choice might be required or none at all.
    I hope this is clear.

    Here are other ways to share your library but it only works if you're both on the same network: Enable Home Sharing under iTunes/File Menu and read the iTunes Help entry for Home Sharing for additional info. It will allow up to 5 computers on your network to play and download items from your iTunes Library. Alternatively, you can enable "Share My Library On My Local Network" under iTunes Preferences which allows up to 5 computers to play any content in your library but without the ability to download them.
    I assume you keep your iTunes Library synchronized on both computers. If you have it also on the MacBook, this Apple support document will explain how to share your iTunes Library with multiple users on the same computer. This is by far the easiest and always available without using the network.

  • Externally created pagination buttons

    Hi there,
    How do I create "externally created pagination buttons" ?
    In a multi-page tabular report, I would like to submit each page before I go to next page (to save updates). Am I right in guessing that I could use custom buttons to submit the page before moving on to the next page ?
    Thanks,
    Shailendra.

    hey shailendra--
    those "Externally Created Pagination Buttons" are a bit of a throw back to the older way of doing pagination from the htmldb beta days, but they still works fine. to set them up, you create two buttons with exact names, "FLOW_PREVIOUS_PAGE" and "FLOW_NEXT_PAGE". you'd probably also want to put the conditions, "SQL Reports (okay to show back button)" and "SQL Reports (okay to show forward button)", respectively on them. after that, pagination works as you'd expect. the catch to this, though, is that those button won't work to submit your form data as you're hoping. to allow your users to submit tabular form data as they page through tabular form data, you'd have to add an additional page submission mechanism (button, for instance) to your page.
    hope this helps,
    raj

  • Function Module for creating condition record (XKOMV table record)

    Hi,
    I have a requirement as like below,
    In the repair order i need to sum the GRWR condition type's  conditional values for all the line items (Except deliverable line item) and then i need to create an condition type GRWR under the deliverable line item with the above calculated conditional values,
    the table XKOMV will be having details about all the line item's condition types, in this table i need to add one more new record with the condition type of GRWR and the above calculated conditional values under the deliverable line item.
    for the above logic i am using the user exit
    USEREXIT_SAVE_DOCUMENT_PREPARE
    All the above things need to be done when the user click the save button in the transaction (VA01/VA02).
    Problem here is table XKOMV contains somany fields so manually we can't create xkomv record, is there any Function module to create condition type record?
    Regards,
    Manikumar
    Edited by: Manikumar Shanmugam on Mar 8, 2008 3:53 PM

    Hi,
       You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
    Regards
    Kiran Sure

  • Conditions button in PO history

    Hi All,
      My client is creating PO with respect to contract which is having price determination category as "5 - GR date". But for some PO's under PO history tab, the conditions button is not appearing and for some PO's its appearing. Please refer attachment. Can you please tell me on what basis that conditions button will be displayed? client is asking why its not appearing for some PO's. Please clarify.
    Regards,
    Prasath

    Hi,
       Please check the info record / contract for both the items in ME12 / ME32K, whether the pricing date category is maintained correctly. If the pricing date category is maintained in info record, then the condition button will appear in the PO history. Else it wont.
    Regards,
    AKPT

  • Conditional button

    Hi everyone.
    I'm trying to make a program as attached this post.
    I want to create a button that when an element of the array meets a condition (<45 as in the example):
             - If you push the button during a limited duration (for example 5sec), the loop will execute continously to finish the program.
             - If you dont push the button in 5sec, the loop will stop.
    I'm a beginner so hope anyone could help me.
    Attachments:
    Example 1.vi ‏11 KB

    Hi guys.
    Firstly, I'd like to thank all of you for taking care of my problem.
    Following my VI, my idea could be described like this:
    - There are 8 loops executed by a for loop. In each loop, it takes 1 element of an array to compare with a constant (45 as I set). When 1 element > 45 (at the 6th loop), the comparison block generates a true signal that will stop the loop. However, I need a kind of permission by using a button, if I push it (on) within 5 secs(for example), it will change the logic signal from the comparison from true to false so that the loop can excute continously. If I dont push it (off) or do it after 5sec, the logic signal will stop the loop immediately.
    Is it possible in Labview to implement a function like that? Or do you have any idea to deal with this problem 
    @Ranjeet_Singh: Thanks for your help but its not the way I'm thinking of. Hope you understand my problem and would help me to solve it.
    @Strokes: Sorry, I dont get your point. Could you please show me more detail about your idea?

  • Creating radio buttons in XML Forms Builder

    Hi everyone,
    I can't seem to find any instructions on how to create Radio Buttons in XML Forms builder, anyone has a link or instruction on how to?
    Thanks,
    Samer

    Hi Samer,
    So taking the example for the slides, you need first to create a new child under DataModel for the DataSchema. You can name it "Gender".
    Click on the Radio Button in the Toolbar and drag "Gender" from the left hand site into the Edit Form.
    It should have already a first radio button and in the box on the bottum right you should see the reference in the Schema Reference field (/DataShema/DataModel/Gender).
    You can now drag a second button from the toolbar and place it behind the first one. Make sure you add the same value in the Schema Reference field.
    On the Show form or RenderListItem you need a Control Selector as mentioned on slide 18. You can just use right mouse click -> Add. Go on the new item on the right hand side, and click on "Add Multiple Labels". You can choose now how many radio buttons you have, here 2.
    In our example enter in one Label "Condition" = "true" and "Label" = "Male" and in the other "Condition" = "false" and "Label" = "Female".
    Finally, make sure that the Control Selector has the Schema Reference also as defined above (/DataShema/DataModel/Gender).
    Hope this helps,
    Robert

  • Creating a button for inserting into a table

    What I can't do, because I've never needed to, is to create in a page (where I have a Interactive report) a button that when is clicked performs a simple sql (for example an insert into a table using some page item values).
    How can I do it?
    Thanks

    Here are some of the steps:
    1) Create the button.
    2) Then right click on the button name and select Create Dynamic Action
    3) Give the DA a name, click next
    4) On the "When" Step, Event should already be "Click" and the button name should be filled in
    5) For Condition, you would have a condition for when you want the button display.  Say, if your page items have a certain range of values then display this button.  No condition means the button is always displayed.
    6) For the "True Action" Step, for Action select "Execute PL/SQL Code"
        [There are other ways to do this, but this is straight-forward for me.]
    7) The in the PL/SQL Code block enter say:
    Begin
      INSERT INTO EMP (EMPNO, ENAME, HIREDATE)        
              VALUES (:P6_EMPNO, 'MARK1970', :P6_HIREDATE);
      COMMIT;
    END;   --- You would likely make them all page item variables
    8) Here the part I'm not 100% sure of.
        For "Page Items to Submit", name the page items used in YOUR QUERY -- in my example these are  P6_EMPNO,P6_HIREDATE   (Note no use of & or : or . here)
        Hmm.  Start by putting nothing in the "Page Items to Return".   If that fails, then try the same page items  P6_EMPNO,P6_HIREDATE there as well.
    [ I'm too lazy to go run this down at the moment.]
    9) I think that's it.
    Howard

  • Conditional Buttons?

    Can the buttons in Configurator also be conditional like the menu items they reflect?
    For example: If I create the button Character Panel Menu --> OpenType --> Discretionary Ligatures
    In the regular InDesign menu it is clearly visible whether this feature is available for the selected typeface in the text frame, but the standard Configurator button gives no feedback about that at all.
    Can this be changed, so the button is greyed out or has a different text when the feature is not available? Via scripting maybe?

    Configurator does not support this at present. InDesign does not provide the API to get the status of the feature.

  • Is there a way to create a button that links to a website?

    Is there a way to create a button that links to a website?
    I was reading up that it's possible to this with menus, and tracks but can you do it with a button and how?
    I am hoping to create a button that people viewing my discs on a computer can click on the link and their web browser will pop up and take them to a website.
    Any help is appreciated.
    Thanks.
    -Fraky

    dvd@ccess questions are being asked once a week on this forum, so I'll repeat why it's useless:
    - Mac users have to enable the feature in the preferences of DVD Player in order to for the links to work.
    - PC users have to install a small application on their PC, and they have to reboot the PC in order for the links to work.
    - On top of this, it's still unreliable, and may not work on some computers.
    It's a dog: Don't use it.

  • Help trying to create a button in safari please.

    trying to create a button that runs an applescript. I have been discussing it in 101 but cross posting it here because it's not getting much interest over there.
    Any help would be nice. I have read Become an xCoder and it doesn't seem to answer my questions.
    http://discussions.apple.com/thread.jspa?threadID=1514799&tstart=0

    Is there no way to create an appcontroller that works like an applescript? Or get an applescript to be recognized so a new NSButton added to the Bookmark bar be activated?
    i.e.
    *tell application "System Events"*
    * tell application "Safari" to activate*
    * keystroke "n" using {command down}*
    * delay 0.1*
    * keystroke "l" using {command down, shift down}*
    *end tell*
    Or,
    _Something Like:_
    / AppController /
    *#import <Cocoa/Cocoa.h>*
    *@interface AppController : NSObject*
    *IBOutlet id NSButton;*
    *-(IBAction) autoFill:,delay 0.1,checkSpelling:(id)sender*
    @end
    I really don't know if that AppController looks anything like it should or if it's even close.

  • What is the diffrence  between "Key to Select" and "Selected Key" while creating Radio  Buttons?

    While creating radio buttons there is a confusion regarding two properties "Key to Select" and "Selected Key".Can anybody explain it with example?
    Thanks,
    Vimal

    Hi Vimal,
    Please find my explanation as below
    Key to Select: This is the unique key for each radio button to identify which one is selected
    Selected Key: This holds the "KEY" of selected radio button
    Example:
       Let us say we have 2 radio buttons : Male & Female
         Create a context attribute SELECTED_KEY of type STRING.
         Create an action ON_SELECT for radio button select event
         Now,
         the properties for "MALE" radio button as below
              KEY_TO_SELECT = 'M'
              SELECTED_KEY = "bind to the context attribute SELECTED_KEY
              OnSelect = 'ON_SELECT'.
         The properties for 'Female" radio button as below
              KEY_TO_SELECT = 'F'
              SELECTED_KEY = "bind to the context attribute SELECTED_KEY
              OnSelect = 'ON_SELECT'.
    If we select radio button 'Male', we get the key as 'M' and for 'Female' radio button 'F'.
    check inside the event handler method ONACTIONON_SELECT, you get the 'KEY' of selected radio button.
    So, the context attribute 'SELECTED_KEY'  gets filled with the key of selected radio button
    Hope this helps you in distinguishing the 'KEY TO SELECT' & 'SELECTED KEY' .
    Regards,
    Rama

  • How to create a button that Copies subform data and paste it to a new page?

    Hi , I'm want to create a button that when clicked copys all the data from the feilds of a subform off the previous page and paste it into current page.
    I have used Steve's "Simple table.pdf example" to add a subform called DecorationDetail that has a button that adds an instance when clicked.
    Contained in the decorationdetail subform are feilds named Quantity, Description,UnitPrice etc. and a delete instance button.
    So when the first page is filled out, and a second page with blank duplicate feilds is added by a add page button. I want to be able to click a button
    positioned at the end of the row of feilds, and it then copies the same subform data from the previous coresponding page and pastes it into the current page subform feilds.
    Hope this make sense?. A step by step guide would be greatly appreciated!!!.

    Hi,
    Does this article provide you with some clues? http://www.perfectwebtutorials.com/2011/how-to-create-simple-contact-form-in-flash/
    Thanks,
    Preran

  • I am trying to create a button in flash that will display 4 separate images at the same time when clicked.  I can't get the images to stay on when I take the mouse of the button.  I need the actions script code to make this happen.

    I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time.  I can get the images to appear when I click the button but they will not stay on the screen.  I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code.  It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
    Thank you in advance
    AP

    It is not clear how you are trying to realize this from your description.  If you are trying to create this within a button symbol it will not work.  Explain your approach and if there is code involved, show what you have so far.

Maybe you are looking for

  • Font problem (font doesn't work in preview?)

    I've been working on a book with the arial narrow fonts (regular, italic, bold , bold italic). I've tried using the open type and the true type version of the font but always end up with one of the fonts not working when I preview the book on my ipad

  • Internal Order Requirement (Urgent....)

    Using internal orders to expense prepaid expenses and participant deposits is not possible with the current accounting entries. I will check in the SAP system which of the following two alternatives will best suit the purpose:     i.      A functiona

  • Selecting photo then clicking "Fit" does NOT turn off the Ken Burns effect.

    Trying to wean from iMovieHD.  I'm having trouble mastering what seems to be more limited Ken Burns effect functionality in iMovie11.   I don't seem to have the range, say, left-to-right, as I did in either iPhoto or in iMovie HD. So, I figured for n

  • Current month's full text

    Hi all Is there any function module to get Current month's full text? E.g: If current date is 01.08.2007.. then I want the full text as "August" (Not the short form "Aug") Pls help Regards, Prasad

  • Net price cpntract

    I need to evaluate the net price of a contract and of a record info. Can someone help me? Are there some function that i can use? Regrds Sabrina