Problem with navagation of forms

Hi everybody
I have a problem with navigation of forms
I have two forms say a and b.In form a i have a button and i want, when i press that button the form b should open.I wrote when_button_pressed trigger for that button in form a as open_form('b'); Raise form_trigger_failure;
When i run form a and press the button form b is not opening.It is giving me a message as 'form b cannot be opened'
Can somebody tell me where i am wrong.I have compiled b.
TIA
Prajakta

Why are you using Raise form_trigger_failure;
You don't need it.
Try doing open_form('b.fmx');
If this doesnt work
I think your problem is that the fmx file for form b is not in the path to be found.
make sure to include the direcoty in the forms60_path or have it in the same directory as form a.

Similar Messages

  • My Client is having a serious problem with the Contact Form Widget

    My Client is having a serious problem with the Contact Form Widget that I can not figure out how to correct.
    I created a website for a client and inserted a Contact Form widget on their 'Contact Us' page. Whenever anyone uses the form, the e-mail my client receive shows my e-mail address as the sender. So, when they 'reply' to the e-mail, the reply is sent to me and not the person who sent the original message. This creates a major problem in that I get barraged with e-mail replies while my client's potential customers go without a response.
    When I look at  'Site Manager > System E-Mails > Workflow Information > E-mail From Address' on the site's Admin Console, it shows my e-mail information. Is this is what needs to be changed?  If it is, what needs to be placed in that field so that the e-mail my client receives shows the senders e-mail information in the 'From' field.  My client wants to be able to click reply and have the message sent to the right party. They would be very upset if they have to cut and past the senders e-mail address from the body text on every contact they receive.
    Their feeling is that if I can't find a way to make the contact form work the way it should, then it's useless to them.
    Can anyone help me figure this out? I really don't want to disappoint my first client.

    Are you on a plan that has the CRM feature that stores your customers' data? If so, the idea of the contact form is that you'll receive a notification that there's been an inquiry filled out on your contact form and there should be a link in that email notification that leads to the "Case" that was created when that customer filled out a contact form.  You can click that link and visit the case for that customer in your BC site and reply to them from there so that all of the correspondence is logged in the CRM for safe-keeping and for your records.
    If your client finds this is too much work to login to BC to reply every time, then you should check to see if you have the "Customer Service Ticketing" feature on your hosting plan.  This is a feature where you create a dedicated email account (like [email protected]) and the BC system will automatically login to that email account and pull any emails in that inbox and convert them to a customer case for the sender of the email and then it will send out a notification via email to any of the BC Admin users you delegate as "Customer Service Agents".  Since the CST integrates with the BC CRM it lets you reply directly within the email-- but when you reply it will be going to that same email address dedicated to the CST but once the CST service checks your email again and sees that you replied to this inquiry it will log your reply against the customer's case and sends your reply via email back to them so that all the correspondance gets logged on BC's CRM but you can still reply via email.
    There's no way to use the default web forms to update the "From" or "Reply-To" address.. it must come from an approved email address to avoid spam issues.  On most web services you cannot change the "from" address anyway but usually you can at least specify the "Reply-To" address so that when someone hits "reply" in their email client it will reply to whoever you setup as the "Reply-To" address.
    Here's some more information about CST: http://kb.worldsecuresystems.com/kb/customer-service-ticketing.html?bc-partner
    I don't think the CST feature is in the webMarketing BC plan-- I think it's only in the webCommerce plan so if you have less than an webCommerce plan you have to tell your client to reply through BC by clicking the link in the notification they get.  You can justify it by saying its one or two more steps but it keeps the entire convo on record in their CRM for easy referral later.

  • Very big problem with JSF about FORM and "id=" for HTML form's elements and

    I have discovered a very big problem with JSF about FORM and "id=" for HTML form's elements and java instruction "request.getParameterNames()".
    Suppose you have something like this, to render some datas form a Java Beans :
    <h:dataTable value="#{TablesDb2Bean.myDataDb2ListSelection}" var="current" border="2" width="50%" cellpadding="2" cellspacing="2" style="text-align: center">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    <h:outputText id="nameTableDb2" value="#{current.db2_name_table}"/>
    </h:column>
    </h:dataTable>
    Everything works fine...
    Suppose you want to get the name/value pairs for id="nameTableDb2" and #{current.db2_name_table} to process them in a servlet. Here is the HTML generated :
    <td><span <span class="attribute-name">id=<span class="attribute-value">"j_id_jsp_1715189495_22:0:nameTableDb2">my-table-db2-xxxxx</span></td>
    You think you can use the java instructions :
    Enumeration NamesParam = request.getParameterNames();
    while (NomsParam.hasMoreElements()) {
    String NameParam = (String) NamesParam.nextElement();
    out.println("<h4>"++NameParam+ "+</h4>);
    YOU ARE WRONG : request.getParameterNames() wants the syntax *name="nameTableDb2" but JSF must use id="nameTableDb2" for "<h:outputText"... So, you can't process datas in a FORM generated with JSF in a Servlet ! Perhaps I have made an error, but really, I wonder which ?
    Edited by: ungars on Jul 18, 2010 12:43 AM
    Edited by: ungars on Jul 18, 2010 12:45 AM

    While I certainly appreciate ejb's helpful responses, this thread shows up a difference in perspective between how I read the forum and how others do. Author ejb is correct in advising you to stay inside JSF for form processing if form processing is what you want to do.
    However, I detect another aspect to this post which reminds me of something Marc Andreesen once said when he was trying to get Netscape off the ground: "there's no such thing as bad HTML."
    In this case, I interpret ungar's request as a new feature request. Can I phrase it like this?
    "Wouldn't it be nice if I could render my nice form with JSF but, in certain cases, when I REALLY know what I'm doing" just post out to a separate servlet? I know that in this case I'll be missing out on all the nice validation, conversion, l10n, i18n, ajax, portlet and other features provided by JSF".
    If this is the case, because it really misses the point of JSF, we don't allow it, but we do have an issue filed for it
    https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=127
    If you can't wait for it to be fixed, you could decorate the FormRenderer to fix what you want.
    I have an example in my JSF book that shows how to do this decoration. http://bit.ly/edburnsjsf2
    Ed

  • Problems with Submitting the form

    Hey Guys,
    I have a form with 7 different fields. my form is connected with the database. once the user fills out the information and clicks on submit the entry should be saved in the database.
    Everything is working fine. i can establish connection with the database. my only problem is that when i click on submit its not adding the entry in the database. I think i have problems with this command
    <form method = "post" > . Any helpo will be really appreciated. I am posting some part of the code.
    <%!
      public void jspInit() {
        try {
          Class.forName("org.apache.derby.jdbc.ClientDriver");
          System.out.println("JDBC driver loaded");
        catch (ClassNotFoundException e) {
          System.out.println(e.toString());
    <body>
    <%
    String name, unit, title, supervisor, region, dept, date;
    %>
    <p align="center"><b><font size="5" face="Arial">LOGIN REQUEST FORM </font></b>
    <form method="POST">
    <p align="left"><b><font size="2">                           
         </b>Name:<b> <input type="text" name="name" size="20">   </b>Title   <b>
         <input type="text" name="title" size="20">         </b> Dept <b>         
         <input type="text" name="dept" size="20"></b></font></p>
         <p align="left"><font size="2"><b>                 
         </b>Supervisor: <b> <input type="text" name="supervisor" size="20"> </b>Region<b> 
         <input type="text" name="region" size="20">  </b>Business Unit<b>
         <input type="text" name="unit" size="20"></b></font></p>
         <p align="left"><font size="2"><b>              </b>
         Effective Date:<b> <input type="text" name="date" size="20"></b></font></p>
         <input type = "reset">
         <input type = "submit">
         <%
         name = request.getParameter("name");
         unit = request.getParameter("unit");
         title = request.getParameter("title");
         supervisor = request.getParameter("supervisor");
         region = request.getParameter("region");
         dept = request.getParameter("dept");
         date = request.getParameter("date");
         boolean error = false;
         String message = null;
         try {
              Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/sample");
              System.out.println("Connection Established");
              Statement s = con.createStatement();
              String sql = "SELECT name FROM users" +
              "WHERE name='" + name + "'";
              ResultSet rs = s.executeQuery(sql);
              if(rs.next()) {
                   rs.close();
                   message = "The username <B>" + encodeHtmlTag(name) + "</B> has already been taken. Please select another name.";
                   error = true;
              else {
                   rs.close();
                   sql = "INSERT INTO user" +
                   "(name, unit, title, supervisor, region, dept, date)" +
                   "VALUES" +
                   "('" + name + "'," + " '" + unit + "'," + " '" + title + "'," + " '" + supervisor + "',"
                   + " '" + region + "'," + " '" + dept + "'," + " '" + date + "')";
                   int i = s.executeUpdate(sql);
                   if(i==1) {
                        message = "User Added";
              s.close();
              con.close();
         catch(SQLException e) {
              message = "Error " + e.toString();
         catch(Exception e) {
              message = "Error" + e.toString();
              error = true;
         %>
    </form>
    </body>
    </html>

    Even if there was an exception being thrown, you wouldn't see it because you're catching it but not doing anything with the message:
    catch(SQLException e) {
              message = "Error " + e.toString();
         catch(Exception e) {
              message = "Error" + e.toString();
              error = true;
         }Try changing this part to:
    catch(SQLException e) {
              message = "Error " + e.toString();
                    e.printStackTrace();
         catch(Exception e) {
              message = "Error" + e.toString();
              error = true;
                    e.printStackTrace();
         }

  • I have problems with buttons and Forms in my trial proof of Indesign CC, how can I fix it?

    I have problems with buttons and Forms in my trial proof of Indesign CC, how can I fix it?

    Moved to InDesign forum.
    You can start by telling us what the problem is.

  • Problem with Master -Details forms in seperate pages

    Hi ,
    Below is the scenario:
    I have Institution and a department tables where there is a foreign key relation between the tables. So now i have two entity objects for the 2 tables and 2 view objects(DepartmentView,InstitutionView) from the entity objects.
    I also have a view link between them.I made a master-detail relation between them in the datamodel using the view link.So my appmodule now has getters for the department view,institution view and viewlink.
    I now have a jsp page "createInstitution.jsp" which contains a form for the institution , i have a "next" button on the same jsp which calls a method in my appmodule class .This methods just inserts the record into the Institution view. In this method i am able to see what the user entered in the form by getting the viewrow record like the below code :
    InstitutionViewRowImpl newInstitutionRow=(InstitutionViewRowImpl) getInstitutionView().first();
    The next button navigates to the next page "listDepartments.jsp" which contains the list of departments that are added. This page has a button "Add Department" which takes to to the "addDepartment.jsp" page which shows a form for adding a department. This page also has a button which calls a method in app module class. The method just inserts the record into the view(DepartmentView)
    Here when i say
    DepartmentViewRowImpl newDepartmentRow=(DepartmentViewRowImpl ) getDepartmentView().first();
    the newDepartmentRow is null.
    Also on the addDepartment.jsp form , i had used a output field to see what the parent id was and interestingly the parent id is 75 which is first institution in the database. It should have been "-10" , a temporary id assigned.
    Can someone please tell me what is the problem with my approach?

    I don't understand why you are using a method on your button to insert the record into the table - An Oracle ADF Form will do the insert for you by default without any coding.
    See the create pages in these tutorials:
    http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_21/ccset21_ALL.html
    http://www.oracle.com/technology/obe/obe11jdev/11/dev_ui/developuserinterface.html#t2s5
    The method that you are calling just returns the first record in the rowset - I don't see how it has anything to do with actually inserting the data into the table.

  • Problem with ASP "Create form wizard" or "Update form wizard" and "Upload file"

    Until now it used version 3,7 and dinamyc had never had problems with "Create form wizard" or "Update form wizard" and "Upload file" but now when I create the form and shipment a file leaves an error to me:
    Error:
    Error al borrar directorio. Error de seguridad.
    Developer Details:
    Error al borrar directorio. Error de seguridad. El directorio 'E:\web\eds\maqueta\' esta fuera del directorio base 'E:\web\eds\maqueta\fotosactivi2\'. (FOLDER_DEL_SECURITY_ERROR)
    tNG Execution Trace - VIEW
    * tNG_insert.executeTransaction
    o STARTER.Trigger_Default_Starter
    o tNG_insert.doTransaction
    + BEFORE.Trigger_Default_FormValidation
    + tNG_insert.prepareSQL
    + tNG_insert.executeTransaction - execute sql
    + tNG_insert.postExecuteSql
    + AFTER.Trigger_FileUpload*
    + ERROR.Trigger_Default_Insert_RollBack
    * tNG_insert.getRecordset
    * tNG_insert.getFakeRsArr
    * tNG_insert.getLocalRecordset
    * tNG_insert.getFakeRecordset
    * tNG_insert.getFakeRecordset

    Hello,
    Please see this thread http://www.adobeforums.com/cgi-bin/webx/.3bc3c678/2
    for the same problem.
    Regards,
    Razvan RACASANU

  • Problems with a public form, what to do

    Hi there !
    I am new to this forum, and new to Exchangeserver, allways worked wiht Lotus Notes so please bare with me if my questions is noob to you all, I have googled for my answer, but is still not sure what to do, so here I go.
    I have an Exchange 2010, where some people uses a public calendar to order a meeting with meals, coffe and so on, or the use this particular calendar to order the cofee and meals for a meeting, which is planned in another calendar.
    When the people acces this public calendar ( which is made in a public folder, is it allways that ? ) it automatically open a particular selfmade form, and this sometime crashes Outlook ( or I suspects this to be the problem )
    The problem is not allways there, but suddenly appears ( i dont know when ) , but I have tried to make a new public calendar myself, and made a new particular form from my Outlook client and posted it on the server, and when the problem occour at the other
    client PCs I restart the client and acces my new calendar with no problems, but the meeting calendar with the old form crashes Outlook.
    The form is made in Exchange 2003 and migrated along with the server to Exchange 2010.
    My conclusion is that I have to get the form into exchange2010 mode at first, but what is the best way ?
    Is it possible to delete the form ? and how do I do that....I have made an copy of the form on my Outlookclient, and adjustet it a bit, so I guess this should be the first try to save it, and the publish it with the same name as the old one ?
    Or can I just publish a new copy of the form, and the change the rules for the public calendar so its linked to the new form instead of the old form ?
    It seems that the problem is when you change the date og picking the date in the calendar from the navigation bar, so at the moment if have told the users to acces the calendar, and use the date ( day-week-month ) at the top bar instead, this seems to Work.
    Hope this makes a Little bit sence ;-)
    Is there a way to check  if everything is ok at the server when the problem occours ?
    Kind regards and thanx in advance Thomas

    Hi,
    Did you try to open it via OWA when the problem occurs?
    If open it normal via owa, it show everything is ok at the server.
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Problem with Export Schema form CCM 2.0 SP4

    Hello all,
    when I am trying to export schema form CCM I am getting the following exception /CCM/CX_EXPORT_ERROR
    The exception occurred at following point
    program: /ccm/cl_catalog_model=======cp
    include: /ccm/cl_catalog_model=======cm01c
    line: 28
    any hint?
    Gordan

    Hello all,
    i'm facing the same problem with CCM 2.0 SP6..
    Anyone know the solution?
    Thanks for your help!
    Antonio

  • Problems with Master-Detail Form not retrieving Detail Rows

    Portal 3.0.7.6.2 on NT
    I am having problems with a Master-Detail Form not retrieving Detail Rows. Sometimes it retrieves all, sometimes about 50%, the majority of the time it's not retrieving any. If it never retrieved any I would suspect that the 'join' condition was wrong but that isn't the case. I didn't have this problem with a prior MD Form I created. I have tried re-creating the MD Form but I get the same problem.
    Is anyone having similar problems/is this a know bug??
    Any help or thoughts are appreciated.

    I experienced performance problems. The simpiest MD form takes about 10 secs. to requery. I's not answer to your question, but there is more problems with this concept.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Michael Finch ([email protected]):
    Portal 3.0.7.6.2 on NT
    I am having problems with a Master-Detail Form not retrieving Detail Rows. Sometimes it retrieves all, sometimes about 50%, the majority of the time it's not retrieving any. If it never retrieved any I would suspect that the 'join' condition was wrong but that isn't the case. I didn't have this problem with a prior MD Form I created. I have tried re-creating the MD Form but I get the same problem.
    Is anyone having similar problems/is this a know bug??
    Any help or thoughts are appreciated.<HR></BLOCKQUOTE>
    null

  • Problems with contact email form

    Hi there,
    So I've been having lots of problems with getting an email form to work in my flash website.
    The contact email form I've been attemping to get to work can be found here:
    http://www.webdesignmo.com/blog/2008/08/14/flash-contact-form-in-actionscript-3/
    When I start a new flash movie from scratch and follow the instructions on the site, everything works great. However, when I try to create this form within a movie symbol within my current flash site, nothing works at all. I've tried placing the submit button within the movie symbol and without and neither works. I guess my question is, why would this happen? In which circumstances would placing a form like this inside of a movie prevent the form from functioning? For instance, when I tes tthe movie, fill out the form and press the submit button, nothing happens.
    Can I get some advice for whether I need to rethink implementing this form into a current flash video and what things I should check for?
    Thanks so much!
    Using CS3 btw.

    you probably have path problems.  use the trace() function to help debug your flash.

  • Problems with cgi "file" form

    Hello,
    I'm having problems with setting up the cgi program in labview to allow
    users upload a file by using the html file form. I have set up the form
    file, so users can enter the location of the file in their computer and
    then submit that file. However, the only thing that I seem to be
    getting out of the contents of the action vi is the location of that
    file and not that file itself. I will be very appreciated if someone
    can help me or possibly send me an example vi for setting up a file
    form. Thanks for your help....
    Regards,
    Ali

    you probably have path problems.  use the trace() function to help debug your flash.

  • Problems with generating the form

    Hi there,
    I'm trying to create an interactive form for print in ABAP. So, I created an interface and a form. I've generated the interface, it worked properly. So i've checked the syntax of the form, there was no error and i clicked the button to generate it. Although there's no error, it stays inactive, that's the first problem.
    The second problem ist the menu-tree. Expanding the node of my inactive form, there's another node 'used interface' and under it appears another node with my inactive form. This funny behaviour doesn't stop, and i assume it's a GUI problem, but i'm not sure.
    Do you have any ideas to solve my problems.
    thanks a lot, greetings, Stefan

    Hi Stefan
    also, have a look at this post ADS: unable to activate a new adobe form where the issue was that the ADS is not even installed and configured. To go through all teh right steps, get the ADS Configuration Guide from the Service Marketplace at http://service.sap.com/adobe -> Media Library -> Documentation.
    Best regards,
    Markus

  • Problems with universality of forms

    I have created a fillable form (Job application form) in Livecycle Es2.
    They are fine, I can edit save etc.
    When I email them to a colleague who uses Foxit, she cannot open.  Does this mean that you have to use Adobe reader to view and edit a form created via Adobe?
    I think it isn't a problem, because I have another version of the form (no idea in what way it is different, I have been trying so many things!) which she can open. Fantastic - BUT when she types in a field and moves to the next one, the previous field returns to a blank state.
    Any advice appreciated as I have spent all day with this!
    Thanks

    http://en.wikipedia.org/wiki/PDF/Ahttp://en.wikipedia.org/wiki/PDF/A is the Standardized PDF. It is mostly Acrobat 5. There have been revisions to the standard.
    If you look at the standard, it creates an archive and n0n-editable version of the form. But it also describes the minimum PDF structure. LiveCycle Designer/ES is not part of that standard. Also not all "PDF" viewers support this standard.
    I would look at making a form that complies with the PDF/A standard and then add JavaScript supported by Acrobat 5 with changes to meet the revised security standard.
    You will not only have problems with FireFox and other computer applications but tablets and eReaders present a whole set of new issues since many do not support JavaScirpt or other form features.
    Apple Preview is known to corrupt form fields enough to make the sumbitted form data not visible unless the form fields are fixed or the data is exported from the from and imported into a good form.

  • Problems with Cold Fusion Forms

    Hey Everybody -
    Pretty new to these forums and cold fusion in general. I
    created a number of forms in cold fusion for a school. They sign up
    for classes and when they fill out ALL text fields they
    successfully submit the form and they see a success page. Sounds
    great right? well kind of.
    If a user doesnt fill out the entire form, and submits it
    gives them an error with coldfusion errors. So I am faced with a
    few choices. I can either: have the form forward them to an error
    page instead of the coldfusion error, or if there's a way I can
    fill in the null values so that there isnt a problem with nulls. I
    want to have validation but I want it in a seperate page since I
    dont have the room to add errors in the form itself.
    Any help would be great. Thanks in advance.

    I always do ALL my form validations with a client-side JS
    **and** with server-side CF.
    I don't use <cfform>, I know <cfform> is
    dependant on the java version the user has installed on their end.
    I know I came across quite a few issues where on one machine the
    <cfform> worked fine, and on another it konked out.
    Anways, this is one of my most basic forms:
    =============================================
    PAGE1.cfm
    <html>
    <head>
    <script>
    function validate() {
    var IA = document.ContactUs;
    var errorMSG = "";
    if(IA.FullName.value == "") {errorMSG += "Full Name\n";}
    if(IA.Email.value == "") {errorMSG += "Email\n";}
    if(errorMSG != "") {
    alert("The following fields are required:\n\n" + errorMSG);
    return false;
    </script>
    </head>
    <body>
    <form name="ContactUs" action="page1_x.cfm" method="post"
    onSubmit="return validate();">
    <table>
    <tr>
    <td align="right">Name: </td>
    <td align="left"><input type="text" name="FullName"
    maxlength="50" size="25"></td>
    </tr>
    <tr>
    <td align="right">Email Address: </td>
    <td align="left"><input type="text" name="Email"
    maxlength="50" size="25"></td>
    </tr>
    <tr>
    <td align="right">Comments: </td>
    <td align="left"><textarea name="Comments"
    cols="20" rows="5" id="comments"></textarea></td>
    </tr>
    <tr>
    <td colspan="2">
    <input type="submit" name="SubmitContact"
    value="Submit">
    <input type="reset" name="Reset" value="Reset">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    =============================================
    =============================================
    page1_x.cfm
    <cfif isdefined("FORM.SubmitContact") and FORM.FullName
    NEQ "" and FORM.Email NEQ "">
    <!--- is all is OK, do whatever it is you want to do.
    --->
    <cfelse>
    <!--- if the submit button was no clicked, fullname and
    email (required fields) not filled out, send them back to the form
    --->
    <cflocation url="page1.cfm?status=1" addtoken="no">
    </cfif>
    =============================================
    Now, there is sooooo much more you can here for a full blown
    error-proof script. You can also check if the e-mail is a valid
    e-mail (server side), and if the field is a numeric field (like zip
    code, phone number, etc) then check if that field is valid, etc.
    This is just a run-of-mill simple form and validation
    submission using both client-side JS and server-side code.

Maybe you are looking for