MX8 IE7 field validation issue

I'm having a problem with using CFFORM and simple field
validation -- by simple, I mean simply setting required="YES" on a
CFINPUT field. The JavaScript that CF8 generates is something like:
quote:
if( !_CF_hasValue(_CF_this['CompanyName'], "TEXT", false )
apparently this is invalid in IE7. CF5 generated the above
as:
quote:
if( !_CF_hasValue(_CF_this.CompanyName, "TEXT", false ) )...
this is valid in IE7.
Help!

Nevermind! A naming problem. For some unknow reason, the form
name was hardcoded to "CFFORM_1". This creates a naming conflict if
there are multiple forms that are unnamed because CF will name the
first unnamed form "CFForm_1" -- boom!
Unfortunately, CF nor JavaScript warns you of this collision.
I hope this helps someone else.

Similar Messages

  • PDF Form Mandatory Field Validation Issue in Workspace

    If we open a PDF Form with mandatory fields (e.g. Mortgage-Prebuilt sample PDF form) in Workspace and then click the Workspace Complete button without completing the mandatory fields, there will be mandatory validation check which will highlight all the mandatory fields and display the mandatory fields error message dialog box.
    However, if we click the Workspace Complete button again afterwards, the mandatory fields error message dialog box will not be displayed. The dialog box will be displayed only if our mouse is moved to any active/enabled fields/buttons in PDF form.
    Does anyone encounter this strange issue before?
    Kindly advice what should we do to solve this issue.

    Hi Patrick,
    As this is the modal popup, there is a close button .
    Now in the ACTIONS tab try to create an action for CLOSE.
    Once you get the window reference,
    wd_comp_controller->gref_w_popup_split type ref to IF_WD_WIINDOW.
    SET_ON_CLOSE_ACTION
    SET_CLOSE_BUTTON
    CALL METHOD wd_comp_controller->gref_w_popup_split->set_close_button
            EXPORTING
              close_button = abap_true.
          CALL METHOD wd_comp_controller->gref_w_popup_split->set_on_close_action
            EXPORTING
              view        = wd_comp_controller->gref_v_controller_split
              action_name = wd_assist->gc_close_split.
       "Action Name
    In the CLOSE action -
    IF wd_comp_controller->gref_w_popup_split IS NOT INITIAL.
          CALL METHOD wd_comp_controller->gref_msg_manager->clear_messages
            EXPORTING
              including_permanent_msg = abap_false
              only_permanent_msg      = abap_false.
          CALL METHOD wd_comp_controller->gref_w_popup_split->set_close_in_any_case
            EXPORTING
              close_in_any_case = abap_true.
          CALL METHOD wd_comp_controller->gref_w_popup_split->close.
        ENDIF.                      "   if wd_comp_controller->GREF_W_POPUP is not initial.
    Regards,
    Lekha.

  • Field Validation Issue

    Hi all,
    On Opportunity Type we want to restrict transitions to stages ending with 'RO' based on the following conditions:
    1.) if opportunity type contains RO and Freeze Flag is 'Y' then allow change to RO
    2.) if opportunity type contains RO and Freeze Flag is not 'Y' then disallow change to RO
    3.) if opportunity type does not contain RO then allow change
    I wrote the following validation but on all values that have 'RO' in the end the validation fails:
    =IIf(Right('<OpportunityType>',2) = 'RO', IIf([<ch_Freeze>] = 'Y', [<OpportunityType>], PRE('<OpportunityType>')), [<OpportunityType>])
    Please Help.
    Thanks and Regards,
    Tanmay Jain
    Edited by: tanmay.jain on Nov 23, 2009 9:26 PM

    I think the question that I have is with respect to the initial IIf statement. Are you testing the new Opty type or the previous opty type? Usually, in situations like these that I have encountered, it is the previous value that needs to be tested to determine if the new value change is allowed. That may or may not be valid in this case.
    If you can post the requirement, it will allow us to better understand the logic. I think, from reading your post, that the requirement is that if the Freeze flag is set to 'Y', user can change the status to anything. If it is set to 'N', then user can only set to Opportunity types that are not RO types.
    If so, I would write it like this:
    IIf(&#91;<ch_Freeze>]='Y',&#91;<OpportunityType>],IIf(Right(FieldValue('<OpportunityType>'),2)='RO',PRE('<OpportunityType>'),&#91;<OpportunityType>]))
    You also need to be sure that you set a default value, otherwise you have another condition for when Freeze is null.
    Let me know if this helps. It's not much different from yours, but should resolve the issue.
    Good Luck,
    Thom

  • Mandatory field validation on Page links.

    We have created a Portal application where we included different applications as taskflows. We have also created a tabbed interface which helps us to communicate from one task flow to another taskflow. When we are in one page of taskflow and try to move to another page of different taskflow using tabbed interface we receive mandatory field validation error which prevents us to move to any other page until we fill all the mandatory fields. We need to move to different page of taskflow by using the tabbed interface even without filling all the necessary mandatory fields. Can anyone help us to resolve this issue as this is very important for our project.

    <b>Layout</b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Check Pernr " >
        <htmlb:form>
          <htmlb:textView text   = "Personnel No."
                          design = "EMPHASIZED" />
          <htmlb:inputField id    = "pernr"
                            value = "<%= lv_pernr %>" />
    <%
    if lv_no_pernr = 'X'.
    %>
    <script language="Javascript">
    alert ("Personnel no. is not Valid")
    </script>
    <%endif.%>
       </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>ONINPUTPROCESSING</b>
    DATA: l_pernr TYPE persno.
      DATA: data TYPE REF TO cl_htmlb_inputfield.
      data ?= cl_htmlb_manager=>get_data( request = runtime->server->request
                                             name     = 'inputField'
                                             id       = 'pernr' ).
      IF data IS NOT INITIAL.
        l_pernr = data->value.
      ENDIF.
    CLEAR lv_no_pernr.
    SELECT SINGLE pernr FROM pa0000 INTO l_pernr WHERE pernr EQ lv_pernr.
    IF sy-subrc NE 0.
      lv_no_pernr = 'X'.
    ENDIF.
    <b>PAGE ATTRIBUTES</b>
    lv_no_pernr     TYPE     FLAG
    lv_pernr     TYPE     PERSNO
    hope this helps.
    A

  • Document Signature - Validation Issue

    This is the recent help i've been trying to get on this subject over at acrobatusers.com. You can read through the issue i'm having through here, answer that was given and my response.
    Summary: Basically there are multiple text fields that are set to required, customer name, email...etc. All fields must be locked after being digitally signed (through the document signature field). When default validation pattern are used (blank) it generates an error (Customer field could not be validated). After trying regular expression script, it generates an error (Customer field could not be validated). So i tried a number of different combinations of picture clauses, and from what i'm gathering you have to know exactly how many characters are going to be typed to use that sort of validation. Which in a customer name field you have know idea what their name is going to be (unless you customize a document for each individual customer (not possible)).
    If anyone could help on this problem would be a lifesaver. Thank you
    ::COPY OF HELP QUESTION SUBMITTED::
    Apparently I'm not getting the field validation examples in the Help (F1) of Livecycle. I've been struggling to get all the fields in a collection to validate properly. Once I add a Document Signature field to the document and assign the fields to a collection, it doesn't seem to like the default validation settings if I assign the fields to 'User Input: Required' So for the name field I've tried multiple validation patterns all to no avail. My question is how to write a custom validation pattern that allows for an unknown ammount of characters in a name, email..etc. I've tried A A which only validates if the user enters J D for example but John Doe does not work. I've tried other combinations but nothing works. Any help would be appreciated.
    Thank you
    ::ANSWER SUBMITTED BY COMMUNITY EXPERT::
    A:There are a couple of things you need to look at. First, is the Acrobat Picture Clause Reference. You can find it and other LiveCycle references on this site
    http://partners.adobe.com/public/developer/xml/index_arch.html
    The other thing to look at is using a JavaScript validation script with a Regular Expression. Regular Expressions are much more flexible that the picture clause at doing validation.
    Answered by Thom Parker on Fri, Jul 6, 2007
    ::RESPONSE FROM ME BACK::
    Q:After reading through the Picture Clause Reference I'm certain there is no way to validate the customer name field without first knowing how many characters will be entered in. And I'm pretty sure there is no simple way of just making it "required" without a pattern to verify against.
    The Document Signature Field acts pretty weird if the text field is 'required' and there is nothing to validate it against. Which all in all I just want to make sure it is filled out. Customer Name field (First and Last name) one text field.
    So I tried the regular expression route, and added it to the 'Validate' section of the text field. Still I think the problem lies in the way the Document Signature field processes the 'required' fields.
    Now I noticed that this only happens if I set the document signature field to lock the required fields after digitally signing the document. This is a mandatory feature the document needs to have, along with the document signature. And the custom stamp option is not a viable solution to this either, since in my field of work everything is questioned whether or not it was altered or forged in some manner. And Custom 'Forged' stamps would not be too difficult to recreate, so that idea is out of the window.
    I'm stumped on this and any suggetions as to what route to take would be greatly appreciated. I can not release a document to the customers with validation error messages popping up even though the fields are filled out. Just wouldn't be professional, and down right annoying considering it validates about 15 fields, and everyone except the date and tim

    Hey Robert,
    I've been having the same issue where, once digitally signed, I end up having an issue with my mandatory fields returning an error '[mandatory field name] validate failed'. Is this the sort of errors you are getting? I'm also trying to find answers on this as I've tried a few things but it hasnt worked well. One thing I did was to change the mandatory field back to optional and coded my submit button using the if clause when the submit button is pressed to check if the this mandatory field is filled in.
    if ((pgDetails.txtReqBy.rawValue != null) &&(pgDetails.txtReqBy.rawValue != ""))
    event.target.submitForm({cURL:"mailto:[email address]?subject=New/Edit Supplier Detail Form&body=Please find attached the completed form.",cSubmitAs:"PDF",cCharset:"utf-8"});
    else
    xfa.host.messageBox("Requested by field MUST be filled. Pls enter your full name.");
    This seems to work fine except for one thing. If first time around, I fill the form out leaving the mandatory field blank, it returns the message "Requested by field MUST be filled. Pls enter your full name." So now I go back and fill in the mandatory field and, without navigating to another field, I click the submit button, I get the same message "Requested by field MUST be filled. Pls enter your full name." as it has not picked up the new value of the field. Any idea if there is code to make it re-read the field?
    Rgds,
    Jan

  • Using Tabs in Generated Pages - Validation Issue

    Hi,
    We're using JHS 10.1.3.0.97 and are using the "stacked" regions functionality
    to make the form less cluttered.
    The problem we're having now is that whenever a user wants to
    view the items on a tab (that is not currently the selected one),
    a validation issue is thrown saying that all the mandatory fields need to be entered first.
    Is there a way to avoid this message and postpone the validation until the
    user clicks on the "Save" button?
    Regards,
    Cliff

    Cliff,
    I am sorry, in the 10.1.3.1 release we switch off server-side model validation on a partial page request.
    It is not possible to switch off the client-side validation, because the only way to do this, is by setting immediate=true on the tabs. However, with this setting JSF will skip the Model Update phase, which means that any changes you made to the tab region you are going to leave by clicking another tab, would be lost.
    The only alternative is by creatign a custom templates and generating the required items with showRequired="true" instead of required="true" which means required items are never checked client-side.
    Steven Davelaar,
    JHeadstart Team.

  • Reg Missing Field Validation Message

    Hello All,
    I am trying to use field validation for making a field required when a specific value from a pick list is chosen, i am using this with a custom object.
    i have written the Field Validation:
    IIf(([<plStatus_of_Search_ITAG>] = 'Completed' AND [<stTechnology_ITAG>] IS NULL),N,[<stTechnology_ITAG>])
    and typed some error message and saved the field, signed off and signed in
    after that the validation is not getting triggered and when i checked the fiels validation textbox, i found the "Field Validation" condition and "Field Validation Error Message" missing. why is this happening?
    as i have saved them.. what might be the problem.
    regards,
    Uday

    Hi Arvindh,
    The issue was solved after i cleared cookies and offline client, i was a browser issue.
    Thanks.

  • Field validations in HTMLB.

    Hi All,
    We have  a few issues regarding field validations in HTMLB:
    1)We have an editable cell in a tableView of the form.Field validation is done , but we are unable to set the FOCUS on this field aftert displaying the error message.we tried using PHTMLB element focusRect but it dosent works.
    2)Thers a radio button group with three radio buttons.How to make selection of a radio button mandatory , similarly how to make selection from a DDLB mandatory in the form?
    I guess using java script will be benificial as it prevents server round trips....
    Thanks in advance,
    Anubhav.

    Hi ,
    Field validations for DDLBs is done , but i didnt find accurate solution for Radio Button Group...
    1)How to check that at least one radio button is selected from the radio button group?
    2)How to set focus on DDLB after alert message?
    I tried using
    dacument.form.elementID.focus( );
    But it gives a java script error
    Function not suppoeted for the element.
    3)How to stop form from submiting after the laert message?
    I tried using
    return false();
    after the message , it works but the IE shows the message
    Done but with errors on page
    after the OnClientClick is triggered.
    and if i use
    return false;
    , the form is submited....
    Thanks,
    Anubhav.

  • SBL-DAT-00398 error msg for User Field Validation

    Hi All,
    I have created the following field validation on the User field "Division": Len([<Division>])>0 AND InStr([<ltValidation_OU_ITAG>],[<Division>])>0, As the "Division" field is free text, the porpuse of the validation is to prevent the user from entering in this field any value that is diffrent from the ones available in the custom field "Validation OU" via the User Owner Page Layout. The validation works OK for Admin Role via the User Admin Page Layout but a SBL-DAT-00398 error msg stating " Field '<Division>' does not exist in definition for business component 'Occam Current Employee' " appears when users with other roles are trying to update this field via the User Owner Page Layout.
    I have contacted OD Customer support and they validated this in several POD saying this "is most likely a defect in the application" and a CR will be submitted to dev team to fix it sometime in the future.
    I am wondering though if support isn't making life easy here stating the above...:
    1. Anyone encountered this error before? (couldn't find any trace for this on My Oracle Support)
    2. Anyone aware of field validation limitations for the 'User' entity?
    3. Workaround suggestions are welcomed
    10X for you help!
    Alex.

    Error(), fatal(), info() and warn() issue FacesMessages that get picked up by the MessageGroup component.
    By adding in the uicomponent you can target the facesMessage so that it gets picked up by the Message component associated with the field causing the error.
    But, to get the label to show the error as well, you need to throw a validationError. See this tutorial for more informaiton:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/customvalidator.html
    Lark

  • Validation issues with form (was: Validation)

    I am having validation issues with my form.  Even after I put in a name and last name it says the entries are invalid.  Could this be a hosting problem?  www.bussmanncomputers.net/Nx

    Below is mail form from my isp, which is Godaddy:
    This is the form that I am having some problems with configuring.
    <?php
    if ( !isset($_SERVER['SPI'])) {
            die();
    if (!isset($_SERVER['DOCUMENT_ROOT'])) {
            echo("CRITICAL: we seem to be running outside of the norm.\n");
            header("Location: http://".$_SERVER["HTTP_HOST"]."/");
            die("CRITICAL: Document root unavailable.\n");
    $request_method = $_SERVER["REQUEST_METHOD"];
    if($request_method == "GET") {
            $query_vars = $_GET;
    elseif ($request_method == "POST") {
            $query_vars = $_POST;
    reset($query_vars);
    function customsort($a,$b) {
            // $a is array for form vars, $b is comma seperated case sensitive field order
            // this is case sensitive -- good idea to hrc that.
            $data = array();
            if ( strstr($b,',') == FALSE )  {
                    $b = $b.",";
            $ordering = split(',',$b);
            foreach ($ordering as $orderitem) {
                    if ( ($orderitem != null) && ($orderitem != "") ) {
                            if (isset($a[$orderitem])) {
                                    $data[$orderitem] = $a[$orderitem];
            foreach ($a as $key=>$val) {
                    $data[$key] = $a[$key];
            return $data;
    function xmlentities($string) {
            return str_replace ( array('&', '"', "'", '<', '>'), array('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $string);
    $t = date("U");
    $formhomedir = preg_replace('/.*\/home\/content/','',$_SERVER['DOCUMENT_ROOT']);
    $formhomedir = explode('/',$formhomedir);
    if (count($formhomedir) <= 4) {
            $formhome="/home/content/".$formhomedir[1]."/".$formhomedir[2]."/data/";
    else {
            $formhome="/home/content/".$formhomedir[1]."/".$formhomedir[2]."/".$formhomedir[3]."/".$f ormhomedir[4]."/data/";
    $file_order = ".default";
    $file_format = ".text";
    $file_interval = ".15m";
    $field_order = "";
    if (isset($query_vars['form_order'])) {
            if ($query_vars['form_order'] != "alpha") {
                    $field_order=$query_vars['form_order'];
                    $file_order=".custom";
                    $query_vars = customsort($query_vars,$field_order);
            else {
                    switch ($query_vars['form_order']) {
                            case "alpha":
                                    uksort($query_vars,'strnatcasecmp');
                                    $file_order=".alpha";
                            break;
                            default:
                                    $file_order=".default";
                            break;
    if (isset($query_vars['form_format'])) {
            switch ($query_vars['form_format']) {
                    case "csv":
                            $file_format = ".csv";
                    break;
                    case "html":
                            $file_format = ".html";
                    break;
                    case "xml":
                            $file_format = ".xml";
                    break;
                    case "text":
                    case "default":
                    default:
                            $file_format = ".text";
                    break;
    if (isset($query_vars['form_delivery'])) {
            switch ($query_vars['form_delivery']) {
                    case "hourly":
                            $file_interval = ".60m";
                    break;
                    case "hourly_digest":
                            $file_interval = ".60mc";
                    break;
                    case "daily":
                            $file_interval = ".24h";
                    break;
                    case "daily_digest":
                            $file_interval = ".24hc";
                    break;
                    case "digest":
                            $file_interval = ".15mc";
                    break;
                    case "default":
                    default:
                            $file_interval = ".15m";
                    break;
    $file = $formhome."form_".$t.$file_order.$file_format.$file_interval;
    $fp = fopen($file,"w");
    reset($query_vars);
    switch ($file_format) {
            case ".csv":
                    $csvkeys = "";
                    $csvvals= "";
                    $firsttime = "";
                    while (list ($key, $val) = each ($query_vars)) {
                            if ( ($key == "form_order") ||
                                    ($key == "form_format") ||
                                    ($key == "form_delivery") ||
                                    ($key == "redirect") ) {
                            else {
                                    if ($csvkeys != "") {
                                            $firsttime=",";
                                    $tmpkey=escapeshellcmd($key);
                                    $csvkeys = $csvkeys.$firsttime."'".$tmpkey."'";
                                    $tmpval=escapeshellcmd($val);
                                    $csvvals = $csvvals.$firsttime."'".$tmpval."'";
                    fputs($fp,"$csvkeys\n");
                    fputs($fp,"$csvvals\n");
            break;
            case ".html":
                    fputs($fp,"<table border=\"1\" cellspacing=\"1\" cellpadding=\"2\">\n");
            break;
            case ".xml":
                    fputs($fp,"<form>\n");
            break;
    reset($query_vars);
    while (list ($key, $val) = each ($query_vars)) {
            if ($key == "redirect") {
                    $landing_page = $val;
            if ( ($key == "form_order") ||
                    ($key == "form_format") ||
                    ($key == "form_delivery") ||
                    ($key == "redirect") ) {
            else {
                    switch ($file_format) {
                            case ".html":
                                    fputs($fp,"\t<tr>\n");
                                    fputs($fp,"\t\t<td><b>$key</b></td>\n");
                                    fputs($fp,"\t\t<td>$val</td>\n");
                                    fputs($fp,"\t</tr>\n");
                            break;
                            case ".csv":
                                    // content is already output
                            break;
                            case ".xml":
                                    fputs($fp,"\t<field>\n");
                                    fputs($fp,"\t\t<fieldname>".xmlentities($key)."</fieldname>\n");
                                    fputs($fp,"\t\t<fieldvalue>".xmlentities($val)."</fieldvalue>\n");
                                    fputs($fp,"\t</field>\n");
                            break;
                            case ".text":
                            default:
                                    fputs($fp,$key.": ".$val."\n");
                            break;
    switch ($file_format) {
            case ".html":
                    fputs($fp,"</table>\n");
            break;
            case ".xml":
                    fputs($fp,"</form>\n");
            break;
    fclose($fp);
    if ($landing_page != "") {
            header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page");
    else {
            header("Location: http://".$_SERVER["HTTP_HOST"]."/");
    ?>

  • Need field validation help

    I have read the all documentation, but still cannot get what I believe is a simple field validation to work properly. Can somebody assist?
    Here is the situation. I have two fields: one is a checkbox and the other an integer field. ( If the integer field is 0 or null ) AND (the checkbox is not checked or null) then we need to show the user an error message. Seems simple. I’m trying to take baby steps to get this to work so I understand it, but have not been successful.
    I know the message only triggers if the validation equates to False. I believe that field validations trigger whenever a record is save no matter if the field that has the validation was changed. If this is not correct, please advise.
    Starting out simple: I added the follow validation to the checkbox field: [<integerField>] <> 0 The data in the UI clearly shows a 0 in this field, but when I update the record, the error message is not display. Can somebody explain why? Is my syntax wrong?
    I need to understand how to correctly compose the field validations and also how to account for ‘null values’.
    Any help would be greatly appreciated.
    I also tried this on the checkbox field: ( [<checkboxfield>] LTGT 'Y' AND [<Integerfield>] = 0 ) but again it does not display message. LTGT = < >
    I wish Oracle had a webnair on how to write field validations. :)
    Thanks.

    Validation can be a trial and error exercise. There are a couple of key points to remember.<ul><li>First, always check the sytax before saving. This will only catch some very basic issues, but it can helpful.</li><li>Second, always click save for the Field Edit before testing. I know I forget to do this half the time, and it can be frustrating to find out that the validation would have worked if you had saved the change to the field.</li><li>Another key is to allow for the validation to be skipped during integration or by administrators. This can be managed with the ExcludeChannel() and UserValue() functions.</li><li>Finally, there are a couple of key points to be understood about when field validation rules will fire. The following circumstances prevent a field validation expression from being evaluated:<ul><li>A field is left blank when the record is created. Field validation does not force a value to be required.</li><li>A field has a pre-existing invalid value, and it is not changed when it is updated.</li></ul></li></ul>
    With all of that said, let's discuss your problem. I think you want the validation to work as follows: <ul><li>If the number is greater than zero, do nothing</li><li>If the number is less than or equal to zero or null, then check to see if the flag is checked. If the flag is checked, do nothing, otherwise give a message.</li></ul>
    If that is true, you have a nested IIf statement. The statement would be similar to the one below. This would be for the number field, and you would repeat the same for the checkbox field. Note that in this expression, I am returning the value for the field being validated.
    IIf([<IndexedNumber0>] > 0,[<IndexedNumber0>],IIf([<IndexedBoolean0>]='Y',[<IndexedNumber0>],"Invalid"))
    Good Luck,
    Thom

  • Trying to create a Field Validation Expression and need help

    I have a picklist field and another field that are in question. I want to set some sort of rule that forces the second field to be populated only If specific values are selected from the picklist field.
    I was going the route of a field validation Rule, but everything i've tried so far does not produce the results i am trying to achieve.
    The first type of expression i tried was:
    ([<plProduction_Print_Account_Category_ITAG>] <> LookupValue("OCC_CUST_LOV_ACCOUNT_1", "No Production Print") AND ([<stSIC_Code_ITAG>] IS NULL))
    This is generating the field validation error message when i select any of the correct values from the picklist. the problem is still the second field, which will generate the error if a value is entered into the second field, regardless of the picklist value selected. Switching the "IS NULL" to "IS NOT NULL" only reverses the problem on the second field, causing the error to generate when the second field is updated to a NULL or blank value.
    I also tried :
    = 'No Production Print' AND [<stSIC_Code_ITAG>] IS NOT NULL
    and got similar results.
    ([<plProduction_Print_Account_Category_ITAG>] = LookupValue("OCC_CUST_LOV_ACCOUNT_1", "No Production Print"))
    Similar results as well.
    Does this need to be an IIF statement? Do I need to make this a workflow expression instead? i could really use some help as I have tried everything i can think of and admit, i'm not the expression guru!!!. Any assistance would be appreciated.
    TeknoMan

    Yes we have the same request and we used the following expression. Example we have a field "Método de pago" ( [<plMtodo_de_pago_ITAG<]), it's values are "CHEQUE and DEPOSITO" if we select DEPOSITO three more fields were requiered Route, Sucursal de banco and Clabe so we have to put this validation in the four fields including Metodo de pago.
    [<plMtodo_de_pago_ITAG>] <> "DEPOSITO" OR ([<Route>] IS NOT NULL AND [<nSucursal_de_banco_ITAG>] IS NOT NULL AND [<stCLABE_ITAG>] IS NOT NULL)
    well in the field CLABE we put the following [<plMtodo_de_pago_ITAG>] <> "DEPOSITO" OR ([<Route>] IS NOT NULL AND [<nSucursal_de_banco_ITAG>] IS NOT NULL AND [<stCLABE_ITAG>] IS NOT NULL AND Len([<stCLABE_ITAG>])=18) this was because the len of the value must be 18 characters.
    I hope this works for you
    Regards Catalina Valadez
    Edited by: CatalinaV on 12/03/2009 10:54 AM
    Edited by: CatalinaV on 12/03/2009 10:55 AM

  • How can I do field validation on the last two characters of a text field?

    I have a text field. The user is required to enter the last two characters as numbers. I want to apply validation on this field. How can i achieve the same?
    EX: If the user enter ABCDE, an error messgae stating the last two digit should be numeric.
    I tried using the below in the field validation which did not work.
    (0+Right([<ExternalSystemId>],2)) > 0 AND (0+Right([<ExternalSystemId>],2)) < 99.
    Any ideas would help?

    Try this-
    FindOneOf(Right([<Field1>],"2"),"abcdefghijklmnopqrstuvwxyz")=0
    rgds,
    Amit

  • Field Validation on Read Only Field

    I'm trying to create a pop up error box if a field contains null values. The problem is that the field I'm trying to do the validation on is a read-only field. It's the Account field on the Contact Object or Module. It won't allow me to include validation. The goal here is to have a POP UP ERROR box come up if someone does not select a value for that field. Making it required doesn't generate a popup box, it only has a small "required" text next to the field which can be easily missed by a user. Any ideas?

    Hi !
    I found the way to do what you wan't, but it sounds a bit strange for me...
    You have to put a field validation on the Account Id field. I made some tests to know what is in the AccountId field when it's blank and i see that the value is "No Match Row Id" !!
    So your validation rule must be simply
    *&lt;&gt; "No Match Row Id"*
    It worked for me, the error message appears... But I think this is something we have to report to Oracle...
    Hope this will help, feel free to ask more !
    Max

  • Field validation - make field required based on value of another field

    Hi,
    I tried to enter the field validation into both LeadSource and stSource_Detail field, however, when the LeadSource is not "Customer" or "Staff" and Source Detail is not empty, the validation message will prompt. Below is my field validation:
    IIf(([<LeadSource>]=LookupValue("OCCAM_LEAD_SOURCE", "Customer") OR [<LeadSource>]=LookupValue("OCCAM_LEAD_SOURCE", "Staff")) AND [<stSource_Detail_Staff_ID__Customer_ID_ITAG>] IS NULL,N,[<stSource_Detail_Staff_ID__Customer_ID_ITAG>])

    Field Validation statements must return only TRUE or FALSE. Rewrite your statement such that if your condition is valid, true is returned, and if not, false is returned.
    Thom

Maybe you are looking for

  • Allow help desk to manage open files on file server

    I am looking to delegate the ability to manage open files to our help desk users.  They are getting an increasing number of calls from users asking about files and who has them open, or to force close them..etc. The help desk users are not admins on

  • No longer able to buy/update apps or iTunes on ipad3

    Hi, Whenever I try to buy a new app or update an old one, or buy along in iTunes, I get a message saying "unknown error". I can download fine on my iPhone so it's not a problem with my password... I've tried turning on/off wifi, airplane mode and the

  • Z77GD-80 Boot and RAM Problems ( caused by ME Flash Fail )

    Hi everyone , i recentlty updated my MB to Bios Version 1.2 and noticed that an option had been added => update bios and ME tried that option , chosen the same bios file ( 1.2 ) , a warning popup came up that mentioned to not unplug or shutdown the s

  • Hello, When upgrading Iphone4 error-1.How to remove it? thank you

    Hello, When upgrading Iphone4 error-1.How to remove it? thank you

  • Quicktime running as background

    HaHa, i just figured out that if you run a movie in full screen and then 'command' + tab into other app, it'll bring up your desired window. for example you can folder organize whilst watching your favorite ep of Robot Chicken, or writing an essay. j