Feedback form development

Dear all
I Developed Feedback using Java script with some validations...if the user submits it will go to the specified email id..which i was mentioned in Form action type..
My question is...There are nearly 7000 customers will login into portal everyday...I want know...Whether i can retrive the user details(Portal) into Feedback form. when ever he submits ..automatically that message has to go to the respective Branches..
Example:
CustA, CustB, CustC.. are belongs to BRANCH1
CustD, CustE, CustF.. are belongs to BRANCH2.
When ever customer logs into portal...when he submits the feedback about any issue or suggestion...automatically portal has to find ..this particular user belongs to Branch1.
Can anybody help me how do i build this logic...
Ur valuble inputs are appreciated with points
rgds
pradeep

Hi Pradeep,
first, you are using a form with action type mailto?! This is not the most clean solution, check http://www.netmechanic.com/news/vol3/form_no4.htm for example for some comments on this.
Anyhow, even if using this technique, you could render this script at server side with the mailto target dependent on the actual user. The user you get from the request, and how the mapping user <-> branch is done should be within your knowledge... So I cannot realise serious problems.
A more clean solution would be to implement the mailing funtionality on server side, so just grabbing the input from the form and creating a mail using JavaMail or some other mailing functionality from within the portal (all depending on JavaMail). Be aware that mails on server side should be transmitted asychronously for not getting a lag in the request-reponse cycle (and other reasons).
With this, it's early enough to check where the mail should be destinated when the filled in form reachs the server.
Hope it helps
Detlev

