Monitoring changes in form

Hey all,
Got an easy one for you guys.
I'm working with the composer to create a bunch of forms. I've got an options screen and I want to know what's the best way of monitoring changes so the OK and CANCEL buttons work accordingly.
Cheers.

I don't think there is a "best" way, as usual in such questions...
The conditions to enable or disable buttons depending on GUI state can be pretty complex. I am a first believer that the GUI should provide hints (like disabling buttons that cannot be used in a given context) rather than "punish" the user by offering all options then telling her she cannot do a given action because some conditions are not fulfilled (like we still see too often in user interfaces, particularly the Web-based ones...).
But there is no perfect recipe for this, because conditions are varied and can be complex. In general, you have to watch text field input (is it correct, non empty, following the given rules like excluding some chars in a file name, etc.), list selection (at least one selected, no more than n selected, etc.), check box states that can exclude themselves (sometime radio buttons are better in this case), and so on.
It might be easier to disable all buttons doing an action (load, save, delete, rename, OK, etc.) then to enable them only when the conditions are meet (something in the tree is selected OR something have been typed AND user selected a folder where she has a right, etc.). Such GUI asks for lot of testing, too...

Similar Messages

  • Dynamic Action On change tabular form question

    Hi guys!
    I've wanted to add dynamic action on change (tabular form) to execute PL/SQL which checks if column of the tabular form has changed and if yes it changes walue of text field to Y or N. It doesnt work...and I don't know why. If I create validation with this PL/SQL it works. Can you help?
    DA:
    On change - Tabular Form
    PL/SQL;
    DECLARE
       nazwa     VARCHAR2(4000);
       counter   NUMBER := 0;
    BEGIN
       FOR i IN 1 .. apex_application.g_f08.COUNT
       LOOP
        SELECT NAZWISKO INTO nazwa FROM SPR_META.M_UZYTKOWNICY WHERE NAZWA_UZYTKOWNIKA = apex_application.g_f02(i);
          IF wwv_flow_item.md5(nazwa) <>  wwv_flow_item.md5(apex_application.g_f08(i)) THEN
            counter := counter + 1;
          END IF;
       END LOOP;
       IF counter > 0 THEN
       :P5_IS_TABULAR_FORM_CHANGED := 'Y';
       ELSE
        :P5_IS_TABULAR_FORM_CHANGED := 'N';
      END IF;
    END;Page items to submit: P5_IS_TABULAR_FORM_CHANGE
    What's wrong?
    With regards,
    PsmakR

    Region static id shouldn be in bracketsYou missed the '#' informt of the region id.
    why my original PL/SQL process did not work
    FOR i IN 1 .. apex_application.g_f08.COUNTThis works only when the application array has values and that happens only when the page is submitted.When you submit the dynamic action , it isn't.
    This script combined with script to detect changes makes apex page running very slowIf you use that PLSQL code(assuming it works as expected) , then its going to take a server request every-time you change a field in the tabular form and loop though all the array values(if they would be submitted before) and recalculate and compare the checksums . Isn't that going to be very inefficient.
    As for that JS code, it only runs at the client side. You can do all the server side checks on submit, when the user expects some delay due to processing.

  • How to change the form of a COPA report?

    Hi,
    I want to change the form of a COPA report. How can i do that?
    Moderator: Please, search SDN

    Save it back.
    InfoObject.save or InfoStore.commit(InfoObjects).
    Sincerely,
    Ted Ueda

  • How do I change a form created by a departed employee?

    How do I change a form created by a departed employee?

    Some of those things involves using the various form field tools that are available in Acrobat 7 Pro (but not Standard). More information on working with forms is in the help doc.
    Moving text that's part of the regular page contents can be difficult or impossible. Deleting things is easier, but still may be difficult to get everything just as you want. The ideal way to make such changes is to change the source document and generate a new PDF, and then in Acrobat replace the old pages with the new (Document > Replace Pages). Any fields and other annotations, bookmarks, code, etc. will be retained.

  • Display FirstName and Last Name on change password form

    Hi,
    I have to display FirstName and Last Name in change password form instead of DN of the user the below syntax is displaying complete DN.
    resourceAccounts.currentResourceAccount[$(name)].accountDisplayName, would appreciate if anybody can guide me on this.
    Thanks

    Hi,
    For anyone searching how to do this, I've modified the Change User Password Form to contain a user's first and last names. As the User view is not accessible from this form, I added the following:
          <Field name='fullname'>
            <Display class='Label'>
              <Property name='title' value='Full Name'/>
              <Property name='value'>
                   <rule name='EndUserRuleLibrary:getRealName'>
                       <argument name='accountId' value='$(resourceAccounts.id)'/>
                   </rule>
              </Property>
            </Display>
            <Disable>
              <or>
                <ref>answersVerified</ref>
                <isnull>
                  <ref>resourceAccounts.id</ref>
                </isnull>
              </or>
            </Disable>
          </Field>      I'm not at all sure this is the best way of accomplishing this, but I couldn't find forum search results that would allow me to display additional user attributes on this form.
    Hope it helps!
    Nick.

  • Changing the form name in a .js file

    hi,
    I am trying to use .js files instead of script in the jsp page with the use of
    <script src="root/scripts/foo.js"></script>.
    This foo.js has got the functions which access the information of the form in which they are included. So if I specify a dummy form name in the script, while a page (say "thisPage.jsp" with a form name "thisForm")is loading I would like all the references in the javascript file which are like this document.someFormName.---- to document.thisForm.--.
    How do I do this.
    regards,
    f

    actually, what you asked is completely a Javascript question. There's nothing JSP related about it. Nothing.
    Your actual question, the one you actually posted, was answered correctly. If your question was wrong, then that's not our problem.
    What does concurrent users have to do with anything anyway? Are they all using the same PC and browser instance at the same time? I doubt it. All the code you are referring to is Javascript code, and that will only run in the browser, not on the server, so concurrent user actions have nothing to do with it.
    If you want to change the form name in JSP, then you can do so when writing the page:
    <form name="<%= theFormName %>" action="..." method="POST">
    Otherwise, 'document.'+name ..., eval(), all that is Javascript, not JSP, has nothing to do with JSP or other users.
    So in conclusion, I don't think it's us people that posted answers interpretting things wrong, it's you who doesn't have any idea what he's doing.

  • Authorization For :Monitoring Changes done by User .

    I am not abe to monitor changes done by user in Delivery as well as billing so kindly suggest.
    For Billing:I went to environment-->Changes:Getting msg:Authorization Object s_scd0_all not assigned.
    For Delivery:Changes field apears Grey Even if changes are done.
    Edited by: Pritesh kumar on Apr 30, 2010 9:15 AM
    Edited by: Pritesh kumar on Apr 30, 2010 9:15 AM

    Hi pritesh,
    For this you need to co ordinate with ur Basis Team. First you need assign this Authorization Object with respective Field and Values to ur respective SD Role which is assigned to your User Id by using T.Code PFCG
    To Check Role Go To SU01- User ID Tab Role here u need to check the roles.
    Delivery Changes T.Code: VL22
    Invoice Changes  : Environment - Changes
    Object     Field      Value (interval)
    S_SCD0     ACTVT      08
    Regards
    Durga Sana

  • How to monitor changes in a directory

    Hai
    I want my program to listen to a directory and monitor changes made.
    That is , when ever a new file comes in the directory , i need to copy that file to another directory specified.
    How can i do it ?

    poling seems to come to mind and keep track of what was in the directory the last time. Look at the File object, you'll be using it a lot.

  • Changing adobe forms name while saving

    hi,
    i have made an application in which i am generating pdf form but while saving a default name 'f' is appearing which i need to change. I am unable to change pdf form name.
    Plz help.
    thanks

    I have no solution for you but this forum is related to FPM discussions. i am not sure you posted in a right forum.
    requesting moderator to (re)place this to right forum.

  • INTERNAL ERROR in Change Request form of an employee in MSS on EP 5.0

    Hi All,
    Need some urgent help regarding an issue with Change Request forms in MSS business package deployed on EP 5.0.
    Iam getting an error message as "Internal Error" whenever iam trying to open a Change Request form for an employee in MSS in EP 5.0.
    The Change Request form basically Triggers a Workflow in the backend.
    any help regarding the same will be really appreciated.
    Regards,
    Shailesh

    resolved

  • Monitor changes in mm03 classifications

    Hello,
    Does anyone know how can I monitor changes that someone did in classification in tranz' mm02.
    I want to know what was the change, who did the change and when.
    This doesn't show on environment - display changes.
    thank you.

    Hi.
    I also tried to change the classification for one material master via MM02 in my system but i am also not able to see them in CDHDR or in CDPOS tables as well i tried to see it in ESTMJ table but i failed...
    Please let us know if any body knows the answer for this.. I didnt find any SNote for this (as i have searched).
    Or might be you need to Create a SAP note for this.
    Regards,
    Ninad Kshirsagar

  • Question do change in all language necesary while changing any form EN

    hi
    i want to know whether if we are changing any form in any language do the changes are necesaary to do for all languages line EN or chinges or japenese
    if the form exists in that language
    if we do nt do what id implication or complication for that
    regards
    arora

    hi Atish
    what i mean is that the form exists in two diffreence languages
    so for any change do i need to make changes in all languages
    as if i do in one language its not reflected in another languages manuyally we have to do
    arora

  • Capture data from Change Password form

    Hi All,
    I am trying to capture an error in the "Change Password Form". This error gets generated because of a custom java API call I make in the form. I want to show the error on the "Change Password Results" page. I tried to set the error message as a request attribute, but it seems the attribute is lost somewhere during the transit to changePasswordResults.jsp. I even tried to get the request attribute from "Change Password Workflow", but that didn't work either.
    Could anyone suggest me if we can set a variable/attribute/parameter from the "Change Password Form" so that I can use it in a later form/workflow/JSP?
    Thanks
    Edited by: bibs22 on Jun 12, 2008 5:46 PM

    It's not very well documented but have a look at http://docs.sun.com/app/docs/doc/820-5821/bvbih?l=en&a=view&q=baseContext in the section at the very bottom titled "Using the variables Attribute".
    You can define a baseContext in your form that will allow you to get access to the workflow variables.
    For example:
    <Form name="My Form" baseContext='variables'>
      <Field name=":variables.myworkflowvariable">
      </Field>
    </Form>

  • HT1918 It will not allow me to changer my form of payment. I have tried many times. Any ideas?

    Itunes will not allow me to change my form of payment. Any ideas?

    I purchased it from my University bookstore and the attending clerk was no better informed than was I.
    The form is required to be infilled in order to receive the serial number necessary for installation of the software
    After five hours of trying, I was able to overcome the flaw in the form, as it appeared on the Acrobat website, and
    complete the two pull-down menus indicating the State in which I live.
    I called Adobe Customer Care for assistance and had to wait two hours for a return call, and by the time the
    call came though I had found that the website form allowed me to pull-down for the State of location.
    Adobe is an uncaring vendor, once it has your money in hand.

  • Change Standard form in SDK

    Hi all,
    I want to change standard form in B1. So how to do it?
    Please send links for samples or study material.
    Thanks in advance

    Hello,
    U can write ur codes in Form load event of that particular form.
    1.U can add additional items
    2.U can make invisible existing items
    Try
                If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.Before_Action = False And pVal.FormType = 672 Then
                    sboForm = SBO_Application.Forms.Item(FormUID)
                    Dim sboItem2 As SAPbouiCOM.Item
                    Dim sboItem3 As SAPbouiCOM.Item
                    sboForm.DataSources.DBDataSources.Add("OITT")
                    sboItem = sboForm.Items.Add("slsText", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                    sboItem2 = sboForm.Items.Item("10000037")
                    sboItem.Width = "121"
                    sboItem.Left = sboItem2.RightJustified + 171
                    sboItem.Top = sboItem2.Top
                    sboET = sboItem.Specific
                    sboForm.DataSources.UserDataSources.Add("UDCFL", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
                    Try
                        Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                        Dim oCons As SAPbouiCOM.Conditions
                        Dim oCon As SAPbouiCOM.Condition
                        oCFLs = sboForm.ChooseFromLists
                        Dim oCFL As SAPbouiCOM.ChooseFromList
                        Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                        oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                        oCFLCreationParams.MultiSelection = False
                        oCFLCreationParams.ObjectType = "2"
                        oCFLCreationParams.UniqueID = "CFL1"
                        oCFL = oCFLs.Add(oCFLCreationParams)
                        oCons = oCFL.GetConditions()
                        oCon = oCons.Add()
                        oCon.Alias = "CardType"
                        oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                        oCon.CondVal = "C"
                        oCFL.SetConditions(oCons)
                    Catch ex As Exception
                        MessageBox.Show(ex.Message)
                    End Try
                    'sboET.DataBind.SetBound(True, "", "UDCFL")
                    sboET.DataBind.SetBound(True, "OITT", "U_CUSTID")
                    sboET.ChooseFromListUID = "CFL1"
                    'sboET.ChooseFromListAlias = "U_Cust"
                    sboItem = sboForm.Items.Add("slsText1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                    sboItem2 = sboForm.Items.Item("5")
                    sboItem.Width = "120"
                    sboItem.Left = sboItem2.Left + sboItem2.Left + 191
                    sboItem.Top = sboItem2.Top
                    sboET = sboItem.Specific
                    sboForm.DataSources.UserDataSources.Add("UDCFL1", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
                    Try
                        Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                        Dim oCons As SAPbouiCOM.Conditions
                        Dim oCon As SAPbouiCOM.Condition
                        oCFLs = sboForm.ChooseFromLists
                        Dim oCFL As SAPbouiCOM.ChooseFromList
                        Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                        oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                        oCFLCreationParams.MultiSelection = False
                        oCFLCreationParams.ObjectType = "17"
                        oCFLCreationParams.UniqueID = "CFL2"
                        oCFL = oCFLs.Add(oCFLCreationParams)
                        '' Adding Conditions to CFL1
                        'oCons = oCFL.GetConditions()
                        'oCon = oCons.Add()
                        'oCon.Alias = "CardType"
                        'oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                        'oCon.CondVal = "C"
                        'oCFL.SetConditions(oCons)
                    Catch ex As Exception
                        MessageBox.Show(ex.Message)
                    End Try
                    sboET.DataBind.SetBound(True, "", "UDCFL1")
                    sboET.DataBind.SetBound(True, "OITT", "U_SALOR")
                    sboET.ChooseFromListUID = "CFL2"
                    'sboET.DataBind.SetBound(True, "OITT", "U_Order")
                    'sboET.ChooseFromListAlias = "U_Order"
                    sboItem = sboForm.Items.Item("10000032")
                    sboItem2 = sboForm.Items.Item("1")
                    sboItem.Left = sboItem2.Left
                    sboItem.Top = sboItem2.Top - 30
                    sboItem = sboForm.Items.Add("slsLabel", SAPbouiCOM.BoFormItemTypes.it_STATIC)
                    sboItem2 = sboForm.Items.Item("slsText")
                    sboItem3 = sboForm.Items.Item("10000037")
                    sboItem.Left = sboItem2.Left - 167
                    sboItem.Width = "80"
                    sboItem.Top = sboItem3.Top
                    sboItem.Height = "14"
                    sboItem.LinkTo = "slsText"
                    sboLbl = sboItem.Specific
                    sboLbl.Caption = "Customer"
                    sboItem.Visible = True
                    sboItem = sboForm.Items.Add("slsLabel2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
                    sboItem2 = sboForm.Items.Item("slsText1")
                    sboItem3 = sboForm.Items.Item("5")
                    sboItem.Left = sboItem2.Left - 99
                    sboItem.Width = "80"
                    sboItem.Top = sboItem3.Top
                    sboItem.Height = "14"
                    sboItem.LinkTo = "slsText1"
                    sboLbl = sboItem.Specific
                    sboLbl.Caption = "Sales Order"
                    sboItem.Visible = True
                    Dim oLink As SAPbouiCOM.LinkedButton
                    sboItem = sboForm.Items.Add("DSCardCode", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
                    sboItem2 = sboForm.Items.Item("slsText")
                    sboItem.Top = sboItem2.Top
                    sboItem.Left = sboItem.Left + 140
                    sboItem.Width = 20
                    sboItem.LinkTo = "slsText"
                    oLink = sboItem.Specific
                    sboItem.Visible = True
                    oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner
                End If
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End TryThis some sample code u can refer this but dont belive full
    If u r satisfied give points..
    By
    Firos.C
    Edited by: firoz101 on Jul 31, 2009 7:03 AM
    Edited by: firoz101 on Jul 31, 2009 7:04 AM

Maybe you are looking for

  • Update iPhoto on multiple iMac's

    Hi, I have several new iMac's all with OSX 10.8 and iLife 11. I downloaded the iPhoto 9.4.3 but cannot install it; the systems tels me i must install with the App store. With 4 machines that would mean 4 times a more than 1 GB download? Is there a wa

  • How to embed JavaScript in a DynPro View?

    Hello, I hava a standard DynPro application. I would like to add a link UI which by pressing it will activate a JavaScript function. Can someone please show me how to do it and ingeneral how to embed JavaScpript in a DynPro View?

  • Rendering a dynamic image(blob) in a BI Publisher Report via an RTF templat

    Been working on this for a while and now at a dead end hoping the experts can direct me to try something new. There is lots in the forums on blobs and displaying in reports and from it all I have gleaned that I need to encode the blob in Base64 and t

  • QuickTime v. 7.0d0 is installed iTunes requiers Quicktime v.7.0.3 or later

    please reinstall iTunes The above message is driving me crazy. I have uninstalled and reinstalled several times - but keep getting this message. I have looked for a quicktime only download - but have yet to find one. Any one with some help - thanks J

  • Borderless 8.5x11 on DeskJet 9800

    I've seen this question asked in various forms all over the forums and net, but it's rarely this printer with this paper size, and it's rarely this printer and these dimensions. So, here's hoping someone here will have an answer for it. I am having a