Modal Form between the Form Events

I create a modal form which is like the message box but with a textbox in it. What i mean here is, the modal needs to hold the form event while it's adding an Sales Order record.
I have tried the Modal Form method as shown in SDK Sample 12.ModalForm. However, i found the Sales Order is added before i click any button in the Modal Form.
So, can anyone give me any advise how to work with it.......
Thanks a lot~~

Hi,
Solution I would try is to catch FormItemEvent, EventType = et_ITEM_PRESSED, ItemUID = "1".
With this you can catch the OK/Save button. If you use the BeforeAction you can even Cancel (bubbleEvent) adding the record if the user cancels your modal form.

Similar Messages

  • How to move cursor to a particular field in a form when the form opens

    Hi All,
    Using Forms Personalization how to move the cursor to a particular field in a form when the form opens.We are using Oracle Applications 11.5.10.2
    Please let me know as soon as possible.
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Satya,
    Try the following
    Open the forms personalization window
    Seq: 10
    description : Move cursor
    Level : Function
    On Condition Tab-
    Trigger Event : when-new-item-instance
    Trigger Object:- (The field on which the cursor is appearing now when you open the form ) for eg : If I am working on a vendor Master form in that case it would be -VNDR.VENDOR_NAME_MIR.
    Processing Mode : Both
    Context:
    whatever context you want to do it respoansibility level or user level.
    On the Actions Tab
    Seq: 1
    Type: Bulletin
    Bulletin type : GO_ITEM
    Argument : The field to which you want to navigate to. (In my case I want to navigate to Alternate name on the Vendor master form so it would be VNDR.VENDOR_NAME_ALT_MIR).
    see if it works for you.
    cheers,
    Ankur

  • How can I fill in a form, save the form such that it cannot be further altered, and email it as it was saved?

    How can I fill in a form, save the form such that it cannot be further altered, and email it as it was saved?  I created a form with 5 fields.  It is a form letter that is intended as a receipt for funds received.  I want to fill in the date, name, amount received, etc., save the form with inserted data fields so they can't be further altered, and be able to email it as a complete unalterable PDF document.  What I'm doing now, is filling in the fields, printing it, scanning it, and emailing it as an unalterable document.  The document was created on a Mac using Adobe Acrobat Pro version 10.1.13.  The document is filled in on a PC that only has Adobe reader on it, printed, scanned and emailed as an attachment. There must be a better way! 

    If you have access to a ASP.net Web Server, then the submission could be FLATTENED with FDFToolkit.net and emailed without client-side email software by only using Adobe Reader.
    For more information check out the following websites:
    http://www.pdfemail.net/examples/
    http://www.fdftoolkit.net/examples/

  • How to get absolute path of a form within the Forms

    Aslam o Alikum (Hi)
    How to get absolute path of a form within the Forms 6i or 9i
    For example
    i am running a from "abc.fmx" from C:\myfolder directory
    can i get the form path 'C:\myfolder' by calling any any function from "abc.fmb"

    There is no direct call that will always work. What you need to do is call get_application_property(current_form). This may have the full path in it, depending on if that path was defined when the form was launched. If there is no path, then you need to use TOOL_ENV.GETVAR to read the Forms<nn>PATH and the ORACLEPATH, parse those out into individual directories and then check for the FMX in each.
    I already have some code to do all this for you see:
    http://www.groundside.com/blog/content/DuncanMills/Oracle+Forms/?permalink=4A389E73AE26506826E9BED9155D2097.txt

  • How to show Quick View form on the Form's Header instead of in form body?

    Hi Experts,
    I am having requirement to show the Quick view form on the form's header in MS CRM 2013. Is it possible?
    If yes please help me out to achieve this.
    Thanks
    Baji Rahaman

    Thanks Andrii for quick response.
    I am having look up control on the form and I would like to show the related information in header.
    Is there any alternative way to achieve this.
    Thanks
    Baji Rahaman

  • Excel cannot open the new form. The Form contains schema validation errors.

    i am running the approval workflow on a document library, while trying to open Excel
    file i get the error.
    Excel cannot open the new form. The Form contains schema validation errors.
    Detailed error:
    Element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}Body' is
    unexpected according to content model of parent element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}SharePointListItem_RW'.<o:p></o:p>
    Expecting: {http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}WorkflowLink,
    {http://schemas.microsoft.com/office/inf....
    neeraj

    Hi,
    According to your description, my understanding is that when you are running approval workflow and opening the Excel file, then it will occur the error above.
    For a better troubleshooting, I suggest you can try to create a new normal excel file and then run the workflow and open the file to test if it works. It will help to figure out if this is the file itself issue or the SharePoint issue.
    Also, please provide some more detailed information such as screen capture, it will easier to find the root cause of the issue.
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to refresh the Expired Login Form on the onChange event of the password

    Hi,
    In the Expired Login Form I have places a custom label. My requirement is that on the onchange event of the password field the label color should change to orange if the entered password meets the password policy else red.
    I am trying the following code :
    Custom label:
    <Field name='Custom Label'>
    <Display class='Label'>
    <Property name='value' value='Custom label 1'/>
    <Property name='noNewRow'>
    <Boolean>true</Boolean>
    </Property>
    <Property name='color'>
    <block>
    <cond>
    <isTrue>
    <invoke name='checkStringQualityPolicy' class='com.waveset.ui.FormUtil'>
    <rule name='EndUserRuleLibrary:getCallerSession'/>
    <s>Default Password Policy</s>
    <invoke name='decryptToString'>
    <ref>resourceAccounts.password</ref>
    </invoke>
    <map/>
    <list/>
    <s>Configurator</s>
    </invoke>
    </isTrue>
    <s>orange</s>
    <s>red</s>
    </cond>
    </block>
    </Property>
    </Display>
    </Field>
    And on the password field i gave following in the onChange event:
    submitCommand(this.form, "Recalculate")
    But the above command is not refreshing the page. Instead on the onChange event its going back to the login.jsp.
    Any idea how to resolve the above issue.
    Thanks.

    I got it working as below but i dont know is this best practices?
    <%
        if(session.getAttribute("afterSet") != null){
             %>
        <div style="visibility:hidden">
          <iframe NAME="iframe1" src="/WebApplication2/TestController?fileDownload=test.pdf" WIDTH="40" HEIGHT="40"></iframe>
        </div>
        <%}       basically first time user visit the jsp page session attribute "afterSet" will be null so it wont create the hidden iframe tag . after it dispatched to the servlet controller and successfully processing the record it will set "afterSet" properties to some value and dispatch to itself
    after that it will popup/dialog box for user to save the pdf.
    this way the page already refreshes itself and wont have problem double clicking thing and so on

  • Loaded Forms on the screen and the underline link between the forms-Callee

    Hi Dear Experts,
    I am wondering wehter you would be able to shed some lights on the follwoing and on how SAP handles below situations:
    In SAP when loading up two documnts and try to add items to each using 'List of Items' screen, the systme is clever enough to return back the item code to the relevant screen.
    I need to know that how SAP is holding this trail of formids when returning the select item code to fill in the document lines on the origianl caller doc.
    Is it some kind of  internal array structures or it could be a table in the database which contains the list of loaded forms on the screen and the revelant callee and caller ids.
    Many thanks in advance.
    Maryam Gharib.

    Hi Maryam Gharib,
    You may check this first: how to work with multiple forms
    Thanks,
    Gordon

  • Change the value of a field in a form when the form is displayed

    Hello
    I have a report which has a link to a form for updating the records. I have used a link to the form from report which displays the the record to be updated i.e it gets default values from the report. I need to change one of these values at the time of displaying the form. The set_value in the 'before displaying the page' section doesn't change the vaue displayed in the form. I tried in other 'Advanced pl/sql' sections provided but didn't succeed.
    Thank you
    Jayasree

    hi,
    let's call the new value u want to set "NewValue"
    insert this code in the before displayin' the page
    htp.p('<script language="Javascript1.1">
    function defaultValue(fieldname)
    var thefield;
    for( var v=0; v < document.forms[0].elements.length; v++)
    // get the right field
    if (document.forms[0].elements[v].name.indexOf(fieldname) >= 0 )
    thefield = document.forms[0].elements[v];
                        thefield.value='''||NewValue||''';
    break;
    </script>');
    in the after displaying the page section call the function above with the appropriate field:
    htp.p('<script language=javascript1.1>
    defaultValue(''Field_Name'');
    </script>');
    where Field_name is the name of the field u want to change the value!
    Mohamed

  • How to send an email without attaching the form or the form data?

    I'm creating a form that will have an email button to send an allert that the form was filled out. So far I got it to work based on another example on this forum, but it is attaching the file to the email. I don't want that, all I need is to send an email with a predefined Subject line. Here is the test form I'm trying to tweek:
    http://dl.dropbox.com/u/5098048/Forum.pdf
    Thanks a lot!

    Hi,
    you can find documentation for Designer under this website
    http://help.adobe.com/en_US/livecycle/10.0/documentation.html#task=4,5&module=2
    In Designer you can use the JavaScript API of Acrobat.
    So the Devnet for Acrobat is also a good source.
    http://www.adobe.com/devnet/acrobat.html
    http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf

  • I would like to send a form with the form fields locked but with the links still active.  Any Ideas?

    I'm new to creating fillable forms and I feel that this appoach would help to create HVAC proposals in quickly by editing a few fields within a PDF. I would like to then email the form that I created to my client, but I do not want them to be able to change the fields such as the cost of the job, yet I do want them to be able to open links that are embedded in the proposal.  So far my approach has been to send them a flattened copy which essentially make the entire PDF stagnant. Any ideas would be much appreciated!

    You can use the free selective flattening tool that's available here: http://www.uvsar.com/projects/acrobat/flattener/

  • Does Firefox facilitate my filling out of online forms when the form asks for standard information such as name, address, email, phone number. I just switched over from Goole Chrome which had this feature.

    Google Chrome would offer dropdown prompts for this information as I started entering the information. I would simply highlight the correct prompt and hit enter and the information would be entered throughout the online form.

    See:
    *Tools > Options > Privacy > History: "Remember search and form history"
    *https://support.mozilla.com/kb/Form+autocomplete
    *Autofill Forms: https://addons.mozilla.org/firefox/addon/autofill-forms/
    *http://autofillforms.mozdev.org/drupal/content/main-page

  • Cannot submit dynamic form when the form go to the same URL

    Hi,
    I am using Safari 5.1 (7534.50). I am having problem on dynamic form submission.
    When I click on the button 1 on the following form, it will open a page in a new window.
    After that, if I push the button 2, the form cannot be submit and it won't open a new page.
    If I push the button 1 again, the form cannot be submit again either.
    <form target="_blank" action="http://www.domain.com" method="get" name="prForm">
    <input value="0" name="test">
    </form>
    <a href="javascript:submitForm(1);">Submit Button 1 </a>
    <a href="javascript:submitForm(2);">Submit Button 2</a>
    <script type="text/javascript" language="javascript">
    function submitForm(val) {
        var pf = document.prForm;
        pf['test'].value = val;
        pf.submit();
    </script>
    This behaviour has been considered as a bug in Google Chrome and has currently been fixed.
    I wonder if Apple will fix the same bug in the future?

    Might make this easier to answer if you can see the page in question:
    http://www.whataretheyreallylike.com/review.html
    Your thoughts, please?

  • After someone responds to a form can the form fields remain active?

    I have created a form in Acrobat Pro and uploaded it to Forms Central and distributed it.  When I download the response in PDF the form fields are not active. is it possible to keep the fields active and if so, how do you make that happen?

    Hi;
    All of the fields in the downloaded "response PDF" are marked "Read Only".  You can change this using Acrobat by editing the form and unchecking the "Read Only" box in the form field Properties dialog box.
    Thanks,
    Josh

  • Need to update Object permissions for a form in the form designer

    Hi Experts,
    I created a new form and attached to a process definiton.
    Later created a new version and changed some properties for the attributes.
    somehow I missed the object permissions for the system administrator. not even a single permission is checked out of "Allow Insert, Allow Update and Allow Delete". I tried to assign the permissions by creating a new verion. when i try to save it is saying " YOU DO NOT HAVE ENOUGH PERMISSIONS TO ADD THIS OBJECT". I tried to assign the permission for the form to the SYSTEM ADMINISTRATORS group from web console but, there also I got the same error. can anyone please help me to change the Object permissions if you have come across this problem.
    Edited by: 804064 on Oct 21, 2010 6:07 AM

    If I import the older version of the form, The permissions are back.
    the second alternate solution is
    Export the form and in the XML edit the following values
    Just change “0” to “1” for insert, update and delete.
    <DataObjPermission>
    <SEL_DELETE_ALLOW>1</SEL_DELETE_ALLOW>
    <SEL_UPDATE_ALLOW>1</SEL_UPDATE_ALLOW>
    <SEL_UPDATE>1289570464000</SEL_UPDATE>
    <SEL_INSERT_ALLOW>1</SEL_INSERT_ALLOW>
    <UGP_KEY UserGroup = "SYSTEM ADMINISTRATORS"/>
    </DataObjPermission>

Maybe you are looking for