Form with onchange function

I want to give option like pay by credit card or check.
If one select credit card in select option it opens credit card related form inputs/Check than check related form inputs before submiting form.
I would start like
<cfform action"" method=""Post>
<cfselect name="paymenttype" query="test" display="paymenttype" value="paymenttype">
<option value ="other">Other</>
</select>
<cfif form.paymenttype = "Credit Card">
<cfinput type="Test" name="creditcomp">
<cfelseif form.paymenttype = "check">
<cfinput type="text" name="bankinfo">
</cfif>
<input type="submit" value="Submit"></cfform>
I belive I need to use Java script onChange event but I never did Java script before, can any one help me on it?
I have been using cfcase and submiting form at each and than made session variable to generate appropriate result but now I wanrt to do some change.

For learning js, I recommend the book, Teach Yourself Javascript in 24 Hours.  It's how I learned.  There are also tutorials on webmonkey.
For what you are trying to do specifcally, I would put the credit card and bank stuff in separate divs and use js to show and hide them.  Google "javascript show hide"  to find code samples.

Similar Messages

  • Form with Folder Functionality and Tab Pages

    Refering here the original link to increase the visibility:
    Apps Form with Folder Functionality and Tab Pages

    DT1977,
    In your referenced post, you indicate that you are trying to create an "APPS Form". Perhaps, you should post your question to the Enterprise Business Suite (EBS) forums. This forum is for non-EBS Forms questions.
    Craig...

  • Form with webutil functions. How identify if user is using native internet

    Hello,
    I have one form with some webutil functions. How can i identify if a user is using the form with native internet explorer?
    If a user with jinitiator use the forms, its ok, but when a user use native internet explorer, he gets error orcle.forms.webutil.fileTransfer bean not found. WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work.
    When the user use internet explorer native, I want disable the webutil function before generate a file on the application server and then download to a client machine.
    Im using Forms10g and Forms10gR2.
    Thanks

    do you have two different config-sections for the two modes?
    If so, you could either place a different value for each one in the otherparams-tag and read that at runtime, or use a different env-fiel and set some variable with different values for each config in there and read it via TOOL_ENV.

  • Using Adobe Form with SRM Functionality.

    Hi Friends,
    Our client wants to achieve the total functionality of SRM Purchase Order and Shopping cart through Adobe Form.I would like to know if any of you have come across such a scenario where Adobe Form has been used to replicate SRM purchase Order and Shopping Cart functionality.
    It would be a great help to us if you kindly share your experience of the above scenarios.
    Thanks in advance.
    Best Regards,
    Koushik

    Note 1264423 - Customizing for print forms in SRM 7.0
    Summary
    Symptom
    New functionality/Enhancements provided in SRM 7.0 for print forms is only
    available in the SAP Interactive forms by ADobe and is not available in
    Smartforms delivered by SRM.
    More Terms
    PDF based forms, ADB, Adobe forms, Confirmation, BBP_CONF_ADB, SAP
    Interactive forms by Adobe, Output, SRM-EBP-CA-PRT, SRM-EBP-CGS
    Cause and Prerequisites
    All new enhancements or functionalities are supported only in SAP
    Interactive forms by Adobe which is delivered as part of the SRM 7.0. The
    Smartforms deliverd in previous verions would not have any new enhancements
    from SRM 7.0.
    So it is recommended to use the new SAP interactive forms By Adobe instead
    of the Smartforms for print and output in SRM 7.0.
    Solution
    The customizing required to switch to the new SAP interactive forms by
    Adobe are described avaiable as part of the customization documentation
    againt the IMG entries for Output:
    the documentation and the respecitive customizing can be accesed in the
    following manner:
    Step 1:
    Goto transaction SPRO -> SAP Reference IMG -> SAP Supplier relationship
    Management -> SRM Server -> Cross Application basic settings -> Set output
    Actions and output Format -> Define Actions for Document output.
    maintain the action defentions for all purchasing documents for which the
    new forms are intended to be used in the above mentioned customizing.
    Save the customizing
    Step 2:
    Goto transaction SPRO -> SAP Reference IMG -> SAP Supplier relationship
    Management -> SRM Server -> Cross Application basic settings -> Set output
    Actions and output Format -> Condition-Dependent Document Output.
    maintain the conditions for output for all purchasing documents for which
    the new forms are intended to be used in the above mentioned customizing.
    Save the customizing.
    For more details on each of the above mentioned steps access the
    corresponding documentation againt the respective customizing entry in
    SPRO.
    Release Status: Released for Customer
    Released on: 30.10.2008 11:23:10
    Priority: Recommendations/additional info
    Category: Customizing
    Main Component SRM-EBP-CA-PRT Document Output / Forms
    Valid Releases
    Software Component Release From
    Release
    To Release and Following
    SRM_SERVER 700 700 700
    regards
    Muthu

  • Create form with inside functions

    Hello members,
    i want to create a simple invoice form which has the adressline in the head, the positions in the middle and a footer with summary lines.
    Like an invoice.
    I have search several days in all forums, but i haven't found a simple explanation, how to use the printing options with printer friendly pages.
    Could anyone help for this ?
    I have found to create a report, which can marked with "printing = Yes" and then several tabs opens to modify the paper width and so on.
    But how to place some information in the header ?
    How to place some information in the footer
    How will i get a page break, when the positions are more than one page ?
    How it is working with these kind of simple printing forms ?
    Thank you for help with a simple "how to" document !
    Regards
    Frank
    Edited by: handwerk.net on 16.12.2010 17:28

    To do an invoice you will either need to:
    1) Work with XSL-FO to format your output so that FOP/Cocoon can format your output properly
    2) Get a copy of BI Publisher, take one of the existing templates and modify the layout to your requirements.
    3) Get a copy of pl/pdf, and hand generate your layout..
    My suggestion here is BI Publisher, since it has a Word based template editor you can use.. However it is rather pricey.. Less you are hosting with a 3rd part hosting company, I know of one that charges $50 a month to host apex apps and offers BI Publisher..
    Thank you,
    Tony Miller
    Webster, TX
    What if you really were stalking a paranoid schizophrenic... Would they know?

  • X-file with db function returning a rowtype to forms. Positional binding?

    How to explain this ...
    First things first:
    Forms [32 bits] Versión 11.1.2.1.0 (Producción)
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    Now the db testcase:
    I've got two schemas, quite similar, SCHEMA_A and SCHEMA_B
    Imagine the same table: mytable (colx varchar2, coly varchar2, colz varchar2) in both schemas,
    BUT in SCHEMA_B the order of the cols is not the same. In schema B it is
    mytable (colx, colz, coly).
    (Yeah, I know, I know, but leave it for the sake of the x-file)
    Let's suppose the table has only one row, and that I have a db function in both schemas such as this:
    function get_myrow return mytable%rowtype is
    l_row mytable%rowtype;
    begin
    select * into l_row from mytable;
    return l_row;
    end;
    Here, the forms testcase:
    I make a form, where I show the value in an item
    For example:
    :item := get_myrow().coly
    And now, the x-file:
    If I compile the form in the builder, connected as SCHEMA_A, when I run it in SCHEMA_B, the item shows colz value!!
    It is as if forms is doing some kind of positional binding in the fmx. Instead of asking for coly column to the record type variable, it shows "the second value" of the record type.
    Now, I will have to find this disordered tables and reorder them (dbms_redefinition? hints are welcome).
    Any thougts? Bug as feature?

    About the "select * is problematic" , I agree 99% of the times. But this time, as I'm storing the values in the rowtype variable, is the way to ensure that the estructure and the values fit.
    You said:
    What happens when your table changes (such as a new column) but your function hasn't been updated?  Your Function will produce an error because it can't handle the additional column.
    And it's just the opposite. My function will recompile itself, as the rowtype is perfectly capable of storing the values in the new rowtype.
    In fact, it's the MLBrown function the one that would produce an error if I change columns in the table, and that's the best case scenario, as the function could be lucky and work storing the values in the wrong places, leaving the bug hidden.
    Anyway, I understand this "select *" issue is arguable, so forget about the select * , I'll take it out of this thread with a more simple testcase:
    create table mytable (
    colx varchar2(10),
    coly varchar2(10),
    colz varchar2(10));
    Consider this "select free" version of the function:
    function get_myrow return mytable%rowtype is
      l_row mytable%rowtype;
    begin
    l_row.colx := 'a';
    l_row.coly := 'b';
    l_row.colz := 'c';
      return l_row;
    end;
    Forget also about schema_a and schema_b, I can reproduce it with just one schema!!!
    Now I build a form with just a button. When- button-pressed:
    message (get_myrow.coly);
    I compile and run it, and I get a b value. ok.
    Now I drop the table and recreate but like this:
    create table mytable (
    colx varchar2(10),
    colz varchar2(10),
    coly varchar2(10));
    Now run the form (without compiling) and see how the message shown is c !!!
    The result is different, depending on how whas the rowtype structure when I compiled the fmb.
    Are you indeed telling that is acceptable an escenary where I ask for get_myrow().coly value and I get colz value instead?
    How's that possible? Because somebody shortcutted in the fmx compiling process, and converted my call for named coly value to a call to "the second column of the record variable".
    I'm not asking for a numbered position , I'm asking for coly value, not for "the second column of the rowtype variable the day I compiled the form". Had I want a possitional binding, I'd use a frikkin varray.

  • I have a web form with the save function, which works well until another person is required to complete a part of the form.  Can the form link be sent to others?

    Some respondents need to save it part way through and send the form on to someone else to complete a section.  When they send the link the other people dont seem able to see the form with the content previously completed, rather a blank form opens up. Can this be fixed? if so how?

    thanks. We are having continuing problems - after 45 mins on to adobe help, the only suggestion given is to try a different browser.  unsurprisingly this does not work! I am using the email received - which has the 'retrieve form' box attached.  One user was able to save it once, went back later did some more, and saved (or so she thought) when she went back again, it was totally empty! 
    I have had really mixed results - some have used the form with no problem, whilst others have reported the same issue (using various browsers).  Any suggestions..... (i set 28 days, as the time to keep open, and all are within this time frame).
    amanda

  • Form with report Related

    Hi,
    I have created form with report.i want to apply the function like initcap,upper or lower apply changes portion of item.
    e.g when i click on pencil image to modify the value.item which holds the value.if i enter value in lower case.i want to make value in initcap format.how can i apply this function.
    Please help me to solve this problem.
    Thanks & regards
    Nisha

    Hi,
    First of all when do you want to make them Initcap? If its after submit, then you can handle it in your DML or at trigger level. If its before submit, you can go with JS.
    for those who prefer recursion over looping...
    <script type="text/javascript">
    function fnInitCap(pStr)
        var vReturn;
        if (pStr.indexOf(" ") != -1)
            // Initcap the first word
            vReturn = pStr.substring(0, 1).toUpperCase() + pStr.substring(1, pStr.indexOf(" ") + 1).toLowerCase();
            // Contains multiple words, call function recursively
            return vReturn + fnInitCap(pStr.substring(pStr.indexOf(" ") + 1, pStr.length));
        else
            vReturn = pStr.substring(0, 1).toUpperCase() + pStr.substring(1, pStr.length).toLowerCase();
            return vReturn;
    </script>and put following in item attributes..
    onChange="javascript:this.value=fnInitCap(this.value);"Regards,
    Hari

  • Adding mxml form with actionscript

    In my application, I have a form that is generated with an
    accodion and a repeater. The repeater is used to generate the
    number of forms needed based on the number of children in the xml
    dataprovider. Now what I would like to do is to add new forms with
    actionscript and a button. Can this be done? Here's to code:
    <!--Create an accordion for Contacts-->
    <mx:Accordion width="360" height="610" x="837" y="10"
    backgroundColor="#FFD897" cornerRadius="5" borderThickness="3"
    id="contactAccordion" creationPolicy="auto">
    <mx:Repeater id="repeat"
    dataProvider="{populateContactXML}" >
    <mx:Form xmlns:mx="
    http://www.adobe.com/2006/mxml"
    id="contactForm" width="360" height="585" borderStyle="none"
    backgroundColor="#E1E1E1" cornerRadius="5" borderThickness="3"
    label=" >
    <mx:FormHeading id="contactHeading" label="Contact
    Information"/>
    <mx:FormItem label="Contact Type" width="290" x="790"
    y="10">
    <mx:FormItem id="address1Item" label="Address 1"
    width="290">
    <mx:TextInput id="address1" change="onChange(event,
    event.currentTarget.repeaterIndex, 'Address_1')" width="183"
    borderStyle="solid" cornerRadius="5"
    text="{repeat.currentItem.@Address_1}" >
    <mx:Script>
    <![CDATA[
    public function onChange(event:Event, idx:int,
    str:String):void
    populateContactXML[idx]["@" + str] =
    event.currentTarget.text;
    trace("index = ", idx);
    tmptxt3.text = "index = " +idx;
    ]]>
    </mx:Script>
    </mx:TextInput>
    </mx:FormItem>
    </mx:Form>
    </mx:Repeater>
    </mx:Accordion>

    Hi,
    All you need to do is add a node (XMLList) to your
    populateContactXML object (make sure populateContactXML is a
    XMLListCollection and not an XMLList so that binding works
    flawlessly) on the click of a button.

  • Image upload in  Form with Report

    Hello
    I have created a table FA_CUST_DTL
    Column Name     Data Type     Nullable      Default     Primary Key
    CUST_ID NUMBER      No          1
    CUST_NAME     VARCHAR2(1000) Yes          
    CUST_ADD     VARCHAR2(4000)     Yes          
    MOBILE     NUMBER(12,0)     Yes          
    PHONE     VARCHAR2(15)     Yes          
    EMAIL     VARCHAR2(100)     Yes          
    SIGNATURE_IMAGE     BLOB     Yes          
    MIMETYPE     VARCHAR2(200)     Yes          
    FILENAME     VARCHAR2(400)     Yes          
    IMAGE_LAST_UPDATE     DATE      Yes          
    Then i created a page Form With report with the trigger . After Browsing , images are not showing in my report.
    Can u tell me any idea abt it plz help me its urgent for me.
    Regards
    Geet

    If you need to control height and width of your uploaded images, then you must use the APEX_UTIL.GET_BLOB_FILE_SRC function. Please refer to this documentation:
    [http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#AEAPI129]

  • How to use Adobe forms with F150 Dunning Run

    Hi,
    I want to use Adobe forms with the transaction F150 Dunning Run.
    How do I get the adobe form in customizing? I have put the FM 'FI_PRINT_DUNNING_NOTICE_PDF' in business transaction Event, BF31 - P/S modules of SAP app - 00001720, Fi-FI. But it is still not recognizing the ADOBE form.
    Any help is greatly appreciated.

    Hi,
    I am also working for calling custom adobe form instead of sapscript.
    While configuring BTE 1720, i noticed that configuring BTE only FI-FI application does not solve the purpose. You need to assign function module FI_PRINT_DUNNING_NOTICE_PDF for all Application Area Indicator.
    Adding to IS-PS will allow to print for customer.
    This solved my problem. But this setting is global so you need to take care of it.

  • Error in generating form with 6i

    I have installed designer 6i rel 2 with form developer 6i on NT
    4.0.
    When in design editor, I want to generate the form with generate
    module, the system generate "CDR-21600: A running Generator or
    Utility has failed."
    Also in action column writes: " It is possible that the internal
    cache is now in an inconsistent state. You are therefore
    recommended to close and restart the application."
    Could anyone tell me what is the problem and how to solve it.
    thanks

    Here is an document which describes some known causes of CDR-
    21600 errors. I hope it will help you.
    PURPOSE
    To describe some known causes of CDI-21600 errors and to
    suggest possible solutions and workarounds.
    SCOPE & APPLICATION
    This note was written for users of Oracle Designer releases 2.1.x
    and 6.0.
    CDI-21600 errors occur most frequently during Design Capture and
    when generating forms with the Forms and WebServer generators.
    Investigating CDI-21600 errors
    In Oracle Designer Release 2.1.2 and Release 6.0, this error has
    the form:
    CDI-21600 'A running generator or utility has failed'
    The Release 2.1.1 error message was: 'Generator or Utility throw
    an Exception'
    The CDI-21600 error message means that the generator is hitting
    an unhandled exception, also known as a GPF (general protection
    fault). The CDI-21600 error masks the underlying exception error.
    To see the real error do the following:
    1. Go into the Registry Editor (REGEDIT).
    2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
    3. Set EXCEPT_HANDLING to 0 (by default it is 1).
    Repeat the action that resulted in the error.
    Known Causes of CDI-21600 Errors and Possible Solutions
    Some of the reasons why CDI-21600 errors occur are listed below.
    1. A common cause of CDI-21600 errors is failure to install the
    necessary
    Developer patches.
    See [NOTE:64630.1] Developer Patches required to run
    Designer with Developer
    2. Check that Designer is running on a supported database. Also
    check that the
    TNS connection is correct.
    See [NOTE:60705.1] Designer Certification Matrix (HTML)
    3. Check for 'dangling' foreign keys, in other words FKs no longer
    owned by any
    table in the repository. Delete all invalid constraints.
    Invalid constraints may be created if you use the repository
    dump utility to
    dump and restore external foreign keys referencing tables
    shared into the
    application system, without dumping and restoring the tables
    that own them.
    If you restore a complete dump (rather than a 'skeleton' one),
    and then use
    the 'Reconnect Share Links' option when restoring, you may be
    able to
    resolve this problem.
    To get a complete list of 'dangling' constraints in your
    repository, connect
    using SQL*Plus and use the following query:
    SELECT app.name, key.name
    FROM ci_application_systems app, ci_constraints key
    WHERE key.table_reference IS NULL
    AND key.application_system_owned_by = app.id;
    You can also run CKAZANAL.ANAL_REFERENCES on your
    repository and delete all
    the invalid constraints that it finds. You can run the Repository
    Analyzer
    from: Front Panel -> Repository Administration Utility -> Utilities.
    NOTE: There may be inconsistencies in the repository that the
    Repository
    Analyzer cannot fix. You might solve such problems by
    dropping all the
    tables of your application, recreate them from the ERD,
    then use the
    DDT and recreate your modules.
    [BUG:847190] CDI-21600 during forms generation: 'dangling'
    foreign key
    "Since the generator is running on a repository that contains
    invalid
    constraints and the Repository Analyzer solves the problem,
    bug closed as
    unfeasible to fix."
    4. Check your modules for invalid or missing references such as
    missing window
    placements.
    5. Try generating your module against default templates and
    object libraries.
    6. When capturing forms or libraries, try capturing the form or
    library without
    application logic, then capture the application logic on its own.
    See [NOTE:1064690.6] CDI-21600 when capturing design of
    form with
    application logic
    [BUG:757541] DESCAP: CDI-21600 error reported when
    capturing with
    application logic
    Fixed In Ver: 6.0
    [BUG:926383] Duplicate of [BUG:757541] This has been fixed in
    2.1.2 patch
    779559. However you would be advised to apply a later patch
    such as 855635
    which fixes more bugs in this area.
    7. Make sure that all objects that are referenced by the form have
    been
    captured into the repository before capturing the form.
    8. A CDI-21600 will occur if a lookup usage displays only one
    column of
    datatype DATE or if the column of datatype DATE is displayed
    as the first
    item in the block.
    Workaround
    Add more column usages to the lookup block and do not
    display the DATE data
    type column usage as the first item in the block.
    9. [BUG:810472] CDI-21600 when 'Argument in Caller' is set
    Fixed In Ver: 6.5.3.0
    Workaround
    Make sure that you have an argument in the called module that
    is mapped to
    the "Argument Passed Value" in the calling module. The only
    way to get this
    mapping back once the APV has the <Module Argument> label
    is to delete it
    and recreate it.
    10. [BUG:801736] CDI-21600 on design capture of a form with
    subclassed object
    Fixed In Ver: 6.0.3.1.0 (backport)
    Fixed In Ver: 6.5
    You have an item that has been subclassed to an object.
    Checking the Design
    Capture option 'Capture Control Blocks' causes the CDI-21600
    error. Uncheck
    'Capture Control Blocks' and the problem does not occur. Open
    the FMB in
    Forms*Builder and look at Data Blocks -> Items. Break the link
    to the
    object, save the FMB, and the form will capture (similar to
    [BUG:794872]).
    Alternatively, ensure the link can be established.
    11. [BUG:850436] CDI-21600 on generation of a form with template
    having
    subclassed object group
    You try to generate a form out of Designer that uses a user-
    defined
    template. If a collection of objects in the template is grouped
    into an
    object group, dragged into the object library and then either
    copied or
    subclassed into a form, when the form is generated you get a
    CDI-21600
    error.
    12. [BUG:822659] Module generation fails (CDI-21600) with multi-
    column PK having
    long prompt text
    Fixed In Ver: 6.5.3.2
    Module generation with multi-column primary key having long
    prompt text
    causes CDI-21600 with preference MSGSFT set.
    Workaround
    Shorten the prompt text of PKs may not be not applicable. You
    may loose end
    user information.
    You may have the same problem with a mandatory compound
    FK. CASEOFG tries to
    generate a message '<P1> must be entered', where <P1>
    contains all the
    prompts of the bound items from the FK. If you reduce the
    length of the
    prompts, or set MSGSFT = NULL or WEDI = S or property
    Mandatory?=No, it
    works correctly.
    13. [BUG:792542] Capturing application logic causes CDI-21600
    (V2 style
    triggers)
    Fixed In Ver: 6.5.5
    After removal of the v2 triggers, the form captures/merges OK
    on 5.0.24.8,
    provided patch 875027 has not been applied.
    14. [BUG:790877] CDI-21600 if the primary/foreign keys have no
    key components
    Fixed In Ver: 6.5.11
    Generating a module with tables having a primary key not
    correctly defined
    (no PK component) will cause a CDI-21600 error. This can
    occur when
    unloading a module from the RON. If you pick up the module
    (and only the
    module) in the unload set, the table and its PK are unloaded as
    a skeleton.
    Loading the .DAT file into a new application will create a PK
    without a
    component.
    15. [BUG:771549] CDI-21600 if cannot connect to the DB with
    connect string in
    Options (Compile)
    Fixed In Ver: 6.5.13
    If you cannot connect to the DB with the connect string
    specified in options
    (Compile), the forms generator will fail with CDI-21600.
    This problem occurs when you cannot connect to the DB
    because:
    - the username or password is wrong;
    - or the SQL*Net alias is not defined in the TNSNAMES.ORA
    file;
    - or the SQL*Net listener is not started;
    - or the DB is down.
    16. [BUG:785106] CDI-21600 when generate master detail form
    with preserve layout
    [BUG:855812] is a duplicate of this bug.
    Fixed In Ver: 5.0.24.6.0 (Bug:860426 Backport request for 2.1.2)
    Fixed In Ver: 6.0
    Fixed In Ver: 6.5.3
    You have a master-detail Form with the Master having items
    partly on a TAB
    Canvas. Generate Module works OK. You enter Forms Builder
    and move some
    items on the tabs (just small changes, items are still on the
    same tabs).
    You change the look of the Detail and change Records
    Displayed. Now in
    Designer you generate the Module with Preserve Layout. You
    get a CDI-21600
    error. The problem might reproduce without doing any changes
    in Forms
    Builder, just by generating with Preserve Layout.
    17. [BUG:891306] If primary key column of lookup in check
    constraint comment of
    base table
    Fixed In Ver: 6.5.5
    Workaround
    Do not use the name of the bound item that is based on the
    primary key
    column of the lookup table in a check constraint comment of
    the base table.
    18. [BUG:896026] Forms gen throws assertion failure in
    CVINI/BUILDACTIONITEM@/CV/CVI/CVIBNI.CPP
    Fixed In Ver: 6.5.7
    A problem is caused by a PL/SQL definition (function, package,
    procedure)
    being defined as a called module for the module you are trying
    to generate.
    To resolve the problem and enable the module to be generated,
    remove all
    Called Modules that are PL/SQL definitions (functions,
    procedures or
    packages).
    See [NOTE:2107207.6] CDI-21600 during generation of module
    or Assertion
    Failure \cv\cvi\cvibni.cpp
    19. [BUG:812333] CDI-21600 generating a web module after
    adding an unbound item
    Fixed In Ver: 6.5.3.0
    Backport [BUG:1280667] raised to fix by 6.0.3.9
    You add an unbound item (SQL expression) to a Web module.
    When you try to
    generate the module you get a CDI-21600 error. If you delete the
    unbound
    item the Web module generates correctly.
    In a test case the problem occurred during validation of the
    derivation
    text, if the master module component was in a different module.
    A workaround
    was to rearrange module components so that this was not the
    case.
    20. [BUG:1627963] CCVDIAG::TRACEGENERATORMESSAGE
    WHEN GENERATING INCORRECT
    DERIVATION EXPRESSION
    Message
    CDR-21605: Failed while processing Module <mod> in function
    CCVDiag::TraceGeneratorMessage BOF
    Cause
    The generator failed due to an unexpected error - the
    error indicates the object the generator was processing
    when it failed.
    Helena

  • Problem filling in a form with xml file

    I have two forms that are used to inform people in town via the web of items needed in a food bank. The first form is filled out by the caretaker and has a "print" and "submit" button at the bottom. The second form is identical to the first but does not have a submit button since it is published on the web and readers can print it out to take with them shopping. Last month I was able to fill the second form with  data from the first that was exported as a xml file and inported into the second. For some unknown reason other that my program was updated this no longer works. Is there a way for this to still function?

    There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.

  • ADF Form no longer functioning after being wrapped in layouts.

    JDeveloper 11.1.1.0.1 + ADF BC + ADF RC
    I had an ADF panelFormLayout that was functioning perfectly until I wrapped it in a panelSplitter and wrapped the panelSplitter in a panelStretchLayout.
    Now, when I query the correct results are initially displayed, but when I press the Next button, certain inputTexts don't change to display the correct values.
    Some of them change to reflect the current values in the iterator (those with partialTriggers), but most simply continue to display the values of the first record returned. The Previous button doesn't seem to work at all anymore.
    What am I missing here? Why would wrapping the panelFormLayout in other layouts cause this behavior?
    Thanks All!

    Heres the steps to create:
    - New > Application
    - New > 'Business Components From Tables' and make BCs for Employees and Departments
    - Edit EmployeesView to include where clause "WHERE Employees.LAST_NAME LIKE :last, and create String bind variable for 'last'
    - New > JSF JSPX
    - Insert PanelSplitterLayout into Form component
    - Drag ExecuteWithParams operation from EmployeesView into PanelSplitterLayout 'Second' facet as ADF Parameter Form
    - Drag EmployeesView from Data Controls as ADF Form with navigation buttons under ExecuteWithParams parameter form.
    - Set disabled=true for EmployeeId, FirstName, and LastName inputTexts in ADF Form
    - Drag DepartmentsView from DataControls into PanelSplitterLayout 'First' facet as ADF Tree, creating a two level tree: Department Name > Employees First and Last Name
    To produce the problem once running:
    - Enter '%' into the text box for the bind variable 'last', and click ExecuteWithParams button
    - You will see the next button does nothing
    - If you click ExecuteWithParams button again, everything starts to work again.
    Much thanks.
    Edited by: Alexander Pepper on Feb 4, 2009 7:51 AM

  • Form with view having instead-of-trigger gives FRM-40501 and ORA-02014

    I created a data-entry from with a 'view' as datas-source block. This view gives crosstab query results with a data from a single base-table but it is complex and uses decode and aggregate funciton 'max' just to create group by in a crosstab query. I have created a instead of trigger on this view to update or insert a record in base table. A test to update base table works fine at SQl prompt. A test to insert at SQL shows '1 row created' but in fact when I query the database, it does not show newly inserted row. Also, when I compile and run this form, I get FRM-40501 and ORA-02014. Help!!!
    I know that DML operations on a view with DECODE, aggregate functions or group by can not be performed but I thought the "instead of" trigger on the view to update the base table should eleminate this restriction and hence pusued further but now stuck!
    BTW: I can post details of base table, view, and instead of trigger, if you want to see them to further decipher the problem. Just let me know. Thanks!
    VERSIONS: Forms in developer suite v10.1.2.0.2 on Windows XP 64 bit desktop - ; Backend database: 9.2.0.8 on Windows 2003 EE server
    Edited by: user8647268 on Aug 19, 2009 1:19 PM
    Edited by: user8647268 on Aug 19, 2009 1:25 PM

    I just forgot to ask you one question: In my experience with forms, I have captured before_value and after_value and implemented logic based on results many times. This form I am working on is kinda first multi-record form where I have a tabular page with date and about 7 other columns forming a grid of cells, which users wanted. Each line is a record from a view. I tried relying on forms to do DML on underlying table and since the underlying table is a paritioned table, I ran into FRM-40509 and ORA-00936, where returning ROWID becomes problematic. I found a note 167550.1 which says to set Key mode to 'Updateable' or 'Non-Updateable' but not 'Unique' or 'Automatic' as a solution #1. Solution#1 failed i.e. the errors persisted. The note also says in that case, implement Solution #2, which is to write explicit trigger to do each of the DML on view. Here I run into kinda problem: In a tabular form with say 31 records each row having 7 cells which is like capturing 217 before values..that is too many. Addressing them with ':old.xxx' or ':new.xxx' which works in instead of trigger, does not work in trigger inside forms. Without checking these before and after values, it inserts rows with nulls for empty cells where we wnated it to skip and do nothing. So iam looking for a way to capture before value using some kinda standard form mechanism..Do you have any suggestions! (Sorry for long explanation but that is the only way to do it..)

Maybe you are looking for

  • List of values in an universe or webi rep based in a bex query

    Hi ¡ I need to create a list of values in an universe or webi rep based in a bex query, this  LOV  should be included in a formula used to filter our values when we run we webi rep. Any clue will be apreciated thanks

  • Home Theater Systems

    I am trying to decide between the Klipsch C-700 2.1 and the BOSE Lifestyle 48 systems.  I realize that one is 2.1 and the other is 5.1.  Just would like an honest opinion as far as sound, reliability, etc.  Thank you...

  • A good microphone for Skype?

    When I'm on Skype I use my external monitor, and my 15" retina MBP is in clamshell mode. This is why I need a microphone to use Skype. I heard that you can't use USB-powered microphones on a Mac. Is this true? What microphone can you recommend me? I'

  • Report Formatt takes long time -- Report Progress and background engine

    We invoke reports from Forms using run_report_object. A particular report takes a long time. As soon as we invoke the report, the "Reports Progress" window shows up. Right after that The "Reports background Engine" display as Formatting Page1, 2, 3 e

  • Update Failed when updating Photoshop, Illustrator and Indesign

    The Learn More isn't very helpful. I get a message saying its an error U44M1I216 after trying to update the 3 apps and it says to contact customer support.