Using a check box to enable/disable buttons.

I am just beginning to dive into the world of mobile application development, and encountered the first time I think I need to use a function (<mx:Script... private function) and was wondering how I would go about making it so when a specific check box is selected, a set of corresponding buttons are enabled. When it is unselected, these buttons are then disabled. I'm sure this is a super novice question, so I'm hoping someone out there can help. This is for an iOS mobile app. Thanks!

Thanks for your response.
Based on your reply, I've entered this -
if (this.rawValue == 1){
Company1.rawValue = Company2.rawValue;
Contact1.rawValue = Contact2.rawValue;
Phone1.rawValue = Phone2.rawValue;
Email1.rawValue = Email2.rawValue;
Address1-1.rawValue = Address2-1.rawValue;
Address1-2.rawValue = Address2-2.rawValue;
Address1-3.rawValue = Address2-3.rawValue;
City1.rawValue = City2.rawValue;
ZipCode1.rawValue = ZipCode2.rawValue;
Country1.rawValue = Country2.rawValue;
and when I clcik the check box in the Preview PDF pane, nothing happens.
Do I have to save this as a "reader enabled" file before I can check to see if it works?  Our clients that receive this form will be filling it out using Adobe Reader.
I'm only focused on the first two columns for now.  I may eventually add the "End User" column down the line, but I just want to get the first part working first.
Company1 corresponds to the binding value in the "Company" field in the first column (Invoice or Bill To).  Company2 corresponds to the binding value in the "Company" field in the "Ship To (from freight forwarder)" in the second column.  This is the same pattern all the way through.
In the address fields, the binding values are shown as as follows -
Address1-1 means column 1, field 1
Address1-2 means column 1, field 2
Addrress1-3 means column 1, field 3
Etc...
I think I need to change the binding value for each field as I don't think the script like the "dash" in the binding values of the address fields.
Again, I'm sorry for these are stupid questions, but I am completely uneducated and green when it comes to using scripts.

Similar Messages

  • Enabling/disabling buttons problem

    Hello,
    I'm using jdev 10.1.3.3.0 and I want to enable/disable buttons based on the value in a tableSelectOne. I wrote a function isNextButtonEnabled() in my backing bean and I have set the disabled option of the nextButton (=CoreCommandButton) to #{!backing_bean.nextButtonEnabled}. Then I putted the autoSubmit option of the TableSelectOne to true and made a partialTrigger on the nextButton to the TableSelectOne. In the print statements everything is fine, but it is never displayed.
    Does anyone know what to do about this.

    Well,
    the nextButton is in a cellFormat which on itself is in a HtmlRowLayout. I putted partial triggers on the cellformat, the rowLayout and the panelPage to the TableSelectOne, but this doesn't do the trick neither. Strange.

  • Check Box or  Drow Radio Button on Bex Query

    Hi Experts,
    Does anyone know to how to put a "Check Box" or  "Drow Radio Button" variable on query selection screen?
    The user want to switch the order data between open and completed on a same report by a check box / radio button.
    Thnaks

    Hi Linkzhou,
    Why don't you directly use a var on Actual Delivery Date & include/exclude on # cases to report open/closed shipments.
    Alternatively, You can achieve the same without making changes to backend, if you are ok with using WAD. In WAD 7, you can use a DropDown webitem instead of a RadioButton/Checkbox webitem since you cannot assign a Command on selection from a RadioButton/Checkbox webitem. Also, you would need to design the same in a web template since this will not be made available on your query selection screen.
    In the DropDown webitem, use Data Binding Type -> 'Fixed List of Options' , here you can configure
    Open -> under Action use Command 'SET_SELECTION_STATE_SIMPLE', choose your Actual Delivery Date char, Sign -> INCLUDING, Operator -> Equals, Equals -> Member Name, Member Name -> Direct Input -> # [Not Assigned]
    Closed -> under Action use Command 'SET_SELECTION_STATE_SIMPLE', choose your Actual Delivery Date char, Sign -> EXCLUDING, Operator -> Equals, Equals -> Member Name, Member Name -> Direct Input -> # [Not Assigned]
    Now when the user selects Open option from the DropDown webitem, the data provider query will be filtered for open shipments & vice versa for Closed option.
    --Priya

  • No check box to enable Start in Windows 10

    Hey guys, so I upgraded to the Technical Preview the other day. I was wanting to see the Metro UI (as being on Windows XP was good... but the theme was boring). I found you could enable the Start screen, which I was wanting to see for ages...
    Only to find I have no check box to enable it. I have had a look at the 'Start Menu' bit, and where there is supposed to be an option to enable it, I have a big blank space with nothing, then the Start Menu properties:
    My specs are: 
    Intel Pentium 4 CPU 2.80GHz
    3 GB of RAM
    Zotac Geforce 210 Synergy Edition (512 MB of Video Memory)
    My actual PC is a Dell Optiplex GX280 (quite old BUT has been boosted, not sure in which way, beacuse I fitted the RAM)
    Can you guys help? Thanks in advance!
    Jago Gardiner.

    That's not what I meant, if you go to this link:
    http://www.howtogeek.com/197764/how-to-re-enable-the-start-screen-instead-of-the-start-menu-in-windows-10/
    You can see if you scroll down there is an option to enable an actual Start screen on Windows 10, by clicking on the Start button.
    I already have it expanded out, but I don't like the Start menu like the way it is.
    Jago Gardiner.

  • Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
    Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page.

  • If I use a check box component then FScommand2 Quit does not work

    If I use a check box component then FScommand2 Quit does not
    work? Even tho the check box component works fine.
    Why is this so? I spent two hours tearing my hair out to work
    this out!

    I have tried to help my friend Blasta and then he export the photo (as you told us to do)  the description is lost. Then I have read your god advices I took up one photo in Graphic Converter with result:
    ---- ExifTool ----
    ExifTool Version Number: 9.39
    ---- System ----
    File Name: DSC00160.jpg
    Directory: /Users/akesjodin/Documents/Jan 2
    File Size: 594 kB
    File Modification Date/Time: 2013:12:17 13:46:16+01:00
    File Access Date/Time: 2013:12:17 13:51:37+01:00
    File Inode Change Date/Time: 2013:12:17 13:48:05+01:00
    File Permissions:
    rw-r--r--
    ---- File ----
    File Type: JPEG
    MIME Type: image/jpeg
    Current IPTC Digest: fac9fec98a44c4d807be572ed64373d6
    Exif Byte Order: Big-endian (Motorola, MM)
    Image Width: 3328
    Image Height: 2216
    Encoding Process: Baseline DCT, Huffman coding
    Bits Per Sample: 8
    Color Components: 3
    Y Cb Cr Sub Sampling: YCbCr4:2:0 (2 2)
    ---- JFIF ----
    JFIF Version: 1.01
    Resolution Unit: inches
    X Resolution: 72
    Y Resolution: 72
    ---- IPTC ----
    Coded Character Set: UTF8
    Application Record Version: 2
    Caption-Abstract: Alla bilder Gepe Made in Sweden (41 stycken) utom 17 stycken Agfacolor Service German Made, 1 stycken Agfacolor Dia Agfa, 15 stycken Kodachrome Slide Kodak Processed by Kodak, 5 stycken Kodachrome Transparency Processed by Kodak och 1 stycken okänd...Bergastrand. X. 1970. Blandade bilder. .(Somm?)ar 1970 1 magasin..Torsten Erna 1 magasin..Blandade bilder 710-749...Bergastrand...Vänstra magasinet: Bergastrand 1 år I...12-68. 701.
    Object Name: DSC00160
    and there is the description text in Caption-Abstract under ----IPTC---
    If I use Preview I can´t se any descrption and if I import to Iphoto no descption.
    we are very greatful for all help

  • How to use Multiple Check Box control  to make a list of items in check box

    I have a use case where i have to save update list of items required, and i want to implement it through viewobject and use Multiple check box control, how do i go about it? Code snippet will be helpful........
    Edited by: jDev_08 on Nov 17, 2012 8:31 PM

    Hi,
    Always mention your JDev version.
    Check out the ADF Faces Demo : http://jdevadf.oracle.com/adf-richclient-demo/faces/components/index.jspx#%2Fcomponents%2FselectManyCheckbox.jspx (Hint : Code snippet is available in there itself).
    -Arun

  • Trigger enable/disable button

    Does anyone know why sometimes when a trigger is created you get an "enable/disable" button and sometimes you don't?
    We are on Application Express 3.1.2.00.02

    Sue:
    Good question. I see similar behaviour with my 3.1.2.00.2 APEX installation.
    I do not know the answer. Could possible be a bug.
    Varad

  • Just started using Safari, 5.1 on Win XP.  Places where there used to be check boxes now have little buttons with triangles on them; clicking them seems to have no visible effect.  Help!

    I just started using Safari, using Safari 5.1 on Win XP.  Any place where there used to be a check box, there's now a little button with a triangle on it.  The triangle changes orientation as I move the mouse cursor around, but there is no visible change if I click on it.  Yet it appears that I must click on it to check, or uncheck, the box; I just can't tell whether it's checked.  If I can't get this to work better, I'll have to give up on Safari.  Please help.  (Note: there's one at the head of this thing saying "Mark this discussion as a Question - this encourages people to answer for points and helps you track answers."  I clicked on it, but don't know whether it's checked or not.  That's a fairly minor example.)

    Can you provide an SSCCE that demonstrates this behavior?

  • Missing check box & Red, Green minimise buttons

    hey all ,
    After upgrading my Macbook Pro to the latest version my "red green amber buttons " are missing along with all checkbox's and borders to all system buttons.
    I thought this look pretty cool at first and thought it was part of the new system,  however i soon noticed I couldn't see any checkboxes or borders on buttons and now it's a massive pain.    (13-inch, Mid 2009 2.53 for 2 duo)
    any sugestions ?
    have inclosed a few screen shots :
    1, example of a missing check box,  (has a kind of irony attached)
    2,  example of missing buttons: borders on dialogue box buttons  :/
    help me obwan :-/
    thanks d

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Enable/Disable buttons in Portal.

    How are buttons in EP 2004s enabled/disabled?  Not in the toolbar but in the iViews.  Such as Account Sales Area, we had a button "Additional Sales Areas" enabled, but now it has become grayed out.
    Is the enabling/disabling of buttons a PCUI issue that needs to be handled through DynPro or SPRO, or an authorizations issue that needs to be handled in the CRM backend system? 
    In this particular scenario the "Additional Sales Areas" button is also disabled in the GUI, but there are others such as a "print" button where it is only disabled in the PCUI.
    Any help with this or documentation on how to enable buttons would be much appreciated.
    Thanks!

    Buttons are coming from the PCUI applications, check out the following weblog
    People-Centric User Interface (PCUI) - Getting Started...
    'The Book' contains all the details. For enabling/disabling the buttons either you can change in the blueprint tables or use the blueprint application builder.
    Check out the CRM forum you will get all the details

  • How to use a check box in ALV

    Hi All,
    I have a urgent requirement in my <b>ALV list</b>.
    Where in the output list i need to create a check box, which is followed by Sales order, quantity columns etc......
    Requirement:  1. tell me how to <b>create</b> a <b>check box</b>
    2.   i need to select the checkbox(Sales Order) and press  a push button which is above the list(push button) in the tool bar.
    I am able to see the output using  <b>reuse_alv_grid_display</b>.
    <b>But kindly let me know how to <b>link</b> the <b>check box</b> and the <b>push button</b> which is above the list for further processing.</b>
    Possibly a sample code will help a lot.
    Thanks in advance.
    Rajesh Kumar.

    TO create a check box, take one field in your internal table as:
    CHK TYPE C.
    Now, pass the LAYOUT by filling up the LAYOUT strucutre.
    LAYOUT-BOX_FIELDNAME = 'CHK' .
    This will provide you the BOX field in the GRID and Checkbox in the LIST.
    When you select the  checkbox the field value will set to 'X' in the table.
    Regards,
    Naimesh Patel

  • Enable/disable buttons

    Hi All
    I have created an application wherein datablock is supposed to display 5 records at a time. In addition to it i have displayed 5 buttons alonside these records. But all the buttons are addresed by single name.
    I want to change the enable/disable property of the button in such a way that only those buttons get disabled where records value match with those given by me in procedure.
    Since all the buttons are having same name i am not able to target button corresponding to specific record.
    I will make the problem more clear:
    This is how my GUI looks
    Record1.element1 Record1.element2 Button1
    Record2.element1 Record2.element2 Button1
    Record3.element1 Record3.element2 Button1
    Record4.element1 Record4.element2 Button1
    Record5.element1 Record5.element2 Button1
    I want to disable button1 only corresponding to the record3.
    Can anyone help me out in this regard?

    Thanks Roel for your reply. I had already designed the way you mentioned(by using 1 button) but this is not the way application should look.
    Also I have to work on this application using designer only, that is the reason i have posted it in Designer forum so that i could get any clue as to how i have to proceed using designer.

  • Using text entry Box or Text are button

    Hi,
    How do I do these?
    using text entry box or text area widget.
    to describe:
    in my first slide I have text entry boxes for
        1. User name
         2. name of superior
         3. email of the superior
    let say: 1. refer to varialbe V_UserN
                 2. refer to V_sup
                 3. refer to V_emailS
    next slide would be a video
    next slide would be a text entry or a text area..this is where the user writes anything
         Text entry box with submit button
    What I want from this text entry box is..if the user doesnt write anything, upone clicking the submit button, the interaction wouldbe "please write a review on the text area"..if the user write something the something, the submit button will execute continue.
    how do I do this?
    next slide would be a text entry box or a text area..wherein the user write something based on question (this is not a quiz slide). The message would be sent to the superiors email. how do I do this?
    hope you can help me.
    Thanks

    To check if the user didn't write anything you'll have to compare the value of the associated variable of that TEB or Text Area with a user variable v_null. You have to create that user variable and just leave it empty.
    Have a look at my blog post:
    Where is Null?
    You'll have to create the custom question slide with standard objects. There is an mail widget included with Captivate, but didn't try out if you can insert the value of a variable as an email address.
    Lilybiri

  • What value to put in for a preference in the about:config forlder that would allow me to use the f12 key to enable/disable a firefox add-on.

    Im trying to set it up so hitting the F12 key will enable/disable Addblock Plus because their are some web sites I need it disabled completely on.
    The preference is already there in the about:config screen but the value is left blank for you to fill in if you want to use the feature.
    I just need to know what value would represent pressing the F12 Key

    '''F12''' is what you need as the string Value for '''extensions.adblockplus.enable_key'''

Maybe you are looking for

  • Using part of file name in a query

    I am putting together a member directory and I want to be sure that it is best optimized for the search engines (SEO). For this reason, I want to appear to have a unique file for each member. I know that I could just link to a master file and pass th

  • Qosmio X - Can't scroll on the touchpad

    I have driver v12.0 from Synaptics Co. but i noticed that I can't scroll and also I noticed that many options isn't present in this version. Unlike v7.0 that I had in Qosmio G20! http://img205.imageshack.us/img205/1895/67006792.jpg

  • Documentation and training manuals

    Hi, I am looking for training users on databases mainly topics are      Database 1.     Basics of Database 2.     Database Vs. RDBMS 3.     Data Backup & Archive I am preparing a dataset and training manual both. Database is 10g. The users are not fa

  • My MBP won't boot from my Expresscard SSD after I took it out during sleep!

    Before this happened I booted my Macbook Pro from an Expresscard SSD. Oddly enough you can take it out while the computer is sleeping. This time though I took it out and inserted it in another computer to transfer files. I put it back in and woke the

  • Is it possible to scale only the weight of strokes without the objects?

    I have a lot of line drawing illustrations each made with various weight strokes. Each illustration looks good by itself but when compared some look with overall thicker or thinner lines and I want to make them look the same because all will be used