Invalid Form value passed?!

Hi there,
We recently migrated to CF MX 7 from ol' CF 5. This error
started appearing, and I'm not sure but maybe it is related to text
encoding on the site.
This error appears (sometimes!) when certain text is entered
in the textarea box for posting via a comments form. Not sure if it
is related to single quotes or high ascii. Would either of these
possible generate such an error?
The error comes up regardless of whether using CFFORM or if I
convert the form to <form> the error comes up with the same
sample text.
Suggestions appreciated!
-Chuck

You can also use several CF functions or UDFs to
automatically convert all special characters to their URL-escaped
or HTML-formatted equivalents. Try URLEncodedFormat(),
HTMLEditFormat() and PreserveSingleQuotes for starters. Look up
string UDFs on CFLib.org - there are plenty there, including those
that will strip/convert all html code as well.

Similar Messages

  • VO Substitution : JBO-25006 : Invalid parameter value passed for source

    Hello All,
    I want to add 2 new fields (attribute columns) to an existing VO for which I am trying to use VO substitution. I have followed these steps.
    1.     Downloaded all the class files from server to local machine
    2.     Opened an OA project and extended the VO by changing sql query to add 2 attribute columns
    3.     Added 2 transient VO attributes to map them to the added fields in sql query
    4.     Create a BC4J substitution and imported jpx file using jpximporter
    While opening the page which consisted the original VO that I extended (creditRequestsVO), I am getting below error. Appreciate if anyone can throw any light on this.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Edited by: Bhavesh J Shah on Feb 22, 2010 1:58 AM

    Hi Rama,
    Parameter being passted to LeadHeaderDetailsVO is not right. Check the parameter values that are being passed,wether there are right or not
    Thanks
    Sandeep

  • How do I pass a form value to Google Analytics

    I would like to pass a form value to Google Analytics. ie. if the user enters a value and submits the form, on the confirmation page I'd like to read the value and other form fields and pass those populate the Google Analytics tracking code ie. populate this withthe form values:
    _gaq.push(['_addItem',
          '1234',         // order ID - necessary to associate item with transaction
          'DD44',         // SKU/code - required
          'T-Shirt',      // product name - necessary to associate revenue with product
          'Olive Medium', // category or variation
          '11.99',        // unit price - required
          '1'             // quantity - required

    How about this - bind an ajax call to google analytics to the form submit button (change the type from submit to button or suppress the default event), having the form itself only submit after the ajax call is successful? No need to even worry about the confirmation page then.

  • Passing form values to a Servlet

    I am trying to pass form value to a servlet once the user presses the submit button. How can I get access to the form values?
    Thanks

    Try this in your servlet.
    HttpSession session = request.getSession(true);     
    System.out.println(request.getParameter("xxxxx").toString());
    xxxx is the parameter name..
    Doesn't this work?

  • LiveCycle form error in Acrobat 8 "Invalid enumerated value: postSubmit"

    I created a form in LiveCycle ES that has a submit button by email. When this form is opened in Acrobat 9, no error messages pop up. When it is opened in Acrobat 8 the error message pops up "Invalid enumerated value: postSubmit".  I have seen other discussions regarding this error, but no answers.  Is there a way to fix this?

    The problem is with LiveCycle Designer ES2 version 9.x. In this version under the File-> Form Properties if you select SetFocus and turn it on it puts the following code into the XML:
    </
    script> 
    <?templateDesigner expand 1?></variables><
    proto/><
    desc><
    text name="version">9.0.0.0.20091029.1.612548.606130</text></
    desc> 
    <?templateDesigner expand 1?>
    <
    event activity="postSubmit" ref="$form" name="event__postSubmit"><
    script contentType="application/x-javascript">//+ GENERATED - DO NOT EDIT (ID:881AD7B1-842A-4CF3-BE05-E05C44ED287E CRC:3815899415)SetFocusOnFirstFailedField.DoSetFocusOnFirstFailedField(this);
    </
    script>
    If you notice in the above code the postSubmit event. This postSubmit event is not supported in versions of Acrobat/Reader prior to version 9. Even though you have set the file to support version 7 this remains in the code. I resolved this by turning off setFocus in the Form Validation

  • Form error Invalid numeric value 06-Jun-13 for column FECHA_CAPTURA

    hi,
    i have an APEX form that updates a table. The form items were created autmatically from the table fields. The 3rd field is a date field and therefore the corresponding date field on the form has a calender icon on its right side. i choose a date from this calender and when i hit the update button i receive this message:
    Invalid numeric value 06-Jun-13 for column FECHA_CAPTURA
    any ideas?

    Hi,
    Could we get you to change 1010319 to a meaningful handle -- I'm Howard.
    In order to give helpful answers, we usually need more information including as much relevant information as possible upfront. This should include:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    Theme used
    Template(s) used / modified -- (Revelant/important for some problems.)
    Region/item type(s)
    and more detail about what you want to do.
    Are you using ARP (Automatic Row Processing)?
    Do you do any validations?
    Could you make a trival 1-page application on apex.oracle.com duplicating the problem there?
    Howard

  • Pass form value to Destination URI

    Hi ,
    I have
    Form Value: (CtDetRN.PerId)
    Form Value: (CtDetRN.PPId)
    when viewed the page view source
    <input id="PerId" type="hidden" value="2886870" name="PerId">
    <input id="PPId" type="hidden" value="2886870" name="PPId">
    Now i need to pass the any of the above param in my url(personalization)
    URL : OA.jsp?page=/oracle/apps/imc/ocong/party/person/webui/ImcPerProfile&ImcPartyId={@ASPKey_NtsRPId}&ImcMainPartyId=2886870
    For ImcMainPartyId=2886870 i need to pass any of the form value(dynamically instead of hard coding the value).
    I tried ImcMainPartyId={@PerId} and {@PPId}.
    But it didnt work out.
    any one help me for the ways of passing param of form value to url
    thanks

    so if the required params are not on my page then what should be the solution?
    >>> You will have to get it somehow otherwise your solution is not feasible. Your approach or design is wrong. For going from one page to another, there should be some related data and if it is your custom pages, then there is something missing on your analysis.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • "Invalid enumerated value: hidden" Error on every Form

    I recently received a newly imaged laptop from my company and had to reinstall everything including Adobe LiveCycle. Whenever I open any questionnaires/forms (old or new) and click on the PDF view, I recieve an Adobe Reader error stating:
    Invalid enumerated value: hidden
    the fault occured on line xxxx.
    Invalid enumerated value: hidden
    the fault occured on line xxxx.
    Invalid enumerated value: hidden
    the fault occured on line xxxx.
    Invalid enumerated value: hidden
    the fault occured on line xxxx.
    Invalid enumerated value: hidden
    the fault occured on line xxxx.
    Invalid enumerated value: hidden
    the fault occured on line xxxx.
    Message limit exceeded. Remaining x errors not reported.
    *****Note: xxxx denotes a 4 digit number.
    This seems to only happen on my pc and not anyone elses in my group. So, that leads me to believe that there isn't anything wrong with the forms by my install. I already tried uninstalling and re-installing both Adobe Reader 9.0 and LiveCycle 7.1.
    Help?

    The problem is with LiveCycle Designer ES2 version 9.x. In this version under the File-> Form Properties if you select SetFocus and turn it on it puts the following code into the XML:
    </
    script> 
    <?templateDesigner expand 1?></variables><
    proto/><
    desc><
    text name="version">9.0.0.0.20091029.1.612548.606130</text></
    desc> 
    <?templateDesigner expand 1?>
    <
    event activity="postSubmit" ref="$form" name="event__postSubmit"><
    script contentType="application/x-javascript">//+ GENERATED - DO NOT EDIT (ID:881AD7B1-842A-4CF3-BE05-E05C44ED287E CRC:3815899415)SetFocusOnFirstFailedField.DoSetFocusOnFirstFailedField(this);
    </
    script>
    If you notice in the above code the postSubmit event. This postSubmit event is not supported in versions of Acrobat/Reader prior to version 9. Even though you have set the file to support version 7 this remains in the code. I resolved this by turning off setFocus in the Form Validation

  • Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API. This is a serious error and contributes to an overall degradation of system stability and reliability. This notice is a courtesy

    Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API. This is a serious error and contributes to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.

    This console log is a note to the developers of whatever application you are using. You can safely ignore it.

  • Query a second form from another form by passing value

    Hi,
    I have two forms. I am trying to query a second form from another form. I have managed to display the query results in the second form by passing value from the first form. I did it according to the details in the Oracle 9ias Portal Technical FAQ html file.
    It works fine when there is already a row in the first form. When I insert a new row in the first form and query the second form which has key from the first form, there is no matching rows displayed which is correct but detail action mode is 'NONE' for all detail rows.
    According to the FAQ, it says the following:-
    "When the called form is started, it executes a query with the supplied condition (in this case, "where deptno=10"). If the query is successful, the matching rows are displayed in Update mode. If no matching rows are found, the form starts in Insert mode."
    It does not happen for me. I get NONE mode for no matching rows. Is this a BUG ? I am working on Portal version 3.0.9.8.0.
    Is there something wrong in the code I wrote ? I would like to have all the detail mode as Insert.
    Here is the following code I wrote on SUCCESSFUL SUBMISSION OF THE FORM.
    declare
    my_url varchar2(1000);
    v_deptno number;
    begin
    v_deptno := p_session.get_value_as_NUMBER(p_block_name => 'DEFAULT', p_attribute_name => 'A_DEPTNO');
    my_url := 'PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1268491962&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=deptno&p_arg_values='||LTRIM(TO_CHAR(v_deptno))||'&p_arg_names=_deptno_cond&p_arg_values=%3D';
    go(my_url);
    end;

    Hi,
    The behaviour is OK as in the MD form there are two states "Save" and "Query and Save" and when the form is in "Query and Save" mode that means you can use it for both Query aswell as Save which is decided by your "Master action" if that is None it is used for Query , for Insert you will have to select Insert ,this is the Insert Mode behavior.
    If you open a new MD form that is also in the "Query and Save" the same behaviour will be there.
    Hope this answers your query.
    rahul

  • How to pass FORM values to stored procedures !!!

    Hello guys,
    I developed a form, and when
    I click SAVE, i need to pass the form
    values(like deptno,dname) to a stored procedure !!!
    Please do let know, what should be the
    approach, I have done this is Dev2000,
    but how to do in Portal !!!
    Thanks for your time !!!
    A.Kishore
    null

    Hi,
    Take a look at this:
    http://technet.oracle.com:89/ubb/Forum81/HTML/000103.html
    Also, you can search through the archive for more topics.
    Thanks,
    Dmitry

  • Invalid Form error

    Dear Experts,
    I have created one matrix and one button in Purchase Order form. when i click on that button one form(frmopr) will be loaded. that form contains one matrix with data and one button.
    now i select one or more line in the matrix and click the button. the selected line value should be displayed in user matrix in PO form. i am using following code
    If pVal.FormUID = "frmopr" Then
                    If pVal.ItemUID = "chs" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.Before_Action = True Then
                        oForm = SBO_Application.Forms.Item("frmopr")
                        oMatrix = oForm.Items.Item("matrix").Specific
                        j = 1
                        For i = 1 To oMatrix.RowCount
                            If oMatrix.IsRowSelected(i) = True Then
                                oEdit = oMatrix.Columns.Item("series").Cells.Item(i).Specific
                                rema(j) = oEdit.Value
                                oEdit = oMatrix.Columns.Item("docNo").Cells.Item(i).Specific
                                dn(j) = oEdit.Value
                                'SBO_Application.MessageBox(rema(j))
                                j = j + 1
                            End If
                        Next
                        oForm.Close()
                        POForm = SBO_Application.Forms.Item("142") '<- error Line <<
                        oMatrix = POForm.Items.Item("38").Specific
                        For k = 1 To j - 1
                            POForm.DataSources.DataTables.Add("MyDataTable")
                            POForm.DataSources.DataTables.Item("MyDataTable").ExecuteQuery("Select U_itemcode, U_Qty from [@PRR1] where U_series=" & rema(k) & "and U_DocNo=" & dn(k))
                            POForm.Items.Item("Umatrix").Specific.Columns.item("1").DataBind.Bind("MyDataTable", "U_itmcode")
                            POForm.Items.Item("Umatrix").Specific.Columns.item("11").DataBind.Bind("MyDataTable", "U_itmQty")
    End If
    End If
    its throwing error message " Invalid Form" in above mentioned line
    Please Give a Solution
    Regards
    Mathi
    Edited by: Mathi Arasu on Jun 27, 2008 12:51 PM

    Hi Mathi,
    System forms do not have a static formuid.142 is the form.typeex of Purchase Order form.Formuid changes on every opening of the form like F_42 and so on.So its better to pass this formuid when you are referring to the form like
        Select Case pVal.FormTypeEx
    Case "142"
    your code for itemevent
    End Select
    And in your user form you need to get this formuid
    so that your code looks like
    poform=Sbo_Application.Forms.Item(formid)
    where this formid is passsed as a parameter.
    HTH
    Ram

  • Form values null.

    Hi,
    I am having a form field in my jsp page and on sumit I am passing the request to a servlet but in the servlet the form values are null even though i have entered the values in the field. Can any one please help me.
    I am posting my jsp and servlet.
    My jsp page <body>
    <body>
            <form action="LoginHandler" method="post" onsubmit="return ValidateForm(this)">
                <p><label> Login ID</label> <br />
                <input type="text" name="Username" size="10" /><br />
                </p>
                <p><label>Password</label> <br />
                <input type="password" name="Password" size="10" /></p>
                <p><input type="submit" value="Submit" class="textfont" /></p>
            </form>
        </body>
    My servlet
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import communication.ServerComm;
    public class LoginHandler extends HttpServlet {
        ServerComm server;
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
            server = new ServerComm();
          public void destroy() {
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            server.openConnection();
          //gets null value here
            String username = (String)request.getAttribute("Username");
            String password = (String)request.getAttribute("Password");
            /*other expressions*/
       protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        public String getServletInfo() {
            return "Short description";
    }Thank you.

    You are calling request.getAttribute().
    You should be calling request.getParameter().
    Attributes vs Parameters
    A parameter is a name/value pair sent with a request - they are always Strings. They are read only - ie can only getParameter()
    An Attribute is a java object you want to save. Attributes can be at the page, request, session or application level. They can be any java object type. You have both get/set attribute calls.
    Cheers,
    evnafets

  • How to open a page from a Form and pass parameters to the form on that page

    I found a similar example on this forum, but it did not work for me:
    declare
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    i number;
    begin
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    htp.p(l_names(i) || ' ' || l_values(i));
    END LOOP;
    end;
    By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
    Another method I tried:
    To open a Form from a Form and pass parameters works fine like this:
    --In the After processing page PL/SQL event.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=&gt;blk,p_attribute_name=&gt;'A_ID');
    if v_id &gt; 0 then
    htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
    htp.formSubmit(NULL,'Upload Files');
    htp.formClose;
    end if;
    End;
    But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
    Best regards
    Halvor

    Hi,
    You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
    You can call this code in the success procedure of the calling form.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    v_url varchar2(2000);
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    v_url := <page_url>;
    if v_id > 0 then
    call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
    end if;
    End;
    In the called form in "Before displaying form" plsql section write this code.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'id' then
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_ID',
    p_value => p_arg_values(i)
    end if;
    end loop;
    This code picks up the value from p_arg_values and assigns it to the form field.
    Hope that helps.
    Thanks,
    Sharmila

  • Calling report from form by passing parameter

    I have one form in which their is one filed name ID and another field which is nonbase table field. Now i want to run a report by enterint 'Y' in nonbase table field by taking the value of ID from ID field..
    This value of ID is a parameter for report tobe run....
    So how can i do this ?
    How can i create a parameter in form and pass it to report for to run..?
    thanks in advance

    This is one way of doing it :
    Create a parameter in the form and name it say : param_id, set the properties as desired. Create a parameter in the report to be run with the same name and the same properties. The where clause statement of your report query should be like this :
    WHERE ID = :PARAM_ID
    Then in the POST-CHANGE or KEY-NEXT-ITEM trigger at the non-base table item level enter the code like this :
    DECLARE
    pl_id ParamList;
    pl_name VARCHAR2(10) := 'rpt_data';
    BEGIN
    pl_id := Get_Parameter_List(pl_name);
    IF Id_Null(pl_id) THEN
    pl_id := Create_Parameter_List(pl_name);
    ADD_PARAMETER(pl_id,'PARAM_ID',TEXT_PARAMETER,TO_CHAR(:ID)); -- TO_CHAR only if ID is NUMBER
    ADD_PARAMETER(pl_id,'PARAMFORM', TEXT_PARAMETER, 'NO'); -- this is only if you want to hide the parameter form that is displayed when running the report.
    RUN_PRODUCT(REPORTS,'report_name.rdf',SYNCHRONOUS,RUNTIME, FILESYSTEM,pl_name);
    DESTROY_PARAMETER_LIST(pl_name);
    ELSE
    Message('Parameter list '&#0124; &#0124;pl_name&#0124; &#0124;' already exists!');
    RAISE Form_Trigger_Failure;
    END IF;
    END;
    Hope this helps ! I don't know the version of forms that you are using, but this is valid in 4.5 and 5.
    Sudha

Maybe you are looking for

  • Create user in solaris

    i have a doubt about how to create a user on solaris. I gave the command :- useradd -g oinstall -d /u01/mediate mediate It creates the user but then i give # su - mediate su: No directory! It is probably not create the home directory for the user, so

  • Cannot instal 10.2

    G3, 350, 7GIG HD 320 ram. 10.1.5 (5560b) Boot rom 4.19F1 From 9.2, success fully installed firmware 4.1.9, sucessfully installeld sec update, installed 10.1.5, but get a text box and an instruction that my computer neeeds to be restarted when i try t

  • Battery Saver

    I just bought a new MacBook Pro and I want to know if there are any techniques I can use to extend the life of my battery. Any suggestions for the newbie?

  • Exporting AVCHD for BluRay in Premiere Pro CS6

    Hello, I have AVCHD files taken with a HD camcorder at its highest quality settings (HD FX - 1920 x 1080 - 24Mbps - H.264AVC).  I am looking for the most appropritate workflow to edit these in Premiere Pro CS6 and burn them over to BluRay using Encor

  • Compile InDesign CC sdk sample by libc++ instead of libstdc++

    Hi, my project is integration between InDesign SDK CC & 3rd project on Windows they are merged, build, run..... ok on Mac, I'm using Mac os 10.8.5 & Xcode 5.0.2 InDesign SDK is using libstdc++ compiler. 3rd project is using libc++ compiler I merged t