Similar Messages

  • Urgent !!!  Feedback Form Development

    Dear all
    I was trying to develop the Feedback form. I'm attaching the Source code below. According to the experts ...everybody suggested that..instead of using Service providers for sending mail...everybody using KM Services for sending mails. we already installed KM and collaboration.
    Can anyone..pl help me..to achive this feedback development.
    Kindly send me the code if anyone developed same kind of form using KM Services for sending mail...
    or do correct me my code...what went wrong.
    package Com.pradeep.Feedback;
    import java.util.GregorianCalendar;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    import com.sapportals.htmlb.enum.ButtonDesign;
    import com.sapportals.htmlb.enum.DataType;
    import com.sapportals.htmlb.enum.GroupDesign;
    import com.sapportals.htmlb.enum.TextViewDesign;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.htmlb.*;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    public class feedback  extends PageProcessorComponent {
         public DynPage getPage() {
              return new MyDynPage();
         public class MyDynPage extends DynPage {
              private final static int INITIAL_STATE = 0;
              private final static int SENTMAIL_STATE = 1;
              private final static int ERROR_STATE = 2;
              private final static int NO_FEEDBACK = 3;
              private int state = INITIAL_STATE;
              private String email_from;
              private String txtdescr;
              private String error_messg;
    Things to initialice once per session.
              public void doInitialization() throws PageException {
                   state = INITIAL_STATE;
    Will be called if forms with data was send.
              public void doProcessAfterInput() throws PageException {
                   InputField myInputField = (InputField) getComponentByName("EMAIL_ADDR");
                   HtmlEdit txtdescr = (HtmlEdit)getComponentByName("Edit_Text");
                   if (myInputField != null) {
                        this.email_from = myInputField.getValueAsDataType().toString();
                   if (txtdescr != null) {
                        this.txtdescr = txtdescr.getText();
    Will always be called before output. So this is the method in which
    the components will be placed and set.
                        public void doProcessBeforeOutput() throws PageException {
                             System.out.println("doProcessBeforeOutput");
                             Button myButton;
                             Form myForm = getForm();
                             Group myGroup = new Group();
                             myGroup.setWidth("370");
                             myGroup.setTitle("Suggestions or Feedback");
                             myGroup.setDesign(GroupDesign.SAPCOLOR);
                             myForm.addComponent(myGroup);
                             GridLayout gl = new GridLayout();
                             myGroup.addComponent(gl);
                             switch (state) {
                                  case INITIAL_STATE:
                                       GridLayout g2 = new GridLayout();
                                       g2.setCellSpacing(4);
                                       TextView txtdescr = new TextView("We want to make your opinion count so please provide any relevant suggestions or feedback you may have.  We will review all feedback in an effort to provide you with better services and improve the overall portal. Enter your comments below and click send.");
                                       txtdescr.setWrapping(true);
                                       txtdescr.setDesign(TextViewDesign.HEADER3);
                                       g2.addComponent(1, 1, txtdescr);
                                       TextView txtthank = new TextView("Thank you for your feedback!");
                                       txtthank.setDesign(TextViewDesign.HEADER3);
                                       g2.addComponent(2, 1, txtthank);
                                       gl.addComponent(1,1,g2);
                                       GridLayout g3 = new GridLayout();
                                       TextView txtemail = new TextView("Your email address (optional): ");
                                       txtemail.setDesign(TextViewDesign.HEADER3);
                                       g3.addComponent(6, 1, txtemail);
                                       InputField email_addr = new InputField("EMAIL_ADDR");
                                       email_addr.setType(DataType.STRING);
                                       email_addr.setSize(40);
                                       email_addr.setMaxlength(50);
                                       g3.addComponent(6, 2, email_addr);
                                       gl.addComponent(2,1,g3);
                                       HtmlEdit he = new HtmlEdit("Edit_Text");
                                       he.setHeight("300");
                                       he.setWidth("405");
                                       he.setDoPreview(false);
                                       he.setDoPrint(false);
                                       he.setDoCutCopyPaste(true);
                                       he.setDoList(true);
                                       he.setDoAlign(true);
                                       he.setDoInOutdent(true);
                                       he.setDoImage(false);
                                       he.setDoLink(true);
                                       he.setDoLinkKM(false);
                                       gl.addComponent(5, 1, he);
                                       myButton = new Button("submit", "Send");
                                       myButton.setOnClick("onSubmit");
                                       myButton.setWidth("100px");
                                       myButton.setDesign(ButtonDesign.EMPHASIZED );
                                       gl.addComponent(7, 1, myButton);
                                       break;
                                  case SENTMAIL_STATE:
                                       TextView label = new TextView("Thank you for your feedback.");
                                       gl.addComponent(1, 1, label);
                                       break;
                                  case NO_FEEDBACK:
                                    TextView lblnotext = new TextView("Please enter some feedback.");
                                    lblnotext.setDesign(TextViewDesign.HEADER3);
                                    gl.addComponent(1, 1, lblnotext);
                                    myButton = new Button("submit", "Back");
                                    myButton.setOnClick("onBack");
                                    myButton.setWidth("100px");
                                    myButton.setDesign(ButtonDesign.EMPHASIZED );
                                    gl.addComponent(2, 1, myButton);
                                    state = INITIAL_STATE;
                                    break;
                                case ERROR_STATE:
                                   TextView errortext = new TextView(error_messg);
                                   errortext.setDesign(TextViewDesign.HEADER3);
                                   errortext.setWrapping(true);
                                   gl.addComponent(1, 1, errortext);
                                   myButton = new Button("submit", "Try Again");
                                   myButton.setOnClick("onBack");
                                   myButton.setWidth("100px");
                                   myButton.setDesign(ButtonDesign.EMPHASIZED );
                                   gl.setCellSpacing(4);
                                   gl.addComponent(2, 1, myButton);
                                   state = INITIAL_STATE;                                 
              public void onSubmit(Event event) throws PageException {
                     if (txtdescr.equals("")) {
                           state = NO_FEEDBACK;
                     else {
                        send_mail();
                        if ( state != ERROR_STATE )
                        { state = SENTMAIL_STATE; }
              public void onBack(Event event) throws PageException {
              public void send_mail ()
              try{
    //               Set the host smtp address
                 Properties props = new Properties();
                      //put the smtp server here
                 props.put("123.12.12.25", "unilever.com");
    //             create some properties and get the default Session
                 Session session = Session.getDefaultInstance(props,null);
    //             create a message
                    Message msg = new MimeMessage(session);
    //                    set the from and to address
                   InternetAddress addressFrom;
                    if (email_from.equals("") )
                        addressFrom = new InternetAddress("anonymous");
                    else
                        addressFrom = new InternetAddress(email_from);
                     msg.setFrom(addressFrom);
                     InternetAddress addressTo = new InternetAddress("[email protected]");
                     msg.setRecipient(Message.RecipientType.TO,addressTo);
                     msg.setSubject("Portal Feedback");
                     msg.setContent(txtdescr, "text/html");
                     msg.setSentDate(new GregorianCalendar().getTime());
                   Transport.send(msg);
               } catch (Exception E){
                   state = ERROR_STATE;
                   error_messg = "Error sending mail:";
                   error_messg = error_messg.concat(E.getMessage());
    Kindly pl help me
    thx
    pradeep

    Hi Pradeep,
    Check out the following weblog. It explains sending mail in portal using dynpage.
    <b>How to perfom Mailing in portal using Dynpage.>
    REgards
    Rajeev.
    Do award points for helpful answers in SDN.

  • Feedback Form for SAP NetWeaver Gateway development tools

    Hi all, if you wish to send your feedback (bug, new feature, and general feedback) to SAP NetWeaver Gateway development tools u2013 Xcode, Visual Studio, Blackberry, Search console, please use the attached feedback forms:
    For Xcode and Visual Studio tools please use Feedback form XC&VS.rtf
    For Eclipse, Blackberry and Search console please use Feedback form BB&SC.rtf

    Hi Michal,
      While installing the Netweaver gateway plugin for eclipse Juno version through the following link
    https://tools.hana.ondemand.com/juno   under Help -> Install New Software... I have encountered below error.
    Can you please help me in resolving it.
    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    Unknown Host: https://tools.hana.ondemand.com/juno/features/com.sap.core.editor.feature_1.0.6.jar
    tools.hana.ondemand.com
    Many thanks in advance.
    Regards,
    Parthi

  • Feedback forms to be developed for services: Performance development

    Hi Experts,
    There is a requirement for creating a feedback forms for services (say A, B, C, D...J). These forms/template will have few questions and would be more like surveys.
    These feedback will be given by only few users.
    Can you please suggest/direct me on how to proceed with this requirement?
    Is there any standard feedback form template available which can be modified for this purpose?
    Many thanks for your help
    Best Regards,
    Kanika

    Hi Ram,
    NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).
    You should know the Application of a document first Like:
    for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.
    so first select the Application type (ex: EF) for PO and press OUtput types
    then a list will come in that you should know the related output type for PO.
    in this case it is NEU,
    select that and click on the processing Routines button on the lft side
    it will display the Medium, Driver Program and the Script form or smartform related to that document..
    Check thses sites...
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    Reward points if it is helpful..
    Regards,
    Omkar.

  • Using Oracle Forms Developer/Services 6i Release 2 with Oracle 9i

    Hello,
    I am trying to load Oracle Forms Developer/Services 6i Release 2 for Windows 95/98/NT/2000/XP with already installed Oracle 9i , I am able to use all the applications installed with 9i database but I am not able to use Forms with it, Please let me know if any of you have any thoughts or Idea around this, Also please let me know what version of Forms & Reports will go with Oracel 9i Database.
    Thanks,
    Ripal Patel

    Thank you for you postings - The Member Feedback forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions cannot be answered. However we recommend that you post this thread to the "Forms" forum.
    The URL is: Forms
    Thanks - The OTN team

  • Feedback form link broken

    The Release notes for the Sun App. Server 8, update 1 features several broken links (including that to the Bug Feedback form)
    The links are contained here: http://docs.sun.com/source/817-7422/releasenotes.html#wp1024635
    The broken links are:
    http://java.sun.com/docs/forms/J2EE14SubmittalForm.html
    http://archives.java.sun.com/archives/j2ee-interest.html
    http://developer.java.sun.com/servlet/SessionServlet?url=/developer/bugParade/index.jshtml

    Thanks for the heads up, looks like all three links on the relese notes page are broken. While the links are broken the text that represents the links are correct. Just click on the links in your message and you'll go where you want to go.
    Thanks again.

  • Oracle9iDS Forms Developer JDAPI and XMLTOOLS Javadoc Missing

    Oracle9iDS Forms Developer JDAPI and XMLTOOLS Javadoc ZIP file is missing. When you click on http://otn.oracle.com/documentation/9i_forms.html and scroll down to to Javadoc section, click on zip link moves you to http://otn.oracle.com/documentation/index.html which is wrong. Please take action and fix it!
    Cheers,
    Andrej Zabkar

    Hi Andrej,
    Thankyou for the feedback.
    I have fixed the link, please try once again.
    Regards,
    Les

  • Pdf feedback form question

    I have developed a feedback form through Adobe and I am considering purchasing a subscription however they will not have  internet access. I will be using a local network. Will I still be able to report answers without being online using a pdf form?

    Hi,
    >>they will not have  internet access. I will be using a local network. Will I still be able to report answers without being online using a pdf form?
    You will not be able to submit answers to FormsCentral without internet access or being online,
    Thanks,
    Lucia

  • HOW TO OPEN A FORM developed IN 10Gds REL2

    HI,
    How to open a form developed in 10gdsrelease 2 in 10g release1.
    It gives ros error.
    Thanks in Adv.
    Rup
    Message was edited by:
    Rup
    Message was edited by:
    Rup

    My suggestion would be to try converting the form to XML using <10gHome>\bin\frmf2xml.bat, and altering this XML to look like R1 XML. Simply changing the Module version might do the trick, but probably not.
    To see the difference between 10gR1 and 10gR2 XML formats, take a reasonably complex R1 form and convert it to XML. Next, upgrade that same form to R2 and convert it to XML. Compare the two XML files.
    Applying the knowledge gained from this comparison, modify the XML from your original R2 form. Try converting back to FMB using <10gHome>\bin\frmxml2f.bat Please share your findings with the forum!
    Hope this helps,
    Eric Adamson
    Lansing, Michigan
    PS: It is assumed that you have access to both 10gR1 and R2 installations!

  • How to open a FORM developed in 10gds release2 into 10gds release 1 ????

    How to open a FORM developed in 10gds release2 into 10gds release 1
    Thanks in adv.
    Rup
    Message was edited by:
    Rup

    Please check out the Forms.

  • Still not able to CONNECT to Forms Developer

    Yesterday I received gernerous help from forum participant Shay,
    who walked me through the setup process (TNS Listener and
    TNSNAMES.ora, etc.) but I still cannot connect. I'm missing
    something fundamental.
    I have MS Windows 2000 version of Oracle Personal Edition 8i
    installed in directory ora81. The version of SQL*Plus that
    came with it works fine--I can connect to the database, create,
    drop, insert, etc.
    Oracle Forms Developer 6 is installed in directory orant. I can open
    the application but not connect. I tried to use Net8 Easy Config to
    define a new entry in tnsnames.ora, but every attempt fails in the
    GUI's test. (I told Shay that I got the test to work, but I was
    mistaken.) Next I manually changed the the tnsnames.ora file in
    orant\NET80\ADMIN\tnsnames.ora, which then shows up in the Config
    tool but still fails the test to connect. How does this tnsnames.ora
    file work with the tnsnames.ora file in ora81\network\ADMIN?
    Meanwhile, Personal Edition is running fine. The tnslsnr is running.
    I looked both in Services and, using Task Manager, in Processes.
    Oracle.exe is also running. I ran lsnrctl status and got the following:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)
    (KEY=EXTPROC1)))
    ...and then it gives status info, which indicates listener is on.
    How do you get Forms Developer to connect to the database that is
    clearly running?

    Start the Oracle Net8 Easy Config from the start menu. Add a new service name:add the name of your database. Choose "Bequeath" as a type of protocole because you are connecting to a local database which is on your own machine. Change the default SID to the name of your database.
    I think it will work .

  • Help with Dreamweaver CS4 feedback form

    I am trying to get my first feedback form working properly.
    There are two problems:
    1. I can't click in the boxes to enter info. The only way to access them is to tab through.
    2. When I submit, it brings up a second blank feedback page in Safari. In Firefox, it just loops back to the empty feedback page.
    Any help would be appreciated as I running out of hair to pull out.
    Here is the php code:
    <?php /*
    // ------------- CONFIGURABLE SECTION ------------------------
    $mailto = '[email protected]' ;
    $subject = "Feedback Form" ;
    $formurl = "http://www.printit7.com/feedback.html" ;
    $thankyouurl = "http://www.printit7.com/thankyou.html" ;
    $errorurl = "http://www.printit7.com/error.html" ;
    $email_is_required = 1;
    $name_is_required = 1;
    $comments_is_required = 0;
    $uself = 0;
    $forcelf = 0;
    $use_envsender = 0;
    $use_sendmailfrom = 0;
    $smtp_server_win = '' ;
    $use_webmaster_email_for_from = 0;
    $use_utf8 = 1;
    $my_recaptcha_private_key = '' ;
    // -------------------- END OF CONFIGURABLE SECTION ---------------
    define( 'MAX_LINE_LENGTH', 998 );
    $headersep = $uself ? "\n" : "\r\n" ;
    $content_nl = $forcelf ? "\n" : (defined('PHP_EOL') ? PHP_EOL : "\n") ;
    $content_type = $use_utf8 ? 'Content-Type: text/plain; charset="utf-8"' : 'Content-Type: text/plain; charset="iso-8859-1"' ;
    if ($use_sendmailfrom) {
              ini_set( 'sendmail_from', $mailto );
    if (strlen($smtp_server_win)) {
              ini_set( 'SMTP', $smtp_server_win );
    $envsender = "-f$mailto" ;
    $fullname = isset($_POST['fullname']) ? $_POST['fullname'] : $_POST['name'] ;
    $email = $_POST['email'] ;
    $comments = $_POST['comments'] ;
    $http_referrer = getenv( "HTTP_REFERER" );
    if (!isset($_POST['email'])) {
              header( "Location: $formurl" );
              exit ;
    if (($email_is_required && (empty($email) || !preg_match('/@/', $email))) || ($name_is_required && empty($fullname)) || ($comments_is_required && empty($comments))) {
              header( "Location: $errorurl" );
              exit ;
    if ( preg_match( "/[\r\n]/", $fullname ) || preg_match( "/[\r\n]/", $email ) ) {
              header( "Location: $errorurl" );
              exit ;
    if (strlen( $my_recaptcha_private_key )) {
              $resp = recaptcha_check_answer ( $my_recaptcha_private_key, $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] );
              if (!$resp->is_valid) {
                        header( "Location: $errorurl" );
                        exit ;
    if (empty($email)) {
              $email = $mailto ;
    $fromemail = $use_webmaster_email_for_from ? $mailto : $email ;
    if (function_exists( 'get_magic_quotes_gpc' ) && get_magic_quotes_gpc()) {
              $comments = stripslashes( $comments );
    $messageproper =
              "This message was sent from:" . $content_nl .
              "$http_referrer" . $content_nl .
              "------------------------------------------------------------" . $content_nl .
              "Name of sender: $fullname" . $content_nl .
              "Email of sender: $email" . $content_nl .
              "------------------------- COMMENTS -------------------------" . $content_nl . $content_nl .
              wordwrap( $comments, MAX_LINE_LENGTH, $content_nl, true ) . $content_nl . $content_nl .
              "------------------------------------------------------------" . $content_nl ;
    $headers =
              "From: \"$fullname\" <$fromemail>" . $headersep . "Reply-To: \"$fullname\" <$email>" . $headersep . "X-Mailer: chfeedback.php 2.16.8" .
              $headersep . 'MIME-Version: 1.0' . $headersep . $content_type ;
    if ($use_envsender) {
              mail($mailto, $subject, $messageproper, $headers, $envsender );
    else {
              mail($mailto, $subject, $messageproper, $headers );
    header( "Location: $thankyouurl" );
    exit ;
    ?>
    Here is the form page code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Print It! Quote Form</title>
    <link href="site_styles.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
      var i,img,nbArr,args=MM_nbGroup.arguments;
      if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
          img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
          if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
          nbArr[nbArr.length] = img;
          for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = args[i+1];
            nbArr[nbArr.length] = img;
      } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
          nbArr[nbArr.length] = img;
      } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
          img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
      } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
          for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
          nbArr[nbArr.length] = img;
    //-->
    </script>
    <style type="text/css">
    <!--
    p {
              font-size: 135%;
    -->
    </style>
    </head>
    <body onload="MM_preloadImages('images/buttons/home_down.jpg','images/buttons/home_over.jpg','i mages/buttons/about_down.jpg','images/buttons/about_over.jpg','images/buttons/news_down.jp g','images/buttons/news_over.jpg','images/buttons/products_down.jpg','images/buttons/produ cts_over.jpg','images/buttons/contact_down.jpg','images/buttons/contact_over.jpg')">
    <div id="header">
      <div id="logo">
        <div align="center"><img src="images/header.jpg" alt="Welcome to Print It!" width="1024" height="231" border="0" usemap="#Map" />
          <map name="Map" id="Map">
            <area shape="rect" coords="542,125,976,205" href="mailto:[email protected]" alt="Email us!" />
          </map>
        </div>
      </div>
    </div>
    <div id="navigation">
      <div align="center">
        <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr align="center">
            <td><a href="index.html" target="_top" onclick="MM_nbGroup('down','group1','home','images/buttons/home_down.jpg',1)" onmouseover="MM_nbGroup('over','home','images/buttons/home_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/home_up.jpg" alt="Home" name="home" width="144" height="31" border="0" id="home" onload="" /></a></td>
            <td><a href="about.html" target="_top" onclick="MM_nbGroup('down','group1','about','images/buttons/about_down.jpg',1)" onmouseover="MM_nbGroup('over','about','images/buttons/about_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/about_up.jpg" alt="About Print It!" name="about" width="144" height="31" border="0" id="about" onload="" /></a></td>
            <td><a href="news.html" target="_top" onclick="MM_nbGroup('down','group1','news','images/buttons/news_down.jpg',1)" onmouseover="MM_nbGroup('over','news','images/buttons/news_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/news_up.jpg" alt="News" name="news" width="144" height="31" border="0" id="news" onload="" /></a></td>
            <td><a href="products.html" target="_top" onclick="MM_nbGroup('down','group1','products','images/buttons/products_down.jpg',1)" onmouseover="MM_nbGroup('over','products','images/buttons/products_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/products_up.jpg" alt="Products / Services" name="products" width="144" height="31" border="0" id="products" onload="" /></a></td>
            <td><a href="feedback.html" target="_top" onclick="MM_nbGroup('down','group1','contact','images/buttons/contact_down.jpg',1)" onmouseover="MM_nbGroup('over','contact','images/buttons/contact_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/contact_up.jpg" alt="Contact Print It!" name="contact" width="144" height="31" border="0" id="contact" onload="" /></a></td>
          </tr>
        </table>
      </div>
    </div>
    <div id="body-text">
      <h1>Contact us<em></em></h1>
    <p align="center">Call us at the phone number above, email us by clicking on our <br />
      email address above,
      or use this  form to request a quote. </p>
    </div>
    <div id="body-text">
      <form action="feedback.php" method="post" enctype="text/plain" name="form1" target="_blank" class="form_text" id="form1">
        <label>
          <div align="left" class="form_text">
            <p>Name
            <br />
            <input name="name" type="text" id="name" maxlength="50" />
            </p>
            <p>      Company Name <br />
            <input name="company" type="text" id="company" maxlength="50" />
            </p>
            <p>
              <label>Phone Number
                <br />
                <input name="phone" type="text" id="phone" maxlength="50" />
              </label>
            </p>
            <p>
            <label>Email Address
              <br />
              <input name="email" type="text" id="email" maxlength="50" />
            </label>
            </p>
            <p>
            <label>Preferred Response<br />
              <select name="preferred_contact" id="preferred_contact">
                <option>By Email</option>
                <option>By Phone</option>
              </select>
              <br />
              <br />
            </label>
            <strong>PROJECT INFORMATION</strong></p>
            <p>
      <label>Project Name
        <br />
        <input name="project_name" type="text" id="project_name" maxlength="50" />
      </label>
            </p>
            <p>
              <label>Quantities to Quote
                <br />
                <input type="text" name="quantites" id="quantites" />
              </label>
            </p>
            <p>
              <label>Finished Size
                <br />
                <input type="text" name="size" id="size" />
              </label>
            </p>
            <p>
              <label>
                <input type="radio" name="sides" value="one side" id="sides_0" />
              1 Side<br />
              </label>
              <br />
              <label>
                <input type="radio" name="sides" value="two sides" id="sides_1" />
              2 Sides</label>
            </p>
            <p>
              <label>Colors - Side 1
                <br />
                <select name="colors_side1" id="colors_side1">
                  <option value="Black">Black</option>
                  <option value="Spot Color">Spot Color</option>
                  <option value="Black + Spot Color">Black + Spot Color</option>
                  <option value="Full Color">Full Color</option>
                  <option value="Other">Other - Describe Below</option>
                </select>
              </label>         
            </p>
            <p>
              <label>Colors - Side 2<br />
                <select name="colors_side2" id="colors_side2">
                  <option value="Black">Black</option>
                  <option value="Spot Color">Spot Color</option>
                  <option value="Black + Spot Color">Black + Spot Color</option>
                  <option value="Full Color">Full Color</option>
                  <option value="Other">Other - Describe Below</option>
                </select>
              </label>
            </p>
            <p class="form_text">
              <label>Paper Weight
                <br />
                <input name="paper_weight" type="text" id="paper_weight" maxlength="50" />
                <br />
                <br />
                Paper Color
                <br />
                <input name="paper_color" type="text" id="paper_color" maxlength="50" />
                <br />
    <br />
                Paper Type (gloss, plain, carbonless, etc.)
                <br />
                <input name="paper_type" type="text" id="paper_type" maxlength="50" />
                <br />
    <br />
                Bindery Information (folding, perfing, etc.)
                <br />
                <textarea name="bindery" cols="100" rows="5" class="form_text" id="bindery"></textarea>
                <br />
                <br />
                Additional Information <br />
                <textarea name="additional_info" id="additional_info" cols="100" rows="10"></textarea>
                <br />
                <br />
                <input type="submit" name="Submit" id="Submit" value="Send Feedback" />
                <br />
                <br />
              </label>
              <br />
            </p>
          </div>
        </label>
      </form>
    </div>
    </body>
    </html>

    Here is the current code from the feedback page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Print It! Quote Form</title>
    <link href="site_styles.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
      var i,img,nbArr,args=MM_nbGroup.arguments;
      if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
          img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
          if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
          nbArr[nbArr.length] = img;
          for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = args[i+1];
            nbArr[nbArr.length] = img;
      } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
          nbArr[nbArr.length] = img;
      } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
          img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
      } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
          for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
          nbArr[nbArr.length] = img;
    //-->
    </script>
    <style type="text/css">
    <!--
    p {
              font-size: 135%;
    -->
    </style>
    </head>
    <body onload="MM_preloadImages('images/buttons/home_down.jpg','images/buttons/home_over.jpg','i mages/buttons/about_down.jpg','images/buttons/about_over.jpg','images/buttons/news_down.jp g','images/buttons/news_over.jpg','images/buttons/products_down.jpg','images/buttons/produ cts_over.jpg','images/buttons/contact_down.jpg','images/buttons/contact_over.jpg')">
    <div id="header">
      <div id="logo">
        <div align="center"><img src="images/header.jpg" alt="Welcome to Print It!" width="1024" height="231" border="0" usemap="#Map" />
          <map name="Map" id="Map">
            <area shape="rect" coords="542,125,976,205" href="mailto:[email protected]" alt="Email us!" />
          </map>
        </div>
      </div>
    </div>
    <div id="navigation">
      <div align="center">
        <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr align="center">
            <td><a href="index.html" target="_top" onclick="MM_nbGroup('down','group1','home','images/buttons/home_down.jpg',1)" onmouseover="MM_nbGroup('over','home','images/buttons/home_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/home_up.jpg" alt="Home" name="home" width="144" height="31" border="0" id="home" onload="" /></a></td>
            <td><a href="about.html" target="_top" onclick="MM_nbGroup('down','group1','about','images/buttons/about_down.jpg',1)" onmouseover="MM_nbGroup('over','about','images/buttons/about_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/about_up.jpg" alt="About Print It!" name="about" width="144" height="31" border="0" id="about" onload="" /></a></td>
            <td><a href="news.html" target="_top" onclick="MM_nbGroup('down','group1','news','images/buttons/news_down.jpg',1)" onmouseover="MM_nbGroup('over','news','images/buttons/news_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/news_up.jpg" alt="News" name="news" width="144" height="31" border="0" id="news" onload="" /></a></td>
            <td><a href="products.html" target="_top" onclick="MM_nbGroup('down','group1','products','images/buttons/products_down.jpg',1)" onmouseover="MM_nbGroup('over','products','images/buttons/products_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/products_up.jpg" alt="Products / Services" name="products" width="144" height="31" border="0" id="products" onload="" /></a></td>
            <td><a href="feedback.html" target="_top" onclick="MM_nbGroup('down','group1','contact','images/buttons/contact_down.jpg',1)" onmouseover="MM_nbGroup('over','contact','images/buttons/contact_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="images/buttons/contact_up.jpg" alt="Contact Print It!" name="contact" width="144" height="31" border="0" id="contact" onload="" /></a></td>
          </tr>
        </table>
      </div>
    </div>
    <div id="body-text">
      <h1>Contact us<em></em></h1>
    <p align="center">Call us at the phone number above, email us by clicking on our <br />
      email address above,
      or use this  form to request a quote. </p>
    </div>
    <div id="body-text">
      <form action="feedback.php" method="post" enctype="text/plain" name="form1" target="_blank" class="form_text" id="form1">
          <div align="left" class="form_text">
            <p>
            <label>Name <br />
            <input name="name" type="text" id="name" maxlength="50" />
            </label>
            </p>
            <p class="form_text">
              <label>Company Name <br />
            <input name="company" type="text" id="company" maxlength="50" />
            </label>
            </p>
            <p class="form_text">
              <label>Phone Number
                <br />
                <input name="phone" type="text" id="phone" maxlength="50" />
              </label>
            </p>
            <p class="form_text">
              <label>Email Address
              <br />
              <input name="email" type="text" id="email" maxlength="50" />
            </label>
            </p>
        <p class="form_text">
              <label>Preferred Response<br />
              <select name="preferred_contact" id="preferred_contact">
                <option>By Email</option>
                <option>By Phone</option>
              </select>
              <br />
              <br />
            </label>
            <strong>PROJECT INFORMATION</strong></p>
            <p class="form_text">
              <label>Project Name
        <br />
        <input name="project_name" type="text" id="project_name" maxlength="50" />
      </label>
            </p>
            <p class="form_text">
              <label>
             Quantities to Quote
                <br />
                <input type="text" name="quantites" id="quantites" />
              </label>
            </p>
            <p class="form_text">
              <label>Finished Size
                <br />
                <input type="text" name="size" id="size" />
              </label>
            </p>
            <p>
              <label>
                <input type="radio" name="sides" value="one side" id="sides_0" />
              1 Side<br />
              </label>
              <br />
              <label>
                <input type="radio" name="sides" value="two sides" id="sides_1" />
              2 Sides</label>
            </p>
            <p class="form_text">
              <label>Colors - Side 1
                <br />
                <select name="colors_side1" id="colors_side1">
                  <option value="Black">Black</option>
                  <option value="Spot Color">Spot Color</option>
                  <option value="Black + Spot Color">Black + Spot Color</option>
                  <option value="Full Color">Full Color</option>
                  <option value="Other">Other - Describe Below</option>
                </select>
              </label>         
            </p>
            <p class="form_text">
              <label>Colors - Side 2<br />
                <select name="colors_side2" id="colors_side2">
                  <option value="Black">Black</option>
                  <option value="Spot Color">Spot Color</option>
                  <option value="Black + Spot Color">Black + Spot Color</option>
                  <option value="Full Color">Full Color</option>
                  <option value="Other">Other - Describe Below</option>
                </select>
              </label>
            </p>
            <p class="form_text">
              <label>Paper Weight
                <br />
                <input name="paper_weight" type="text" id="paper_weight" maxlength="50" />
                </label><br />
               <p class="form_text">
              <label>Paper Color
                <br />
                <input name="paper_color" type="text" id="paper_color" maxlength="50" />
                </label>
                </p>
    <p class="form_text">
              <label>Paper Type (gloss, plain, carbonless, etc.)
                <br />
                <input name="paper_type" type="text" id="paper_type" maxlength="50" />
                </label>
                </p>
                <p class="form_text">
              <label>Bindery Information (folding, perfing, etc.)
                <br />
                <textarea name="bindery" cols="100" rows="5" class="form_text" id="bindery"></textarea>
                </label>
                </p>
                <p class="form_text">
              <label>Additional Information <br />
                <textarea name="additional_info" id="additional_info" cols="100" rows="10"></textarea>
                </label>
                </p>
                <br />
                <input type="submit" name="Submit" id="Submit" value="Send Feedback" />
                <br />
                <br />
              </label>
              <br />
            </p>
          </div>
      </form>
    </div>
    </body>
    </html>

  • Calling Stored procedure in Oracle 11g from Oracle forms developer 6i

    We have Oracle 11g (11.1.0.7.0 ) database (64 bit) installed on Windows Server 2008.
    In this database, we have stored procedure ABC(arg1) which is accesing a table in another instance through DB LINK. If we EXECUTE this procedure from SQL/TOAD. It runs successfully and generates the desired output.
    If we write the contents of the stored procedure in the PROGRAM UNIT / ANY TRIGGER in FORM 6i then also, It runs successfully and generates the desired output.
    It is also mentioned, that if we try to use any table in the same instance (and not through DBLINK) then it works fine.
    However, if we try to call this stored procedure (which is  accesing a table in another instance through DB LINK) from  ORACLE FORMS  6i  in WHEN-BUTTON-PRESSED trigger then the FORM BUILDER gets hanged while compiling the form developed in FORMS 6i.
    Please provide a solution to this problem.
    THANKS IN ADVANCE.
    Hemant Singh.
    Asstt. Manager(IT)
    Software development team.

    Forms 6i was never meant to run against a 11g database, this was not tested and is also not supported.Well, that is not completely true. Developer 6i is supported against a 11g database, but only for Oracle Apps R11. That means that for most other customers (not Apps) Forms 6i will work against an 11g database. However, only Apps R11 is supported, and patches are only created specifically for Apps. We are also running Forms 6i against an 11g database without (well, minor) problems.
    In this case, you need to find a solution. You can try to put the stored procedure in a package. The package body, with the reference to the remote table, will be hidden from Forms this way.

  • How to install downloaded Oracle Forms Developer/Services 6i Release 2 for linux

    Hi folks,
    I downloaded d2k6irelease2.tar (Oracle Forms Developer/Services 6i Release
    2 for linux) from
    http://otn.oracle.com/software/products/forms/htdocs/linuxsoft.html
    I untar the file on my linux machine however the extracted files don't
    seem to contain any installing program. I didn't find products.jar in the
    files and there are no script to install the software. I read the attached
    doc, however it only assumes that the installation is from CD-ROM. The doc
    doesn't help anything for this downloaded software. I wonder if anyone
    here know how to install it. Thank you so much.
    Best regards,
    Kai Huang

    There should be a text based installer in the /orainst sub-
    directory
    In that directory, just run the script:
    ./orainst
    The installer seems to require libXm.a, which wasn't included in
    my RH 7.1 installation, so I had to install the motif-
    development libraries before the full install would complete
    successfully.

  • Printing Arabic Text in a Form Developed in Language 'EN'

    HI All,
    I have a form developed in EN language when we take a print out of the form there is a Description for the Material in Arabic
    which is Read from the Header Texts, When this Description comes in Print Privew it comes in a Inverted way that is the Text is comming from right to left .
    I have Created the Form in Arabic also but in that case the Text of English Descriptions are changing and the entire form becomes right aligned .
    I have also tried Taking out printouts using the Arabic Printer Drivers like 16swin etc
    I have also used charcter family as Andale_J , etc  which ever are ment for Arabic and used it for that variable but the result is same .
    Awaiting for Response

    Hi Shiv Bose and Amith ...
    I am having the same problem. Please could guide me how to solve this problem? Thanks in Advace.
    awaiting for your reply.
    Kind Regards,
    Shekher

Maybe you are looking for