Required field loop

I have two fields: field1 and field2. Both are set as “User Entered - Required”. I am trying to enforce that they cannot be empty. I made the following routine, but when I leave field1 empty and click on the field2 (which is also empty) I get stuck in an infinite loop of the same error message from both fields.
Using FormCalc on the Exit event:
if ($.isNull) then
    xfa.host.messageBox("Field cannot be blank!")
    $host.setFocus  ($.name)
endif

You have to have one way or other..
Change both the field's option to "User Entered - Optional". That can remove the infinite loop.
If you want to check the required value with the script in the Exit event, then you also need to check for both the field's input before user submit the form.. So if you are using a Submit button, preSubmit event you have to check for the field value.
Thanks
Srini

Similar Messages

  • Alert user when saving PDF if required fields are empty/null

    Greetings,
    I've read a fair number of threads on this topic. I am not trying to force the user to stay in a field or otherwise be annoyed. I would just like to alert the user when they save the PDF if there are required fields that have not been filled out. The alert message would simply be a polite reminder to complete the form before sending.
    I'm using Acrobat XI Pro.
    1) Is the Other Tasks/Set Document Actions/Document Will Save the correct place to use a script in this case?
    2) Would the script need to check each required field by name? Or is there a way to reference all required fields in the document?
    3) I've seen some examples like this:
    f = getField(event.target.name)
    if (f.value.length == 0)
        f.setFocus()
        app.alert("This field is required. Please enter a value.")
    However it has some issues with respect to closing the alert dialog and so forth. Can anyone provide a sample script to get me started?
    Thanks!

    Exactly how you check a field for being empty depends on what type of field it is. For text fields, you should get the field's value as a string and compare it to an empty string, something like:
    var val = getField("Text1").valueAsString;
    if (val) {
        app.alert("Field is not empty");
    If there is a default value that needs to be changed, you would compare to the default value:
    var f = getField("Text1");
    var val = f.valueAsString;
    if (val !== f.defaultValue) {
        app.alert("Field value is OK");
    For check boxes and radio buttons, you'd compare to the string "Off", which means none in the group is selected.
    For dropdowns (combo boxes) and list boxes, there is normally one value selected, so you would have to get the value and check against the default value (or something else) to see if the field is properly filled in.
    You could place the script there, but I usually use a separate button that I encourage the user to click in order to check the field. The problem with using the Will Save event is you can't prevent the save from happening.
    The script can loop through all of the fields (and test all required ones), or you could set up an array of field names to check.

  • How to remove required field in custom infotype?

    Hi Experts,
    I have a question with custom required fields in infotype, I want to remove the required field.
    Could you show me a solution to fix this issue?
    Thanks Advance.
    Keu

    Hi Keu,
    Please follow following snap of code, Mandt field is very much required. Then you no commit = 'X' or ' '.
    DATA: BEGIN OF ITAB OCCURS 0,
            INFTY TYPE  P0006-INFTY,
            SUBTY TYPE  P0006-SUBTY,
            PERNR TYPE  P0006-PERNR,
            BEGDA TYPE  P0006-BEGDA,
            ENDDA TYPE  P0006-ENDDA,
            STRAS TYPE  P0006-STRAS,
            ORT01 TYPE  P0006-ORT01,
            PSTLZ TYPE  P0006-PSTLZ,
          END OF ITAB.
    DATA WA_P0006 TYPE P0006.
    PARAMETERS P_FILE TYPE STRING.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL METHOD CL_RSAN_UT_FILES=>F4
        EXPORTING
          I_APPLSERV       = SPACE
          I_TITLE          = 'File path...'
          I_GUI_EXTENSION  = 'TXT'
          I_GUI_EXT_FILTER = SPACE
        CHANGING
          C_FILE_NAME      = P_FILE.
    START-OF-SELECTION.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
        EXPORTING
          FILENAME                = P_FILE
    *    FILETYPE                = 'ASC'
        HAS_FIELD_SEPARATOR     = 'X'
    *    HEADER_LENGTH           = 0
    *    READ_BY_LINE            = 'X'
    *    DAT_MODE                = SPACE
    *    CODEPAGE                = SPACE
    *    IGNORE_CERR             = ABAP_TRUE
    *    REPLACEMENT             = '#'
    *    VIRUS_SCAN_PROFILE      =
    *  IMPORTING
    *    FILELENGTH              =
    *    HEADER                  =
        CHANGING
          DATA_TAB                = ITAB[]
      EXCEPTIONS
        FILE_OPEN_ERROR         = 1
        FILE_READ_ERROR         = 2
        NO_BATCH                = 3
        GUI_REFUSE_FILETRANSFER = 4
        INVALID_TYPE            = 5
        NO_AUTHORITY            = 6
        UNKNOWN_ERROR           = 7
        BAD_DATA_FORMAT         = 8
        HEADER_NOT_ALLOWED      = 9
        SEPARATOR_NOT_ALLOWED   = 10
        HEADER_TOO_LONG         = 11
        UNKNOWN_DP_ERROR        = 12
        ACCESS_DENIED           = 13
        DP_OUT_OF_MEMORY        = 14
        DISK_FULL               = 15
        DP_TIMEOUT              = 16
        NOT_SUPPORTED_BY_GUI    = 17
        ERROR_NO_GUI            = 18
        OTHERS                  = 19.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    END-OF-SELECTION.
      LOOP AT ITAB.
        CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
          EXPORTING
            NUMBER        = ITAB-PERNR
    *   IMPORTING
    *     RETURN        =
        MOVE-CORRESPONDING ITAB TO WA_P0006.
        CALL FUNCTION 'HR_INFOTYPE_OPERATION'
          EXPORTING
            INFTY                  = ITAB-INFTY
            NUMBER                 = ITAB-PERNR
           SUBTYPE                = ITAB-SUBTY
    *   OBJECTID               =
    *   LOCKINDICATOR          =
           VALIDITYEND            = ITAB-ENDDA
           VALIDITYBEGIN          = ITAB-BEGDA
    *   RECORDNUMBER           =
            RECORD                 = WA_P0006
            OPERATION              = 'INS'
           TCLAS                  = 'A'
           DIALOG_MODE            = '2'
    *   NOCOMMIT               =
    *   VIEW_IDENTIFIER        =
    *   SECONDARY_RECORD       =
    * IMPORTING
    *   RETURN                 =
    *   KEY                    =
        CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
          EXPORTING
            NUMBER        = ITAB-PERNR
    * IMPORTING
    *   RETURN =
      ENDLOOP.

  • MAKE AN ENTRY IN ALL REQUIRED FIELDS

    HI,
    I AM USING THE FOLLOWING EXCEL VBA CODE TO TRY AND CALL A TRANSACTION LX02 DIRECT INTO EXCEL.
    Public Sub add_bdcdata(BdcTable As Object, program As String, dynpro As String, dynbegin As String, fnam As String, fval As String)
    Dim vField As Variant
    j = j + 1
    BdcTable.Rows.Add
    BdcTable.Value(BdcTable.Rows.Count, "PROGRAM") = "RLS10020"
    BdcTable.Value(BdcTable.Rows.Count, "DYNPRO") = "1000"
    BdcTable.Value(BdcTable.Rows.Count, "DYNBEGIN") = "X"
    BdcTable.Value(BdcTable.Rows.Count, "FNAM") = "BDC_OKCODE"
    BdcTable.Value(BdcTable.Rows.Count, "FVAL") = "NEXT"
    Debug.Print BdcTable.Value(j, "FVAL")
    End Sub
    Public Sub rfc_call_transaction()
    Dim Functions As Object
    Dim RfcCallTransaction As Object
    Dim Messages As Object
    Dim BdcTable As Object
    ' Create the Function control (that is, the high-level Functions collection):
    Set Functions = CreateObject("SAP.Functions")
    ' Set the rest of Connection object values:
    Functions.Connection.System = "QA2"
    Functions.Connection.client = "900"
    Functions.Connection.user = "mbrough"
    Functions.Connection.Password = "st34lhv3"
    Functions.Connection.Language = "EN"
    If Functions.Connection.Logon(0, False) <> True Then
    Exit Sub
    End If
    Dim iBOB As Integer
    iBOB = Range("A1")
    Do
    ' Retrieve the Function object (the Connection object must be set up before Function objects can be created):
    Set RfcCallTransaction = Functions.Add("RFC_CALL_TRANSACTION")
    ' Set the export parameters
    RfcCallTransaction.exports("TRANCODE") = "LX02"
    RfcCallTransaction.exports("UPDMODE") = "S"
    Set BdcTable = RfcCallTransaction.Tables("BDCTABLE")
    ' Set the tables parameter and add the data for the call transaction
    add_bdcdata BdcTable, "RLS10020", "1000", "X", "", ""
    add_bdcdata BdcTable, "", "", "", "BDC_CURSOR", "S1_LGNUM"
    add_bdcdata BdcTable, "", "", "", "BDC_OKCODE", "=ONLI"
    add_bdcdata BdcTable, "", "", "", "S1_LGNUM", "900"
    add_bdcdata BdcTable, "", "", "", "S1_LGNUM", "ActiveCell"
    add_bdcdata BdcTable, "", "", "", "S1_LGTYP-LOW", "K01"
    add_bdcdata BdcTable, "", "", "", "BDC_SUBSCR", "SAPLSSEL"
    add_bdcdata BdcTable, "", "", "", "BDC_SUBSCR", "SAPLSSEL"
    add_bdcdata BdcTable, "SAPMSSYO", "0120", "X", "", ""
    add_bdcdata BdcTable, "", "0", "", "BDC_OKCODE", "=BACK"
    add_bdcdata BdcTable, "RLS10020", "1000", "X", "", ""
    add_bdcdata BdcTable, "", "", "", "BDC_OKCODE", "/EE"
    add_bdcdata BdcTable, "", "", "", "BDC_CURSOR", "S1_LGNUM"
    add_bdcdata BdcTable, "", "", "", "S1_LGNUM", ActiveCell.Value
    'End SubCall the function (if the result is false, then display a message):
    If RfcCallTransaction.Call = True Then
    Set Messages = RfcCallTransaction.imports("MESSG")
    MsgBox Messages.Value("MSGTX")
    Else
    MsgBox " Call Failed! error: " + GetCustomers.Exception
    End If
    iBOB = iBOB + 1
    Loop Until IsEmpty(ActiveCell.Offset(iBOB, 0))
    Functions.Connection.Logoff
    End Sub
    I KEEP GETTING AN ERROR MESSAGE SAYING 'MAKE AN ENTRY IN ALL REQUIRED FIELDS' AND THEN NOTHING DOWNLOADS INTO EXCEL.
    CAN ANYONE HELP PLEASE?
    THANKS

    When I run this transaction through SAPgui I only have to fill out the field S1_LGNUM, and I have specified this in my code.
    Is my code below correct?
    Public Sub add_bdcdata(BdcTable As Object, program As String, dynpro As String, dynbegin As String, fnam As String, fval As String)
        Dim vField As Variant
        Static j As Integer
        j = j + 1
        BdcTable.Rows.Add
        BdcTable.Value(j, "PROGRAM") = "RLS10020"     ' Program Name
        BdcTable.Value(j, "DYNPRO") = "1000"        ' Dynpro Number
        BdcTable.Value(j, "DYNBEGIN") = "X"    ' X if a screen
        BdcTable.Value(j, "FNAM") = "BDC_OKCODE"            ' Field Name
        BdcTable.Value(j, "FVAL") = "NEXT"            ' Field Value
    End Sub
    As i have seen this in examples where it looks like below.
    Public Sub add_bdcdata(BdcTable As Object, program As String, dynpro As String, dynbegin As String, fnam As String, fval As String)
        Dim vField As Variant
        Static j As Integer
        j = j + 1
        BdcTable.Rows.Add
        BdcTable.Value(j, "PROGRAM") = program    ' Program Name
        BdcTable.Value(j, "DYNPRO") = dynpro        ' Dynpro Number
        BdcTable.Value(j, "DYNBEGIN") = dynbegin    ' X if a screen
        BdcTable.Value(j, "FNAM") = fnam            ' Field Name
        BdcTable.Value(j, "FVAL") = fval            ' Field Value
    End Sub
    Thanks

  • Not able to create conditional required fields at Tcode CJ20N Proj Systems

    Hello experts,
    I have a requirement to create a few custom fields under custom enhancement tab in CJ20N transaction, and depending on a particular value for one of the fields, another set of fields need to be set to required. (If FIELD1 = 'Y', FIELD2 & FIELD3 should be set to required)
    My approaches..
    1. Assign a screen group to FIELD2 and FIELD3. If FIELD1 = 'Y' then LOOP AT SCREEN, and set screen-required = 1 for that specific screen group.
    Problem with this approach is that, if I select FIELD1 = 'Y' (hit space or enter -> sy-ucomm = TOGGLE), the fields are successfully set to required. However, now if at this point I go and change value for FIELD1 = 'X' (hit space or enter), FIELD2 and FIELD3 still remain set to required, and keep requesting value.
    2. Do not set any fields to required. Instead set it to an information message in PAI, informing user that this field requires a value when FIELD1 = 'Y' on TOGGLE and SAVE.
    Problem with this approach is that even though during TOGGLE event user is provided with an informational message, if the user directly decides to SAVE (no change for TOGGLE event), in this case the same message is displayed, and the project screen itself is closed. I do not think it would be ideal for the user to see the entire project close on SAVE everytime they miss a conditionally required field.
    I am just not sure at this point how to handle this at SAVE so that I can still have the same control as I would when TOGGLE event is triggered.
    Experts please help if you have come across such a situation!!! Your insight would be greatly appreciated!
    Edited by: akkinair on Dec 16, 2011 1:25 AM

    Please find below the response.
    1. Assign a screen group to FIELD2 and FIELD3. If FIELD1 = 'Y' then LOOP AT SCREEN, and set screen-required = 1 for that specific screen group.
    Problem with this approach is that, if I select FIELD1 = 'Y' (hit space or enter -> sy-ucomm = TOGGLE), the fields are successfully set to required. However, now if at this point I go and change value for FIELD1 = 'X' (hit space or enter), FIELD2 and FIELD3 still remain set to required, and keep requesting value.
    --> When FIELD1 chnage used module with additon CHAIN-REQUEST and check its value if it is to be set to optional by using loop at screen and set screen-required =0.*_
    2. Do not set any fields to required. Instead set it to an information message in PAI, informing user that this field requires a value when FIELD1 = 'Y' on TOGGLE and SAVE.
    Problem with this approach is that even though during TOGGLE event user is provided with an informational message, if the user directly decides to SAVE (no change for TOGGLE event), in this case the same message is displayed, and the project screen itself is closed. I do not think it would be ideal for the user to see the entire project close on SAVE everytime they miss a conditionally required field.
    --> Can you please clarify it.
    Thanks
    Nabehet

  • Enforce required fields

    Hi, I am working on a editable PDF form that includes several required fields. I tried several ways to enforce the users to fill them before saving it:
    1. Mark them as "required" , but it doesn't do anything. My understanding is those required fields will only be checked when the form is submitted. Since the form does not have any "submit" button, it won't be checked
    2. Use "Custom validatioin script" to validate the field.
    3. Use a javascript on "On-blur" event.
    It seems both 2 and 3 can check if the field is blank or not when the mouse leaves the require field. But when the user skip this required field, say, the user don't click the field at all, the scripts used in 2 or 3 are not triggerd. Thus the user can save the document still with blank fields.
    How should I prevent it from happenening? And advice would be highly appreciated/
    Thanks,
    beautumn

    First, the 'submit' with regard to the 'requite' field property, is a submit to a web server scripting page, not a 'submit' button.
    So do you want your users to only to be able to save the form if they complete the form?
    Then lock them into a loop to the uncompleted field until they complete the field. Not a very user friendly approach.
    There is a 'will save' action that can also check for the completion of required fields. You will need to decide what action you want taken, but you can not stop the save action.
    You could:
    Erase the data.
    Mark the form as incomplete.
    Have an alert window pop-up.
    You can not also stop one from printing an incomplete form through the 'Will Print' action.
    You may need to write a document level script to check all of the required fields and take some action as needed. This could be used by a number actions like will save, will print, email form, submit to a web server.

  • Get the Required Field Element in orchetsration

    My input instance is as follows:
    <ns0:Students xmlns:ns0="http://CallTemplate_Increment.StudentSchema">
      <StudentTransactions>
        <ID>100</ID>
    <RowIndicator>H</RowIndicator>
        <FName>Prakash</FName>
        <LName>Sajwan</LName>
        <ID_Detail/>
        <Cost/>
        <GL_String/>
      </StudentTransactions>
       <StudentTransactions>
        <ID/>
    <RowIndicator>D</RowIndicator>
        <FName></FName>
        <LName></LName>
        <ID_Detail>100</ID_Detail>
        <Cost>200</Cost>
        <GL_String>300.890.830.777</GL_String>
      </StudentTransactions>
      <StudentTransactions>
        <ID/>
    <RowIndicator>D</RowIndicator>
        <FName>D</FName>
        <LName></LName>
        <ID_Detail>100</ID_Detail>
        <Cost>200</Cost>
        <GL_String></GL_String>
      </StudentTransactions>
      <StudentTransactions>
        <ID/>
    <RowIndicator>D</RowIndicator>
        <FName>D</FName>
        <LName></LName>
        <ID_Detail>100</ID_Detail>
        <Cost>100</Cost>
        <GL_String>300.890.830.777</GL_String>
      </StudentTransactions>
        <StudentTransactions>
        <ID>200</ID>
    <RowIndicator>H</RowIndicator>
        <FName>Ramesh</FName>
        <LName>Rawat</LName>
        <ID_Detail/>
        <Cost/>
        <GL_String/>
      </StudentTransactions>
       <StudentTransactions>
        <ID/>
    <RowIndicator>D</RowIndicator>
        <FName>D</FName>
        <LName/>
        <ID_Detail>200</ID_Detail>
        <Cost>700</Cost>
        <GL_String>500.890.830.777</GL_String>
      </StudentTransactions>
      <StudentTransactions>
        <ID/>
    <RowIndicator>D</RowIndicator>
        <FName>D</FName>
        <LName/>
        <ID_Detail>200</ID_Detail>
        <Cost>900</Cost>
        <GL_String>500.890.830.777</GL_String>
      </StudentTransactions>
    </ns0:Students>
    If RowIndicator is H then required field is RowIndicator,FName,ID.
    IF RowIndicator is D then required field is RowIndicator, ID_Detail,Cost,GL_String.
    Now if any required field  is empty then store the name of these Elements in a file  and send this file in the attachment in mail.And how can I uniquely identify that these information is for particular student.
    H stands for header and D stands for details.
    One Record (which RowIndicator is  H) belongs to other record (which RowIndicator is D) only when ID of 
    record (which RowIndicator is  H) equals to ID_Details of record(which RowIndicator is D).
    Any Help would be appreciated.I want to do it orchestration after getting the message by calling a c# function. I have written the attachment function for sending mail.I just want to put those information in a file.
    Prakash

    In Orchestration, you can call a helper method as the following, where you can apply the validation log and either constructs a XML-Message with error details or a simple error string message with error details appended which you can pass to your email program
    and send email.
    public static string ContractValidationMsg(XmlDocument xmlInput)
    string sErrorMessage = String.Empty;
    //Get the HeaderID
    XmlNodeList headerNodes = xmlInput.SelectNodes("/*[local-name()='Students' and namespace-uri()='http://CallTemplate_Increment.StudentSchema']/*[local-name()='StudentTransactions' and namespace-uri()=''][RowIndicator='H']");
    //Loop thur all the filtered header node
    foreach (XmlNode headerNode in headerNodes)
    string sHeaderID = headerNode.SelectSingleNode("/*[local-name()='Students' and namespace-uri()='http://CallTemplate_Increment.StudentSchema']/*[local-name()='StudentTransactions' and namespace-uri()='']/*[local-name()='ID' and namespace-uri()='']").InnerText;
    //Get the DetailID for the filtered ErrorID
    XmlNodeList detailNodes = xmlInput.SelectNodes("/*[local-name()='Students' and namespace-uri()='http://CallTemplate_Increment.StudentSchema']/*[local-name()='StudentTransactions' and namespace-uri()=''][RowIndicator='D'][ID_Detail='" + sHeaderID + "']");
    //Loop thru the DetailID
    foreach (XmlNode detailNode in detailNodes)
    string sCost = detailNode.SelectSingleNode("Cost").InnerText;
    //Check Cost in detail is empty, if so then construct the error message
    if (sCost == String.Empty)
    sErrorMessage +=sErrorMessage + " For HeaderID:" + sHeaderID + " , In its Detail node, value for Cost element is missing /n" ;
    string sGL_String = detailNode.SelectSingleNode("GL_String").InnerText;
    //Check GL_String in detail is empty, if so then append the error message
    if (sGL_String == String.Empty)
    sErrorMessage += sErrorMessage + " For HeaderID:" + sHeaderID + " , In its Detail node, value for GL_String element is missing /n";
    return sErrorMessage;
    This is just to give you an idea and you and fine-tune it to fit your requirement. The above code is a working code.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Need help making digital signature field read only if required fields are null

    Using Adobe LiveCycle Designer, I have a digital signature field.  I want to prevent users from being able to digitally sign the pdf if any required fields in the pdf are null or blank.  I'm a newbie to scripting so any detailed help would be greatly appreciated.  The required fields in the pdf include radio buttons, check boxes, text field, etc.  I appreciate any help anyone can provide.
    Thanks

    Exactly how you check a field for being empty depends on what type of field it is. For text fields, you should get the field's value as a string and compare it to an empty string, something like:
    var val = getField("Text1").valueAsString;
    if (val) {
        app.alert("Field is not empty");
    If there is a default value that needs to be changed, you would compare to the default value:
    var f = getField("Text1");
    var val = f.valueAsString;
    if (val !== f.defaultValue) {
        app.alert("Field value is OK");
    For check boxes and radio buttons, you'd compare to the string "Off", which means none in the group is selected.
    For dropdowns (combo boxes) and list boxes, there is normally one value selected, so you would have to get the value and check against the default value (or something else) to see if the field is properly filled in.
    You could place the script there, but I usually use a separate button that I encourage the user to click in order to check the field. The problem with using the Will Save event is you can't prevent the save from happening.
    The script can loop through all of the fields (and test all required ones), or you could set up an array of field names to check.

  • Required field indictator color

    Is it possible to change the required field indictator (*) color to something other then red? I know that it is possible to change the skin using a different image however I do not want to create an image for just an asterisk symbol?

    Hi,
    FormItem uses a swf symbol for the indicator skin. So the best option is to use another symbol/image/prgrammatic skin. If you want, you can override FormItem class, loop through the children, find the symbol and change the color by applying blendMode or filters. But it is not simple as the first method.
    http://www.adobe.com/livedocs/flex/3/langref/mx/containers/FormItem.html.
    Look for the indicatorSkin style

  • Posting Error: Field Pers.No. is a required field for G/L account

    When I am trying to run the simulation posting run (PC00_M99_CIPE) then is getting an error that u201CField Pers.No. is a required field for G/L account 2275 504566872u201D
    Field Pers.No. is a required field for G/L account  2275  504566872
    Message no. F5808
    Diagnosis
    The value for field "Pers.No." in the interface to Financial Accounting is an initial value but you are required to make an entry in the field selection for G/L account "504566872" in company code "2275" linked to the field selection for posting key "50".
    Procedure
    It might be an error in the configuration of the G/L account field selection. The initial application, used to call up the interface must otherwise define a value for field "Pers.No.". If this is the case, contact the consultant responsible for the application used to call up the interface or get in contact with SAP directly.
    Please help.

    First of all did you required to post with personnel number or not....if it is not required then goto FS00 enter your GL account 504566872....find Field Staus Group under tab Create/Bank/Interest........then goto t code OBVV and select your field status group then click on field status and select Additional account assignments and check personnel number status and change as per your requirement optional or required.
    If personnel number required then create symbolic a/c with account type Q and assign gl account to this symbolic a/c.
    Mohan

  • A pop-up message is frozen on my settings page. I was trying to set up an apple id for iTunes when I got a message "required fields have been left blank. The missing information is highlighted in red." the ok button doesn't work. 1st gen iPad.

    A pop-up message is frozen on my settings page. I was trying to set up an apple id for iTunes when I got a message "required fields have been left blank. The missing information is highlighted in red." the ok button doesn't work. The message is now fixed &amp; I cannot get rid of it. Ironically, when I found this forum I was able to set up an apple Id. Please advise how to get rid of the pop-up box. Thanks!

    I'm having this same problem as well and cannot advance--very irritating. All of the information is filled out correctly and I've editted my AppleID information online separately as well to get around this issue, but no luck...

  • MissingFieldException[ The following required field is missing from the lau

    Hi, I'm new to this forum so please put this thread in the right place if I have made a mistake.
    But here's my problem:
    I'm using jre 7 with the latest version.
    I downloaded and wanted to launch a Java based .jar game, which runs perfectly for the other users but my JRE gives the following error:
    Application error - unable to launch the application.
    MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main.access$000(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    On the forum where is the game developed i got the following answer:
    ''+it seems your OS/jre installation tries to start the jar as an applet which fails, because it's a regular application and not an applet. is there any way you can convince your jre to start LS as an application? i would like to give better/more detailed advice, but i'm not running windows, so i can't check for myself/try to work out a step-by-step guide.+ ''
    As I have browsed the internet for hours and haven't come up with a solution I'm asking for some help.

    That error seems to indicate that the JNLP file is broken because it is missing the starting starting <jnlp> XML tag; I'll take a guess and just say that it is completely empty. Since it works for other users, apparently somehow when you download it on your computer you end up with a broken file. No idea why, no way for me to know why either. I don't have access to your computer. All I can say is: try in another browser and if that doesn't work, try on another computer. If it works there, well then you may have to face the fact that your computer might need a clean install.
    And PS: this is a Java programming forum, not technical support for whatever game you want to play that just happens to use Java.

  • NULL value not validated for a Required field

    Hi,
    I have added a MessageLovInput item to the expense header page (/oracle/apps/ap/oie/entry/header/webui/GeneralInformationPG), and have made the Required Value to True. But I do not get any error when I navigate to the next page without populating the field. If I enter in incorrect information, it validates it against the LOV, but not for null values.
    Any pointers to make the field validate NULL values?
    Thanks,
    Ashish

    Yeah.. I can see the Required field indicator (*) next to the field. I have tried with all the values (uiOnly, ValidatorOnly, Yes etc.), but it does not validate NULL values.
    I'll try to handle this in the controller, but would prefer if this can be done by personalization.
    Ashish

  • Check for required fields before locking subforms and submitting

    Hello,
    I have a 5-page form with many questions, to be completed by the original requestor and multiple approvers.  What I'm trying to do is have the original requestor's Submit button on p. 3 lock the input on the first three pages, but first check if all those fields have some content.  I currently have all the fields on pp. 1-3 set to "Required" in the object properties, but my script still locks them when there's is one empty one.  Here's what I have:
    //Lock portions of form
    Page1.access = "readOnly"
    Page2.access = "readOnly"
    Page3.access = "readOnly"
    //Save document, allow user to change name
    app.execMenuItem("SaveAs");
    //Submit via e-mail
    Submit_REAL.event__click.submit.target = "mailto:[email protected]" +
    "?subject=Subject text" +
    "&body=Message";
    Submit_REAL.execEvent("click");
    The automatic check for required fields happens after the pages get locked.  I would like the check to stop the process before it locks the pages.  Is there any way to check all at once that all "Required" fields on those pages have some content before allowing the script to proceed?  I know how to script it to manually check the 50 or so questions on those pages, but I would like to avoid that.  Thanks for any help.

    There are a few problems that I can see from the start. First, your code is going to pick up EVERY node that exists on these pages. Some of those nodes will not have a rawValue, and some will not have an actual name. As an example, you can take your code and create a text field to dump all of the names of the nodes that you get when you pull in all of the nodes this way. Here's an example:
    The result:
    Now, the question is, do you have a consistent naming convention for your fields that might be empty? That could be text fields, radio button lists, etc. For instance, I always prefix the names of objects in order to more easily keep track of what they are in scripts. Since I'm doing that, I can check the name of the field for tf, nf, rbl, cb, or whatever I have included to make sure that I'm checking an actual field before I check for things like rawValue.
    var nodeName = oNodes.item(nNodeCount).name;
    if (nodeName.indexOf("tf")>-1 || nodeName.indexOf("rbl") > -1 || /*check other field types*/) {
      //insert your code to check for empty answers here
    As for your line 7 issue. The syntax problem is that you've put extra parentheses in your if statement. Take out the parentheses that are just before and after the or "||".
    *This is my fourth attempt to reply. Something was going on with Adobe/Jive earlier, I suppose.

  • PAYABLES OPEN INTERFACE INVOICE IMPORT 시 REQUIRED FIELD 정보

    제품 : FIN_AP
    작성날짜 : 2005-05-10
    PAYABLES OPEN INTERFACE INVOICE IMPORT 시 REQUIRED FIELD 정보
    ==========================================================
    PURPOSE
    AP Open Interface Invoice Import 를 통해 Invoice 를 생성 코자 할 경우 반드시 필요한 Field 에 대한 정보이다.
    Explanation
    1. PO 나 Project 과 Match 하지 않는 Invoice Case
    Table : AP_INVOICE_INTERFACE
    ==============================
    Required Columns
    ================
    -INVOICE_ID : AP_INVOICES_INTERFACE_S.NEXTVAL를 이용하여 생성됨
    -INVOICE_NUM : 특정 Supplier 내에서는 unique 해야함
    -VENDOR_ID/VENDOR_NUM/VENDOR_NAME : Active 하여야 하며 PO_VENDORS과 Mapping
    -VENDOR_SITE_ID/VENDOR_SITE_CODE : Active 한 Site 여야 하며 PO_VENDOR_SITES table과 mapping
    -INVOICE_AMOUNT : 'STANDARD' type인 경우에는 양수, 'CREDIT' type인 경우는 음수를 입력
    -ORG_ID : AP_SYSTEM_PARAMETERS.ORG_ID
    -SOURCE : select lookup_code from ap_lookup_codes where lookup_type='SOURCE' 중 하나
    Table : AP_INVOICE_LINES_INTERFACE
    ==================================
    Required Columns for LINE_TYPE_LOOKUP_CODE = 'ITEM'
    ===================================================
    -INVOICE_ID : AP_INVOICES_INTERFACE.INVOICE_ID
    -INVOICE_LINE_ID : AP_INVOICE_LINES_INTERFACE_S.NEXTVAL
    -LINE_NUMBER : 해당 invoice 내에서 unique 해야함.
    -LINE_TYPE_LOOKUP_CODE :'ITEM'
    -AMOUNT
    -ACCOUNTING_DATE: Optional. Defaulted from INVOICE_DATE or SYSDATE
    - DIST_CODE_CONCATENATED / DIST_CODE_COMBINATION_ID
    : select code_combination_id from gl_code_combinations
    where account_type = 'E' and enabled_flag = 'Y'
    and summary_flag = 'N'
    and sysdate between nvl(start_date_active, sysdate-1)
    and nvl(end_date_active, sysdate+1))
    Required Columns for LINE_TYPE_LOOKUP_CODE = 'TAX'
    ===================================================
    -INVOICE_ID : AP_INVOICES_INTERFACE.INVOICE_ID
    -INVOICE_LINE_ID : AP_INVOICE_LINES_INTERFACE_S.NEXTVAL
    -LINE_NUMBER : 해당 invoice 내에서 unique 해야함.
    -LINE_TYPE_LOOKUP_CODE : 'TAX'
    -TAX_CODE / TAX_CODE_ID : AP_TAX_CODES_ALL table에서 mapping
    -AMOUNT
    -ACCOUNTING_DATE : Optional. Defaulted from INVOICE_DATE or SYSDATE
    -DIST_CODE_CONCATENATED or DIST_CODE_COMBINATION_ID
    : select code_combination_id from gl_code_combinations
    where account_type = 'E' and enabled_flag = 'Y'
    and summary_flag = 'N'
    and sysdate between nvl(start_date_active, sysdate-1)
    and nvl(end_date_active, sysdate+1))
    2. PO Matched Invoice 의 경우                    Table: AP_INVOICE_INTERFACE
    ============================
    Required Columns
    ================
    -INVOICE_ID : AP_INVOICES_INTERFACE_S.NEXTVAL를 이용하여 생성됨
    -INVOICE_NUM : 특정 Supplier 내에서는 unique 해야함
    -PO_NUMBER : approved 된 PO 여야 하며 cancelled, closed 혹은 final closed 된 PO NUMBER 는 안됨. PO_HEADERS Table 과 mapping
    -INVOICE_AMOUNT : 'STANDARD' type인 경우에는 양수, 'CREDIT' type인 경우는 음수를 입력
    -SOURCE : select lookup_code from ap_lookup_codes where lookup_type='SOURCE'
    -ORG_ID : AP_SYSTEM_PARAMETERS_ALL.ORG_ID
    Table: AP_INVOICE_LINES_INTERFACE
    =================================
    Required Columns for PO Matched Lines
    =====================================
    -INVOICE_ID : AP_INVOICES_INTERFACE.INVOICE_ID
    -INVOICE_LINE_ID : AP_INVOICE_LINES_INTERFACE_S.NEXTVAL
    -LINE_NUMBER : 해당 invoice 내에서 unique 해야함.
    -LINE_TYPE_LOOKUP_CODE : 'ITEM'
    -AMOUNT : QUANTITY_INVOICED * UNIT_PRICE
    If MATCH_OPTION is 'P', then populate:
    -RELEASE_NUM or PO_RELEASE_ID : Blanket Release only, validated against PO_RELEASES_ALL
    -PO_NUMBER or PO_HEADER_ID : Validated against PO_HEADER_ALL
    -PO_LINE_NUMBER or PO_LINE_ID : Validated against PO_LINES_ALL
    -PO_SHIPMENT_NUM or PO_LINE_LOCATION_ID : Validated against PO_LINE_LOCATIONS_ALL
    If MATCH_OPTION is 'R', then populate:
    -RECEIPT_NUMBER : RCV_SHIPMENT_HEADERS.RECEIPT_NUM
    -RCV_TRANSACTION_ID or PO_LINE_LOCATION_ID : RCV_TRANSACTIONS과 Mapping
    Example
    Reference Documents
    Note 205331.1

    Chandrasekar,
    as i know, the main thing you should consider is, that starting from R12 you will
    be able to import invoices only through the Payables Open Interface.
    basically, Invoice Import is used by OA to create invoice (from expense reports or from Oracle Projects). for standard invoice import, i've ever used Payables Open Interface.
    Milan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Chandrasekara Kayamboo ([email protected]):
    I would like to know which is the best way to import invoice and what are the advantages and disadvange in each.
    Regards
    Chandrasekar<HR></BLOCKQUOTE>
    null

Maybe you are looking for