Required Fields Not Working in LiveCycle Designer 7.0

Hi, I'm new to LiveCycle Designer and scripting. I have created a 12 page form with "User Entered - Required" fields on the first 11 pages. My problem is that once information is entered in the required fields on page 1, the form is allowing the user to submit without completing the remaining required fields. I am using the "Email Submit" button at the end of my form. Any help would be appreciated.

Hi Sudhir,
May be script is not generating.  Can you find the follwoing piece of code in your Submit button click event:
     ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
Do one thing :
open your form from Tcode: SFP in change mode.  And on top there is an option called Utilities.
Under that select "Insert Webdynpro Script".  Activate your form.
Regards,
Ravi.D

Similar Messages

  • Debug not showing & required fields not working

    I have MX 7.0.2 Developer's Version installed on W2K and MX
    7.0.2 on W2003 soon to be production server. On my Developer's
    Version the debug output shows up and the required fields using an
    input tag work. The same code on the production server, with the
    same admin settings doesn't show debug output and the required
    fields don't catch that the field is blank. I have read in the
    forum that it is very likely that the /cfide virtual mapping is not
    configured correctly, but not specifically how to fix the problem.
    I see cfide in the admin setting, mappings on the production server
    and have tried turning debug on and off, but still no debug output
    and required fields not catching and not showing validation
    message. Any help would be appreciated.

    Hi Amit,
    Do you mean to say that you are not able to see these settings in SE16 where as other users are able to? If that is the case , there might be an authorization problem for you.
    or try logging off and loginto the system. that should work sometimes. If not try to go to SU53 and check whether your auth has failed to see for this table.
    Regards
    Srini

  • "Submit" action not working in Livecycle Designer 8.0

    I have designed an Interactive form in WD ABAP. I have employee data fields to be filled in by the user. I have provided a Submit button on the form and defined an action for the Interactive form UI element OnSubmit event. But when the user clicks "Submit" on the form in Online interactive form, the method defined for the action is not getting triggerred. I am using Livecycle Designer 8.0. There are many categories of elements in this new version and the Submit button element is provided in more than one category. I tried all of them but none of them worked.
    Any inputs regarding this will be greatly appreciated.

    Hi Sudhir,
    May be script is not generating.  Can you find the follwoing piece of code in your Submit button click event:
         ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    Do one thing :
    open your form from Tcode: SFP in change mode.  And on top there is an option called Utilities.
    Under that select "Insert Webdynpro Script".  Activate your form.
    Regards,
    Ravi.D

  • Power view in SharePoint - Required fields not working!!!

    Hi,
    We have SharePoint 2013 and SQL Server 2014 and SSRS in SharePoint integrated mode.
    We have a "Microsoft BI Semantic Model for Power View"-data connection in a document library and by clicking it users can create their own Power View reports.
    We have in the document library defined a couple of columns as required.
    When a user saves their Power View report(File->Save as) to the document library, the required fields are left blank. They are not checked!!!
    WHY?
    Does Power View use REST when saving to the document library?
    This question should be in SQL Server/Power View/SharePoint -forumns, but MSDN forces you to select only one.
    How can we enforce the checking of required columns???

    It might be the result of nested script tags.
    <script type="text/javascript">
    <!--
    <!--
    Remote one of those opening tags and remove the closing tag in between the scripts.
    Also, I'm not sure if you are aware, but your site looks completely broken in Firefox. Edges are ragged and the text runs off the page in places. This is the result of using a graphics program to create your html. Image ready slices are fine for prototyping, but not suitable for production work because they create code that is fragile and too rigid.
    I also would not use the Flash header you have used just to display imges. I suggest using a more accessible method.

  • Conditional creation of accounts in a resource - required field not working

    Hi,
    We want to conditionally create account objects in a resource, based upon whether or not the users account has a non-empty value for a particular atttribute.
    To me this seems to be what the 'required' attribute on a field is for, in theory I should be able to tag a field as required, and then if an account dosn't have a value for the attribute, it won't be created on the resource.
    The Help, from IDM6.0, says the following:
    Required -- If this attribute is required to create an account on the resource,
    select the option. This selection applies only when creating accounts.
    When I try to do this though, it fails, it goes ahead and creates the account within the resource anyway.
    So what did I do wrong, or am I misunderstanding the meaning of this.
    To test this, I created 2 XML Resources, Res1, and Res2.
    I specified that Res1 had accountId, and email as attributes.
    I specified that Res2 had accountId, and email as attributes, but ticked email as required.
    I made accountId the idntity template in both cases.
    I then created 2 test accounts test1, and test2, but only gave an email address to test1, but assigned both resources to both accounts.
    Both resource xml files had both users listed.
    For those who care more, the reason we want to do this is that we are running an LDAP with a sendmail tree, and want to populate this via IDM, all our users have email accounts, but not all have email aliases. Therefore, we only need some of the users to have entries that look like this.
    sendmailMTAKey=fred.bloggs, ou=sendmail, o=anu.edu.au
    sendmailMTAHost=anu.edu.au
    sendmailMTAAliasValue=u1234567
    sendmailMTAKey=fred.bloggs
    sendmailMTAAliasGrouping=aliases
    objectClass=sendmailMTA
    objectClass=sendmailMTAAlias
    objectClass=sendmailMTAAliasObject
    objectClass=top
    So I guess the question is really 2 things, what am I doing wrong with conditional account creation? Is this the right way to create these entries in the LDAP sendmail tree?

    Hi again,
    For those who care, I've got a resolution to the specific problem I mentioned in the above post, even if no answer to the general question of conditionally adding accounts on resources.
    In this specific case, I had been given a poor description of the requirements of the sendmail schema. It turned out on closer investigation that a single ldap record could hold all the information needed. It seems the sendmai schema had been implemented inefficiently locally, before we looked to run it through IDM.

  • AT END OF for char field not working

    Hi all,
    AT END OF (char field) not working,
    I sorted the itab and also avoid the stars(*) problem also, but its not working.
    Thanks in advance.
    Edited by: Vijay Babu Dudla on Jan 28, 2009 11:01 PM

    Hi, Niranjan
    Test the following Sample Code it will solve out your Problem,
    " This is not working properly right now.
    TYPES: BEGIN OF t_name,
      name1(10),  " if You Change Cut the Name2 from the 2nd line and past it up to the Name one will work fine
      name2(10),
      amount1 TYPE p,
      amount2 TYPE p,
      END OF t_name.
    DATA: it1_sum TYPE STANDARD TABLE OF t_name WITH HEADER LINE,
          wa_it1_sum TYPE t_name,
          it2_sum TYPE STANDARD TABLE OF t_name WITH HEADER LINE,
          wa_it2_sum TYPE t_name.
    wa_it1_sum-name1 = 'AAAAAA'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 500.
    wa_it1_sum-amount2 = 200.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'AAAAAA'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 500.
    wa_it1_sum-amount2 = 200.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'BBBBBB'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 100.
    wa_it1_sum-amount2 = 200.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'AAAAAA'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 500.
    wa_it1_sum-amount2 = 10000.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'BBBBBB'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 105000.
    wa_it1_sum-amount2 = 20500.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'BBBBBB'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 21000.
    wa_it1_sum-amount2 = 22000.
    APPEND wa_it1_sum  TO it1_sum.
    SORT it1_sum BY name1 name2.
    LOOP AT it1_sum INTO wa_it1_sum.
      APPEND wa_it1_sum TO it2_sum.
      AT END OF name2. " When you will use this in this Condition it will give you wrong Because this row is on number two and
                       " it is not changing but the Row one is Changing so it will work fine if LEFT MOST
        SUM.
        wa_it1_sum-name1 = 'End Name 2'.
        wa_it1_sum-name2 = 'End Name 2'.
        APPEND wa_it1_sum TO it2_sum.
      ENDAT.
      AT LAST.
        SUM.
        wa_it1_sum-name1 = 'At Last'.
        APPEND wa_it1_sum TO it2_sum.
      ENDAT.
    ENDLOOP.
    Please Reply if need more help about it.
    Kind Regards,
    Faisal

  • I would like an immediate reaccredit of my account after buying an app that do not work iWeb Theme Designs, v1.0, Éditeur : Vitalijus Vysniauskas (4 )

    I would like an immediate reaccredit of my account after buying an app that do not work,  iWeb Theme Designs, v1.0, Éditeur : Vitalijus Vysniauskas (4 ).. this app is not compatible with iweb french

    You will not receive direct help with this problem by posting here. Everyone here is just a fellow user, so all you'll get here is advice on how to proceed.
    You can contact Mac App Store Customer Service and ask for a refund, but there is no guarantee you'll get one. Before you ask for a refund, I'd suggest contacting the developer and asking for assistance:
    http://www.iwebthemespark.com/Support.html
    If they tell you there's no solution, that will give you a better case to present to the App Store for justifying a refund.
    Regards.

  • Digital signatures not working for LiveCycle forms in Acrobat Reader

    Hello, when I create a Form in LiveCycle Designer with signature fields, I open the form in Acrobat XI and save the form with extended features (File-->Save As Other-->Extended Features-->Enable Tools), but then when I open the "extended features" form in Acrobat Reader, the signature fields do not work (click the field, but no signature prompt appears).  I do not have this problem when extended features are enabled in Acrobat X.  Why do they not work when they are enabled in Acrobat XI?

    Hi Adam LaClair,
    Please try the steps mentioned below to get the issue fixed.
    1) For Windows :-
    Open Default Programs by clicking the Start button , and then clicking Default Programs.
    Click Associate a file type or protocol with a program.
    Click the file type or protocol that you want the program to act as the default for.
    Click Change program.
    Select Adobe Acrobat for PDF and APPLY.
    2) For MAC
    Click one of the files in the Finder.
    Choose File→Get Info (Command+I).
    In the Info window, click the gray triangle to disclose the Open With pane.
    From the pop-up menu, choose an application Adobe Acrobat
    Click on Change all
    Thanks,
    Vikrantt Singh

  • Why this acroform script not working in livecycle E2

    I have this script on a acroform and it works great, but when try in live cycle it does not do anything, Can someone think of the reason? Essentially the value in drop down is populated in text filed but want t make a 1d barcode so using barcode font!
    event.value = ""; // clear the field;
    var oField = this.getField("NAME1");
    if(oField != null) {
    // populate if not null;
    // get the value of the field object and add guard bits and LA;
    event.value = "*LA" + oField.value + "*";}

    The various object models for scripting in an XFA form are almost entirely different than they are for an AcroForm, so you generally cannot have interchangeable scripts. I'd suggest you ask in the LiveCycle Designer forum for help.

  • Help for date field not working after upgrade

    hi experts,
    In our BSP application for a page we had an inputfield (date).
    Onvaluehelp for input field we were calling the saphelpdate function.
    however after upgrade this functionality is not working properly as no pop up comes after clicking on the icon.
    we have upgraded to SPS 16 recently.
    please help me.
    regards,
    Arvind.

    Hi, I try upper case but nothing happen. This is all my code by far, I hope you can help me:
    DATA: BEGIN OF T_PCONT OCCURS 0,
          PCONT LIKE ZPSPERMISOS-PSOBKEY,
    END OF T_PCONT.
    DATA: BEGIN OF T_FIELDS OCCURS 0.
            INCLUDE STRUCTURE help_value.
    DATA END OF T_FIELDS.
    DATA: BEGIN OF T_VALUES OCCURS 0,
          VALUE(60) TYPE c.
    DATA: END OF T_VALUES.
    DATA: N TYPE i.
    SELECTION-SCREEN BEGIN OF BLOCK  b20 WITH FRAME TITLE text-b02.
      SELECT-OPTIONS:
        P_CONT FOR  ZPSPERMISOSH-PSOBKEY OBLIGATORY NO-EXTENSION NO INTERVALS,
        P_INT  FOR  ZPSPERMISOSH-PARTNER OBLIGATORY NO-EXTENSION NO INTERVALS,
        P_FEC  FOR  ZPSPERMISOSH-ZFINICN NO-EXTENSION NO INTERVALS,    
        P_RAZ  FOR  ZPSPERMISOSH-ZRAZONFINIC NO-EXTENSION NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK b20.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_CONT-LOW.
      PERFORM P_HELP_P_CONT USING P_CONT-LOW.
    *&      Form  P_HELP_P_CONT
    FORM P_HELP_P_CONT  USING P_P_CONT.
      DESCRIBE TABLE T_PCONT LINES N.
      IF N EQ 0.
        T_FIELDS-FIELDNAME  = 'PSOBKEY'.
        T_FIELDS-TABNAME    = 'ZPSPERMISOS'.
        T_FIELDS-SELECTFLAG = 'X'.
        APPEND T_FIELDS.
        CLEAR T_FIELDS.
        SELECT PSOBKEY FROM ZPSPERMISOS
        INTO  TABLE T_PCONT.
        SORT T_PCONT BY PCONT.
      CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'
        EXPORTING
          CUCOL        = 10
          CUROW        = 1
          TABNAME      = 'T_PCONT'
          FIELDNAME    = 'PCONT'
        IMPORTING
          SELECT_VALUE = P_P_CONT
        TABLES
          FIELDS       = T_FIELDS
          VALUETAB     = T_VALUES.
    ENDFORM.                    " P_HELP_P_CONT
    Edited by: J. Garibaldi on Nov 25, 2009 11:14 AM
    Edited by: J. Garibaldi on Nov 25, 2009 11:16 AM

  • Unable to embed External CSS file, dropdown list,filter panel and dimension filter are not working in SAP Design Studio Tool

    Hello Everyone,
    I am new to SAP Design Studio. I am working on creating dashboards and I am using Design Studio 1.2 version. Please suggest some solutions for the following issues. Thanks in Advance.
    1. External CSS file which is embeded using custom CSS option under "application component properties" is not working.
        * I kept the external CSS file inside repository-> my application folder.
    2. During runtime, getting javascript error while selecting '-' option from filter panel.
    3. Unable to select or type dimension name under "dimension filer component" properties.
    4. Getting runtime error for dropdown list, and I have inserted the following code under "onStartup" option of Application component properties.
    "DROPDOWN_1.setItems(DS_1.getMemberList("PRODUCTREF", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
    and dimension values are not populated in auto suggest."

    There should be an Error Log under View > Error Log that gives you more details of these errors.  Could you add that?  There is also a View > Script Problems log that provides more details as well.

  • Javascript function not working in LiveCycle

    I've just completed importing an existing acrobat form into LiveCycle for editing.  During the import process, I received this LiveCycle warning:
    The form includes a simple JavaScript Function that looks really good, but probably doesn't reference the correct objects in the form. Here's the Code:
    topmostSubform.Page1.Text1::calculate - (JavaScript, client)
    (function() {
    var v1 = Number(this.getField ("MinutesRow1").value);
    var v2 = Number(this.getField ("MinutesRow2").value);
    var v3 = Number(this.getField ("MinutesRow3").value);
    var v4 = Number(this.getField ("MinutesRow4").value);
    var v5 = Number(this.getField ("MinutesRow5").value);
    var v6 = Number(this.getField ("MinutesRow6").value);
    var v7 = Number(this.getField ("MinutesRow7").value);
    var v8 = Number(this.getField ("MinutesRow8").value);
    var v9 = Number(this.getField ("MinutesRow9").value);
    var v10 = Number(this.getField ("MinutesRow10").value);
    var v11 = Number(this.getField ("MinutesRow11").value);
    var v12 = Number(this.getField ("MinutesRow12").value);
    var v13 = Number(this.getField ("MinutesRow13").value);
    var v14 = Number(this.getField ("MinutesRow14").value);
    var v15 = Number(this.getField ("MinutesRow15").value);
        //perform the calculation
        var result = (v1+v2+v3+v4+v5+v6+v7+v8+v9+v10+v11+v12+v13+v14+v15)/60;
        //set the value of this field to the result
        event.value = result;
    The object references seem to be correct, and the code seems solid. Does anyone have any ideas?

    Hi.
    AcroForms (forms created in Acrobat) use a version of JavaScript that is close to Code JavaScript. So syntax like this.getField are specific to AcroForms.
    XFA Forms (forms created in LiveCycle Designer) are completely different. The version of JavaScript has subtle but important differences.
    For example, "this" in AcroForms means the document, whereas in XFA Forms, "this" refers to the object that contains the script.
    Have a look here at an example that explains how to reference objects in LC Designer: http://assure.ly/kUP02y.
    So for example:
    function myFunction () {
    var v1 = MinutesRow1.rawValue;
    // the rest of the variables
    var myResult = (v1+v2+v3+v4+v5+v6+v7+v8+v9+v10+v11+v12+v13+v14+v15)/60;
    return myResult;
    Good luck,
    Niall

  • Get the value from dropdown list (selectedIndex) and text field -- not working

    Hi All,
    I am trying to find and change by the values selected by user using dropdown and text field. Here is the code.
    ChangeRevDetails();
    function ChangeRevDetails(){
              var myDialog = app.dialogs.add({name:"Enter copyright information"});
    //    var monthlist = col1.dropdowns.add('myList', undefined, myList);
              var col1 = myDialog.dialogColumns.add();
              var col2 = myDialog.dialogColumns.add();
        col1.staticTexts.add({staticLabel:"Month:"});
              col1.staticTexts.add({staticLabel:"Year:"});
        col1.staticTexts.add({staticLabel:"Rev. no.:"});
        var myList = [ "January", "February",  "March", "April", "March", "April", "May", "June", "July", "August", "Sepetember", "October", "November", "December" ];
         var myMonth = col2.dropdowns.add({stringList:myList, selectedIndex:0, minWidth:100});//{minWidth:100});
         var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});  
         var MyRev = col2.textEditboxes.add({minWidth:100});
        var RevMonth = (myList [myMonth.selectedIndex]);
        var RevYear = myYear.editContents;
        var RevNumber = MyRev.editContents;
        var RevToReplace1 = RevMonth +", "+ RevYear;
        var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
        var myResult = myDialog.show();
            if(myYear.editContents == "") //entry is ""
            alert("Please enter some text into the contents field.");
            ChangeRevDetails();
            else if(myResult == true) //user entered datas
                alert (RevMonth);
                alert (RevYear);
                alert (RevNumber);
                alert (RevToReplace1);
                alert (RevToReplace2);
                app.findGrepPreferences = NothingEnum.nothing;
                app.changeGrepPreferences = NothingEnum.nothing;
                // grep find/change
                app.findGrepPreferences = app.changeGrepPreferences = null;      
                app.findGrepPreferences.findWhat = "[\\l\\u]+?\\s?\\d{4},?\\s+[\\l\\u]+\\.*\\s+\\d+";
                app.findGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
                app.changeGrepPreferences.changeTo = RevToReplace1;
                app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
                app.activeDocument.changeGrep();
                app.findGrepPreferences = NothingEnum.nothing;
                app.changeGrepPreferences = NothingEnum.nothing;
        else //implies user clicked cancel
        myDialog.destroy();
    The problem is, it is not taking the value which the user selects from the dropdown and the text field. It takes the default value as "January" and the year is "2013" as both of these values are given as selectedIndex:0 and editContents:"2013". I have compared the coding with some other working scripts as well, but it is not working. I have added several alert boxes to check the value we get.
    Also, the find and change is also not working. Please help me on this. Thanks.
    Regards,
    Muthuraj. D

    Change the order for dialogresults:
    var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});  
    var MyRev = col2.textEditboxes.add({minWidth:100});
    var myResult = myDialog.show();
    if(myYear.editContents == "") //entry is ""
    alert("Please enter some text into the contents field.");
    ChangeRevDetails();
    else if(myResult == true) //user entered datas
    var RevMonth = (myList [myMonth.selectedIndex]);
    var RevYear = myYear.editContents;
    var RevNumber = MyRev.editContents;
    var RevToReplace1 = RevMonth +", "+ RevYear;
    var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
    didn't have a look for the find change problem

  • Linked fields not working correctly- PLEASE HELP DEADLINE LOOMING!

    I have two tables. The first is called Orders and contains a autonumber field named ID. This field is linked to a field named OrderID in another table named ProductOrders. I am using a submission form with a cfinclude to submit to both tables. There should only be one Orders.ID and numerous ProductOrders.OrderID (but they should be the same number). When I submit the form there are no error messages but the ProductOrders.OrderID is blank and therefore not linked to Orders.ID. What should I be looking for? I have linked the fields in Access in properties and relationships. What else?

    Perhaps this will help, here is my code:
    This is the input form (I stripped out the unecessary stuff and yes I realize the cfinclude appears after the submit button but it is within cfform tag and is submitting everything but the ID number):
    <cfform action="mp_order_form2.cfm" method="post">
    <cfoutput query="CheckUser">
    <input type="hidden" name="UserID" value="#UserID#">
    </cfoutput>
    <p align="center"><img src="../images/mp_order_header.jpg" width="308" height="91" /></p>
    <table width="650" border="0" align="center">
      <tr>
        <td align="left" bgcolor="#FFFFFF"><font face="Tahoma"><strong>Sale Date*:</strong></font></td>
        <td align="left"><cfoutput>
          <input name="SaleDate" readonly="readonly" value="#DateFormat(Now(), "mm/dd/yyyy")#" />
          </cfoutput></td>
      </tr>
      <tr>
        <td align="left"><font face="Tahoma"><strong>TM Name*: </strong></font></td>
        <td align="left">
                            <cfoutput query="CheckUser">
                            <cfinput name="TerritoryManager" readonly="readonly" type="text" id="TerritoryManager" value="#UserFirstName# #UserLastName#" />
                            </cfoutput></td>
      </tr>
      <tr>
        <td align="left"><font face="Tahoma"><strong>Distributor*:</strong></font></td>
        <td align="left"><cfselect size="1" name="Distributor" required="Yes" message="Please select a distributor">
    <cfoutput query="distributors">
      <option value="#distributors.Field2#">
       #distributors.Field2#  </option>
    </cfoutput>
    </cfselect></td>
      </tr>
      <tr>
         <td align="left"><font face="Tahoma"><strong>Dealer:</strong></font></td>
        <td align="left"> </td>
      </tr>
      <tr>
        <td align="left"><cfoutput query="dealer_info"><input type="hidden" name="DealerID" value="#dealer_info.ID#"></td></tr>
      <tr>
        <td colspan="2" align="center" bgcolor="##CCCCCC"><font face="Tahoma" size="+1"><strong>#DealerName#</strong></font><br>
              <font face="Tahoma">#DealerAddress#</font><br>
              <font face="Tahoma">#DealerCity#, #DealerState# #DealerZIPCode#</font><br>
    <br><br>
    <font face="Tahoma">(#Left(DealerPhone,3)#) #Mid(DealerPhone,4,3)#-#Right(DealerPhone,4)#</font></td></tr></cfoutput>
      <tr>
        <td align="left" class="style8"> </td>
        <td align="left"> </td>
      </tr>
      <tr>
        <td align="left"><font face="Tahoma"><strong>PO Number: </strong></font></td>
        <td align="left"><cfinput type="text" name="PONumber" /></td>
      </tr>
      <tr>
        <td align="left"><font face="Tahoma"><strong>Promotion:</strong></font></td>
        <td align="left">
          <cfselect name="Variable" size="1" id="Variable">
            <option value="No promotion" selected="selected">No promotion</option>
            <option value="A+ Promotion (Send Kit)">A+ Promotion (Send Kit)</option>
            <option value="A+ Promotion (Do Not Send Kit)">A+ Promotion (Do Not Send Kit)</option>
            <option value="Chick Days Pre-book">Chick Days Pre-book</option>
      <option value="Fly Spray Pre-book">Fly Spray Pre-book</option>
      <option value="ISO Program">ISO Program</option>
      <option value="Promotion plus additional products">Promotion plus additional products</option>
          </cfselect></td>
      </tr>
      <tr>
        <td align="left"> </td>
        <td align="left"></td>
      </tr>
      <tr>
        <td align="left"><font face="Tahoma"><strong>ISO Check: </strong></font></td>
        <td align="left">
          <cfselect name="ISOCheck">
            <option value="Retail ISO Placement">Retail ISO Placement</option>
            <option value="DSR Spiff Check">DSR Spiff Check</option>
          </cfselect>
        </td>
      </tr>
      <tr>
        <td align="left"><font face="Tahoma"><strong>ISO Check Number: </strong></font></td>
        <td align="left"><cfinput type="text" name="ISOCheckNumber" /></td>
      </tr>
      <tr>
        <td align="left"><font face="Tahoma"><strong>ISO Check Amount: </strong></font></td>
        <td align="left">
          <cfinput type="text" name="ISOCheckAmount" />    </td>
      </tr>
      <tr>
        <td align="left"> </td>
        <td align="left"> </td>
      </tr>
      <tr>
        <td align="left"><font face="Tahoma"><strong>Customer Service Call Back: </strong></font></td>
        <td align="left">
          <cfselect name="CallBack">
       <option value=" " selected="selected"> </option>
       <option value="Yes">Yes</option>
       <option value="No">No</option>
          </cfselect>    </td>
      </tr>
      <tr>
        <td align="left"> </td>
        <td align="left"> </td>
      </tr>
    </table>
      <hr align="center" width="65%" color="#999999">
       <table width="677" align="center">
      <tr>
        <td height="22" colspan="4"><font face="Tahoma"><strong>Product Orders:</strong> </font></td>
      </tr>
      <tr>
        <td width="314" bgcolor="#CCCCCC"><div align="center"><font face="Tahoma" size="-1"><strong>Product</strong></font></div></td>
        <td width="62" bgcolor="#CCCCCC"><div align="center"><font face="Tahoma" size="-1"><strong>Qty</strong></font></div></td>
        <td width="124" bgcolor="#CCCCCC"><div align="center"><font face="Tahoma" size="-1"><strong>Size</strong></font></div></td>
        <td width="157" bgcolor="#CCCCCC"><div align="center"><font face="Tahoma" size="-1"><strong>New or Existing at Dealer</strong></font></div></td>
      </tr>
       <tr>
         <td> </td>
         <td> </td>
         <td> </td>
         <td> </td>
       </tr>
      <tr>
        <td colspan="4"><font face="Tahoma" size="+1"><strong>Comments:</strong></font></td>
        </tr>
      <tr>
        <td colspan="4"> </td>
      </tr>
      <tr>
        <td colspan="4"><font face="Tahoma">* - indicates a required field that must be filled in to submit form</font> </td>
        </tr>
      <tr>
        <td colspan="4">
          <div align="center">
            <input type="submit" value="Submit">
      <input type="reset" value="Reset">    
          </div>    </td>
      </tr>
    </table>
    <cfinclude template="product_input.cfm" >
    </cfform>
    </table>
    Here is the cfinclude template:
    <table width="579">
    <tr>
        <td>
          <cfselect name="Product">
         <option value="" selected="selected"> </option>
       <cfoutput query="products">
      <option value="#products.Product#">#products.Product#</option>
       </cfoutput>
          </cfselect>   
        </td>
        <td>
          <cfselect name="Quantity">
         <option value="" selected="selected"> </option>
       <cfoutput query="quantity"> 
            <option value="#quantity.Quantity#">#quantity.Quantity#</option>
       </cfoutput>
          </cfselect>   
        </td>
        <td>
          <cfselect name="BagsCases" id="BagsCases">
        <option value=" " selected="selected"> </option>
           <option value="Bags / Eaches">Bags / Eaches</option>
           <option value="Cases">Cases</option>
        <option value="Pallet">Pallet</option>
          </cfselect>   
        </td>
        <td>
         <cfselect name="NewExisting" id="NewExisting">
          <option value=" " selected="selected"> </option>
          <option value="New">New</option>
          <option value="Existing">Existing</option>
        </cfselect>   
        </td>
    <td><label>
       <input type="text" name="OrderComments" />
    </label>  </tr>
    </table>
    And finally, the action page:
    <cftransaction>
    <cfinsert datasource="manna_premier" formfields="SaleDate,TerritoryManager,Distributor,DealerID,PONumber,Variable,ISOCheck,ISO CheckNumber,ISOCheckAmount,CallBack,Comments,UserID" tablename="Orders">
    <cfinsert datasource="manna_premier" formfields="OrderID,Product,Quantity,BagsCases,NewExisting,OrderComments" tablename="ProductOrders">
    </cftransaction>
    <cflocation url="mp_order_form3.cfm?ID=#FORM.DealerID#">

  • IDoc string field to JDBC date field - Not working

    Hello everyone,
    Once again I must ask you something that is keeping me..
    I had a interface type RFC ASync to JDBC SQL Server, it was working fine. Then, I was asked to change to a type iDoc ASync to JDBC SQL Server.
    At first, it was not a problem, just manual work. But them, I am getting an error.
    In the RFC, I had a date field, that was directly related to the date field on the JDBC destination, so the mapping was pretty much straight forward. The SQL INSERT command was working fine on this cenario.
    Now, in iDoc, this field was automatically converted to a string, and somehow, PI is not understanding that string has to be mapped to a date field in the JDBC.
    Is there any 'workaround' for me to do this?
    Thanks!
    Ricardo Sancio Lóra
    Brazil

    The issue here is that somehow, the same SQL insert command that was working, does not work anymore.
    This is the SQL command took from RWB log monitor:
    INSERT INTO  aniversariantes_sap (matricula, nome, nascimento, unidade) VALUES (00000070, 'Ricardo Lora', '19851216', 00000000)
    If I run this query on my DB it works.
    But, in PI, it's not, here is the error:
    Could not execute statement for table/stored proc. "aniversariantes_sap" (structure "ANIVERSARIANTES_SAP") due to com.microsoft.sqlserver.jdbc.SQLServerException: Syntax error converting datetime from character string.
    I´ve tried cast() and convert() using mapping 'habilities', but also, does not work. Work if I run in the DB, but not if PI runs it.
    Wierd..
    Ricardo

Maybe you are looking for

  • Java error while loading--

    everytime i try to load an online java page, the java window says "error: click for details"... then a java console comes up saying: Java Plug-in 1.6.0_10-ea Using JRE version 1.6.0_10-ea Java HotSpot(TM) Client VM User home directory = C:\Users\stev

  • Hide a report in a WebI doc when exporting to PDF

    Hi everyone, I have a Web Intelligence document that has a "Data Only" report in it. This is a tab that is for the purpose of exporting the data in the report to excel without formatting and grouping in it so that the user can easily manipulate the d

  • Problem in creating template for the accounting transactions

    Hi, suppose for making an entry through fb50 we have to enter g/l a/c no. in that particular field but if some one does not want his end user to make an entry to this field other than putting an entry through his end user he wants system to take the

  • Events on Time.

    Hi, Can we invoke any events automatically at a specified time. ie I want to keep a login logout system of employees. So at every 7.00 AM I want to update a field with 2,1 or 0 according to time spent by the employ on the last day. Any method for thi

  • Audio Problems and Webcam Stuff

    See my name is Josiah Blodget and  I'm 17 years old I wanted to tell you guys this. So yesterday I was moving icons around and I keep deleting mutiple copies of icons and I keep the originals. Then when I got on today my audio was acting all werid li