Toggle between fields

Hi,
I have two fields order & contract on my screen. I want to ensure that only one field is input-enabled at any given point. I would like some sort of radio-button functionality wheerin if a user selects which field he wants to edit and subsequently the other field will be disabled.
How do i go for it .
Kindly suggest some method.
Bye

Hi Mac,
What we require is a very common requirement in the custom selection screen
The usual technique is to create the 2 fields as radio button assigned to a group..one will be X by default...when user clicks on another radio button we show the user input field
eg: PARAMETERS: r1 RADIOBUTTON GROUP rad1 DEFAULT 'X',
            r2 RADIOBUTTON GROUP rad1.
At selection screen-output.
if r1 = 'X'.
loop at screen .
if screen-name = 'ORDER'.
screen-input = 1.
screen-active = 1.
modify screen.
endif.
if screen-name = 'OTHER'..
screen-input = 0.
screen-active = 0.
modify screen.
endif.
modify screen.
endloop.
else..
*****do opposite
endif.
So when user presses other radio button.......the other radio button = 'X'.....and code will act accordingly.
Hope it helps
Regards
Byju

Similar Messages

  • How to set up toggle between fields on a form in Adobe Acrobat?

    I've got a client who wants an interactive PDF form, which I've done a fair few of now. They have been the first people to raise this issue something that has bothered me as long as I've been doing them "Can you set it up to toggle to through to the next field?"
    Seems to be a simple enough question but I can't figure it out and I can't find any articles explaining it.
    Anyone got any ideas?
    Thank You.

    What does that mean, exactly?
    On Wed, Sep 3, 2014 at 1:00 PM, JoshBurgess <[email protected]>

  • PLMD_AUDIT - Toggle between Display and Change - Important!!

    Hello all,
    I've a problem when I work on PLMD_AUDIT.
    Pre-requisite for replicating the issue.
    1> Change the settings in PLMD_AUDIT (a face like icon) to Display mode
    When I run PLMD_AUDIT for an Audit with Action, it displays me the "Grouping" field and the "Involved Persons" tab values correctly.
    But when I toggle from Display to Change, the value in "Grouping" and the "Involved Persons" tab vanishes.
    Can you please check in your system and let me know if you also face this issue?
    Thank you in advance,
    Vaishnavi

    Hello Keerthi,
    Thanks for your reply.
    Please follow the below mentioned steps.
    1) Change your time zone to a different time zone other than the created time zone of the action.
    say if action has been created in London time zone, change system zone to some other than London.
    2) Change the Settings in PLMD_AUDIT tcode (face like icon) to Display
    3) Open any audit WITH ACTION.
    4) When you double click on Action inside the audit, the action will be opened in Display mode.
    5) Now toggle between Display and Change.
    6) Kindly check if the values in the "Grouping field" and BUPA roles in "Involved Persons" tab are present now after toggling?
    Please let me know at the earliest.
    Your assistance is highly appreciated in this regard.
    Thanks in advance,
    Vaishnavi

  • Toggling between languages in OSX

    I communicate in both English and French on a regular basis. In Windows I can toggle between English and French (Canada) keyboard layouts, so I can type in both languages easily.
    How do I do this in OSX, and is there a keyboard mapping available online for Mac keyboards for French (Canada) layout?
    Thanks!
    Mac mini PPC (old skool!)   Mac OS X (10.4.4)  

    866/3312
    Hi Catti,
    Two places to visit first:
    - in System Preferences > Keyboard & Mouse > Keyboard Shortcuts,
    choose different shortcuts for Spotlight and for Input Menu, so that you can easily use both.
    For example,
    (Spotlight)
    command-space --> Show Spotlight search field
    option-command-space --> Show Spotlight window
    (Input Menu)
    control-space --> Select the previous input source
    option-control-space --> Select the next input source in the Input menu
    - in System Preferences > International > Input Menu,
    enable "Show input menu in menu bar". Enable also Character Palette, Keyboard Viewer and all your favorite layouts (Canadian French CSA for example).
    Now you can test the input source options, see which one fits to your habits or your work.
    HTH
    Axl

  • E72 - How to toggle between portrait and landscape...

    Some games refuse to run by displaying "This game is not supported in landscape mode. Please turn your handset to portrait mode".
    How can I toggle between landscape and portrait modes in Nokia E72?

    You can't do that because of the screen orientation which is landscape only in case of E72, E71, E5.
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • I setup messaging on my verizon, however I have multiple lines on the account and it is showing messaging only for one phone line. Is there a way to toggle between multiple lines on the myverizon site?

    How do I toggle between multiple phone lines while on the myverizon website in regards to messaging?

    The Account Owner can see the call/text logs for all lines on the account, but each line needs its own My Verizon account for messaging and backups.  Those lines will be listed as Account Members and will have limited info. available to them regarding the account.

  • Can I toggle between multiple analysis on a single dashboard

    For 11g, I have created three identical analysis for three different business units. Currently I have each one on a different page within my dashboard.
    Ideally, i would like to include them all on one page of my dashboard and have the user be able to toggle between the three by use of a prompt. Can this be done?
    Or
    Can I build this as part of one analysis and use view selectors to toggle between the three?

    Yes we can do that,By creating Presentation Variables.
    Thanks,

  • I have a iPhone 5 and I am not able to toggle between the show my caller Id option on and off. How can I do that ??? It always shows greyed out and also because of which I am not able to make outgoing calls. So please help

    I have a iPhone 5 and I am not able to toggle between the show my caller Id option on and off. How can I do that ??? It always shows greyed out and also because of which I am not able to make outgoing calls. So please help

    Not all carriers allow that to be set using preferences in the phone. Contact your carrier.

  • Is there a way to toggle between open sequences? Keyboard Shortcut?

    So I usually work form one sequence of selects, and then take pieces of those selects on the source monitor side and edit them into the edit sequence on the program monitor side.
    1. Is there a way to toggle between the two?
    2. Is there a way to toggle between sequences that are open?
    Although it is really nice now you can load sequences into the source monitor it would be nice to toggle to that sequence to actaully see the clips in the source monitor sequence, not just have the visuals.
    On a basic level I'd like to know if there is a way to toggle between open sequences that way i can select in and outs lift and undo (which copies to clipboard) and then toggle to the second sequence i have and paste it in the correct place.

    Short answer: Yes. Try Shift+3. It's the default Shortcut for "Timelines".

  • How can I have an object toggle between fade out and fade in with button?

    Hello all,
    I have a problem and I was hoping someone out there could help me out with it.
    I have smart shape that is set to show for "rest of project" on one of my early slides.  It is not visible in output in the properties, but when a user clicks a button in the project, it should fade in and then stay visible.  If the user clicks the same button again, it should fade out and stay hidden.  So rather than toggle between show and hide, which I know how to do, I want it to toggle between fade in and fade out.  I am having trouble with this.  Setting its transition to fade in and fade out in the properties of the smart shape doesn't help...
    Here is the advanced action I have attached to the button that should allow the user to toggle between fade in and fade out.  The "if" parts works -- the object fades in and then finally "shows" at 100% the "else" part almost works.  It fades out, disappears, but then shows again, which I obviously dont want it to do.  I want it to stay hidden.
    If you can help, it would be great!! 

    I Don't
    But as a work around you could try increasing the canvas size to match the illustrator file, paste in the object then crop off the excess canvas in photoshop

  • Toggling between 2 hard drives running different OS's

    I recently added an internal 500GB SATA drive to my G4 (partitioned 100GB for apps and remainder for storage). The old HD is running OS X 10.2.8, and I initialized the new HD with a fresh version of OS X 10.3.
    Silly question: Is there a more efficient way to toggle between the two Operating Systems, other than rebooting?

    Hi, thud92666 -
    Is there a more efficient way to toggle between the two Operating Systems, other than rebooting?
    No.
    That is the only way it is possible to switch from one OS to another; where the OS's are located, on the same drive or on different drives, makes no difference.
    Decades ago, when the Mac OS was much simpler, it was possible to do that. That changed along the way, around OS 5 or 6 as I recall, maybe earlier, when the OS started becoming larger and more complex.

  • Need help: GUI_DOWNLOAD and tab-separated in between fields.

    hello everyone,
    this is the layout of the interface that i created:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    pernr<tab>name<tab>error message<tab>otherfieldshere
    i wanted the error log to be saved locally thus, i have to use GUI_DOWNLOAD.
    ok, here's the current parameters i supplied with my gui_download:
    CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                filename                    = v_file_string
                filetype                      = 'ASC'
                write_field_separator   = 'X'
           TABLES
                data_tab                    = i_error_log
    (exceptions not displayed)
    the problem that i have is that, there is a difference between the error logs displayed after the execution and the error logs saved in my local directory.
    i did find a way to resolve this BUT, i still need to refine it. also, the spaces between the fields seems not tab delimited, but separated by space.
    to explain further here's the current error log that i have downloaded:
    10000001<tab>10/23/2006<tab>01<tab>P<tab>11<tab>01
    the header:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    is not included in the downloaded errorlog file.
    i added some modification of my report to include it because, i want to to look exactly the same as of the errorlog generated/displyed after the execution.
    the result looks as it is what i've expected BUT,
    when i checked the spaces in between fields...
    it is all separated by spaces... not tab.
    here is the actual error log that i have obtained:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    pernr<space><space><space>name<space><space><space><space><space><space>error message<space><space>otherfieldshere
    What i wanted to resolve is that, i want the error log to be tab delimited and not separated by space.
    is this possible? if it is, any suggestion will truly be appreciated.

    Hi,
    Please check your flat file i think it they have used the Three spaces instead of using a SINGLE TAB. between the fields.
    Thanks & Regards,
    Chandralekha.

  • Help with scripting a period in barcode between fields.

    Good Morning,
    I need help scripting a barcode that has a period as a separator in between fields.
    I have 3 fields that I need all encoded in to one barcode and need a period as separators.
    EMPID
    FormName
    EMPSSN
    I need barcode to read as follows
    EMPID.FormName.EMPSSN
    546514.Harvest123.555284569
    I am very new to this and any help would be greatly appreciated.

    When you go to the Barcode's Value tab and select "Custom calculation script", you get an empty template of how the barcode's value is calculated, which you can then fill-in with the names of the form fields. You can also edit the separator used between the values. I'm not sure the result is a valid barcode, strictly speaking, but it works. Here's the code I used:
    /* Customize: */
    function bMemberOf(strName, aStrNames)
        for (var nMembIdx in aStrNames)
            if (strName == aStrNames[nMembIdx])
                return true;
        return false;
    function strTabDelimited(oParam)
        var bNeedTab = false;
        var strNames = "";
        var strValues = "";
        for (var i = 0; i < oParam.oDoc.numFields; ++i)
            var strFieldName = oParam.oDoc.getNthFieldName(i);
            if ((null == oParam.aFields || bMemberOf(strFieldName, oParam.aFields))
                && (null == oParam.strXclField || strFieldName != oParam.strXclField)
                && (oParam.oDoc.getField(strFieldName).type != "button"))
                if (bNeedTab)
                    if (oParam.bFieldNames)
                        strNames += "."; // I changed these two lines so the separator is a period instead of the default tab
                    strValues += ".";
                if (oParam.bFieldNames)
                    strNames += strFieldName;
                strValues += oParam.oDoc.getField(strFieldName).value;
                bNeedTab = true;
        if (oParam.bFieldNames)
            return strNames + "\n" + strValues;
        else
            return strValues;
    try
        if ( app.viewerVersion >= ADBE.PMD_Need_Version )
            event.value = strTabDelimited({oDoc: this, aFields: ["EMPID", "FormName", "EMPSSN"], bFieldNames: true});
        else event.value = " ";
    catch (e)
        event.value = " ";

  • Getting remote context to "s1" is toggling between "s1" and "s2"

    I'm on WLS8.1SP4.
    I have an app that runs on my admin server, which communicates to a custom mbean hosted on my cluster (managed servers "s1" and "s2"). Some of the operations in the app send the same message to both "s1" and "s2", and some of the operations target either "s1" or "s2".
    Each time the app needs to connect to the mbean on a specific server, it gets the remote context to the server, using the Environment object, setting the provider URL to the URL for that server (I've watched this in the debugger). From that remote context, it does the JNDI lookup, gets the RemoteMBeanServer object, builds the ObjectName for the attribute (most of the calls are just attribute get/set calls), and then calls "getAttribute()" on the remoteMBeanServer. This all seems ok.
    Here's where something goes wrong. What I see happening is very odd. When the application first starts, it makes a set of calls specifically to "s1" and "s2". This first set of calls appears to be ok. However, when I make it go through the same set of calls again, all the calls that specifically build a URL for "s1" actually end up calling "s2". I can verify this by monitoring the debug output in the "get" methods in the mbean code. When I make it go through the calls again, it does them correctly. It very consistently toggles back and forth between "s1" calling "s1" and "s1" calling "s2".
    I'm at a loss to understand why this is happening.
    My admin server (where the main app is running) is Win2k Server, and the managed servers are Solaris 8.
    I've managed to repeat this on a different domain, but hosted on the same distribution and set of servers.
    I filed a ticket for this, and the engineer is working on building a test case to see if they can repeat this.
    I tried one experiment they wanted me to try, by adding the admin server to the cluster, effectively making the main app communicate to "s1", "s2", and "adminServer". What I saw happen with this configuration is that calls to "adminServer" always went to "adminServer", and the same with "s2". The calls to "s1" continued to toggle between "s1" and "s2".

    Minor clarification: I realized that the domain this is on is actually running 8.1SP2 (not SP4).

  • I cannot toggle between front and rear cameras on my iPad 4; any ideas?

    I cannot toggle between front and rear cameras on my iPad 4; Any ideas?

    Make sure IOS is updated to latest version
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings

Maybe you are looking for