Validating the field

I want to maka a select of table febko based on condition that field AZIDT's first seven character is given in the select-options
i.e my selection should be based only on the seven characters of the field which is given by the user
Regards,
jaga.

The Visual Composer is a composition tool, you can do the same in very different ways, this is not a fix tool with only one way to do it...
I'm sad you think that this forum do not help you, but maybe with playing a bit with the storyboard you will get the answer that you're looking for.
Also in you case you give us very small details, you asked how to validate an input and we answered you...(with drop-down list or by using validation rules)
Maybe you're asking for a formula but what kind of formula you want ? which datasources you want to use ? what kind of result are you expecting...
So, again, i think we give you the tricks, now you have to adapt it to use in the right way...
Kind Regards,
Luis
Nikhil Bansal  
Posts: 331
Questions: 139
Registered: 12/20/06
Forum points: 10 
   Re: How to validate the input field  
Posted: Jun 25, 2007 10:21 AM    in response to: Luis Felipe Lanz       Reply      E-mail this post 
Hi Luis,
My question was very simple.
I just want to check if the input field contains the characters 'a-z' or 'A-Z'. If any character is present then say onBlur or onSubmit there should be an error message.
Can you give me a formula for this requirements. Shall be glad if I get.
Regards
rewards point

Similar Messages

  • FormToEmail is not validating the fields

    Hi all
    iam newto contact form n php downloaded FormToEmail.php from dreamweaverspot.
    The issue is email is working even if i submit blank form.
    my page link http://fagencomputers.com/contact.html.
    Can anyone help me how to validate the form using php?
    thanks in advance,
    naveen
    here is the php script
    <?php
    $my_email = "[email protected]";
    Enter the continue link to offer the user after the form is sent.  If you do not change this, your visitor will be given a continue link to your homepage.
    If you do change it, remove the "/" symbol below and replace with the name of the page to link to, eg: "mypage.htm" or "http://www.elsewhere.com/page.htm"
    $continue = "/";
    Step 3:
    Save this file (FormToEmail.php) and upload it together with your webpage containing the form to your webspace.  IMPORTANT - The file name is case sensitive!  You must save it exactly as it is named above!  Do not put this script in your cgi-bin directory (folder) it may not work from there.
    THAT'S IT, FINISHED!
    You do not need to make any changes below this line.
    $errors = array();
    // Remove $_COOKIE elements from $_REQUEST.
    if(count($_COOKIE)){foreach(array_keys($_COOKIE) as $value){unset($_REQUEST[$value]);}}
    // Check all fields for an email header.
    function recursive_array_check_header($element_value)
    global $set;
    if(!is_array($element_value)){if(preg_match("/(%0A|%0D|\n+|\r+)(content-type:|to:|cc:|bcc: )/i",$element_value)){$set = 1;}}
    else
    foreach($element_value as $value){if($set){break;} recursive_array_check_header($value);}
    recursive_array_check_header($_REQUEST);
    if($set){$errors[] = "You cannot send an email header";}
    unset($set);
    // Validate email field.
    if(isset($_REQUEST['email']) && !empty($_REQUEST['email']))
    if(preg_match("/(%0A|%0D|\n+|\r+|:)/i",$_REQUEST['email'])){$errors[] = "Email address may not contain a new line or a colon";}
    $_REQUEST['email'] = trim($_REQUEST['email']);
    if(substr_count($_REQUEST['email'],"@") != 1 || stristr($_REQUEST['email']," ")){$errors[] = "Email address is invalid";}else{$exploded_email = explode("@",$_REQUEST['email']);if(empty($exploded_email[0]) || strlen($exploded_email[0]) > 64 || empty($exploded_email[1])){$errors[] = "Email address is invalid";}else{if(substr_count($exploded_email[1],".") == 0){$errors[] = "Email address is invalid";}else{$exploded_domain = explode(".",$exploded_email[1]);if(in_array("",$exploded_domain)){$errors[] = "Email address is invalid";}else{foreach($exploded_domain as $value){if(strlen($value) > 63 || !preg_match('/^[a-z0-9-]+$/i',$value)){$errors[] = "Email address is invalid"; break;}}}}}}
    // Check referrer is from same site.
    if(!(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))){$errors[] = "You must enable referrer logging to use the form";}
    // Check for a blank form.
    function recursive_array_check_blank($element_value)
    global $set;
    if(!is_array($element_value)){if(!empty($element_value)){$set = 1;}}
    else
    foreach($element_value as $value){if($set){break;} recursive_array_check_blank($value);}
    recursive_array_check_blank($_REQUEST);
    if(!$set){$errors[] = "You cannot send a blank form";}
    unset($set);
    // Display any errors and exit if errors exist.
    if(count($errors)){foreach($errors as $value){print "$value<br>";} exit;}
    if(!defined("PHP_EOL")){define("PHP_EOL", strtoupper(substr(PHP_OS,0,3) == "WIN") ? "\r\n" : "\n");}
    // Build message.
    function build_message($request_input){if(!isset($message_output)){$message_output ="";}if(!is_array($request_input)){$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!empty($value)){if(!is_numeric($key)){$message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;}else{$message_output .= build_message($value).", ";}}}}return rtrim($message_output,", ");}
    $message = build_message($_REQUEST);
    $message = $message . PHP_EOL.PHP_EOL."-- ".PHP_EOL."";
    $message = stripslashes($message);
    $subject = "FormToEmail Comments";
    $headers = "From: " . $_REQUEST['email'];
    mail($my_email,$subject,$message,$headers);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Dreamweaver Tutorial - Contact Form</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    .thanks {
        text-align:center;
        margin-right: auto;
        margin-left: auto;
        font-family: Geneva, Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #333333;
        width: 475px;
        margin-top: 290px;
        margin-bottom: 0px;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        font-weight: normal;
    body {
        background-image: url(../images/01-main-copy.jpg);
        background-repeat: no-repeat;
        background-position: center top;
        background-color: #B7E4F9;
    a:link {
        color: #0066CC;
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #006699;
    a:hover {
        text-decoration: underline;
        color: #FF6600;
    a:active {
        text-decoration: none;
    .style3 {
        color: #0066CC;
        font-weight: bold;
    .logo {
        color: #0066CC;
        font-weight: bold;
        float: left;
    .text {
        float: right;
        padding-top: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        padding-left: 20px;
        font-weight: normal;
    -->
    </style>
    </head>
    <body text="#000000">
    <div class="thanks">
    <div class="logo"><b><a href="<?php print $continue; ?>"><img src="../images/logo.png" alt="fagen" width="216" height="86" border="0"></a><br>
    </div>
    <center>
    <div class="text">
    Thank you <?php print stripslashes($_REQUEST['name']); ?>
    <br>
    Your message has been sent
    <p class="style3"><a href="<?php print $continue; ?>"><strong>Click here to continue</strong></a></p>
    </div>
    </center>
    </div>
    </body>
    </html>

    Hi All,
    Thanks for reading my post,
    I found a very cool javascript called gen_validatorv4 to validate the formtoemail.php
    check this link.
    http://www.javascript-coder.com/html-form/form-validation.phtml
    thanks again
    naveen

  • Unique problem with validation/ making field required

    I have searched the forums trying to find a way to make a field required based on the users selection of a check box, or something else. So far, everything says use nullTest = "error".
    I have tried to do this and get the following results: The red highlighting, which shows up around my other required fields, will not show up unless you click in the text box and then out of it. Weird! Then, when pressing the submit button, it will not actually give you an error message if there is nothing in that text box, as it will if there is nothing in the fields that I originally make required.
    Any thoughts, or fixes would be greatly appreciated.
    Thanks in advance for any help.

    We do the same thing here. We haven't had any issues with the submit not validating the field correctly though. Our only issue was the red highlighting. To get around this, we would call resetdata on the field. resetData clears out the value of the field so you need to store it off and then reset it.
    if (form1.BP1.ChangeActivities.Pos1.Department==1) then $.validate.nullTest = "error" else $.validate.nullTest = "disabled"
    endif
    $=$
    var x = $
    xfa.host.resetData("form1.BP1.ChangeParticulars.Pos1To.DeptNo")
    $ = x

  • User exit for validation of field NEWKO in f-48 tcode in finance

    hi,
           Previously we  validated the Field XBLNR (Reference) in the document header from the table EKKO, for the PO Number. now we want to validate the vendor number(LIFNR)  in the field NEWKO from the table EKKO with reference to the PO number entered in the field XBLNR.
    we want to find out the correct user exits or any enhancement for the above validation.
    pls help me in this regard ,matter most urgent.
    Thanks & regards
    veera

    hi,
    for f-48 you could use FI-validation with tcode OB28
    use an exit (UK...) for your check in Program ZGGBR000
    A.

  • Additional validation for one of the fields in down payment request

    Hi All ,
      I have a requirement for doing some additional validation for one of the fields in down payment request
    (F-47) .
    I need to validate a field u2018Assignmentu2019 in the down payment request .
    Here, assignment field is mandatory and user has to enter a valid contract number. Then we have to  validate the contract number entered against the tracking number field (BEDNR) in EKPO table corresponding to the vendor.
    If the contract number entered is incorrect, then system displays a message with the valid contract number. The user can modify the assignment field with this contract number. Once the field is modified, system once again validates whether the contract number entered is valid.
    Can you please provide me your valuable inputs how to achieve this.
    Regards,
    Tripti.

    Hi Vishal ,
      Thanks for your reply. I tried searching for  them but couldn't find any.
    Regards,
    Tripti.

  • The Submitter form cannot be validated if I don't fill the fields for each member of team (3). is it means that a team less than 3 persons cannot participate ??

    The Submitter form cannot be validated if I don't fill the fields for each member of team (3).
    is it means that a team less than 3 persons cannot participate    ??

    A team with less than 3 persons is eligible. One, two and three member teams are all eligible. I will remove the requirement to fill out the information for all three participants.

  • Order Import - Validation failed for the field - End Customer Location

    I am trying to import an order using standard import program and it is failing with below error:
    - Validation failed for the field - End Customer Location
    I have checked metalink to debug this and found nothing, the values i have used to populate the interface table or valid.
    Can someone please post your views on this, on where the problem might be.
    Thanks!

    Hello,
    Try the following
    1) Check if any processing constraints are applied to customer/location
    2) Try to create a new customer and associate internal location.
    Create a new order to reproduce the issue
    Thanks
    -Arif

  • Adobe validations of field before submit the form

    Hi forum
    I have an Interactive Form, but i can validate the fields before submit the form and display a popup message, is this possible ??
    Thnks
    Josué Cruz

    Hi josue,
    Use the regular button and for that in the click event write all the validation scripting and at the end use the following code
    In JavaScript: xfa.connectionSet.MyWSDLDataConnection.execute(0);
    In FormCalc: $connectionSet.MyWSDLDataConnection.execute(0)
    Regards
    Pradeep Goli

  • Where are the validations of the fields done in  BAPI_GOODSMVT_CREATE ?

    Hi ,
    I have to more or less simulate bapi_goodsmvt_create and perform the same validations as that in this bapi.....can anyone tell me exactly where the validations are done for the required data ...for example if my batch has crossed the sled date it populates the return table..i want to know where the checking for batch is done ........Please help.....

    Hi ,
    you can search the message class and message number from the returntab.
    Example:
    i am Getting the Retuntab with following details
    E M8                   374 Fill in mandatory field DOC_DATE (import parameter HEADERDATA)
    in this case Message Class in M8 and Message number is 373. So in your Bapi you can search with '374'
    So that i will display where ever it is being validated and how it has been validated. the return tab will fill with the following perform.
    PERFORM bapireturn_fill USING  'M8'          
                                    'E'           
                                    '374'         
                                    'ACC_1_TIME'  
                                    'ADDRESSDATA' 
                                    space         
                                    space         
                           CHANGING te_return.    
    Here you can see before this statement what are the validations done.
    Hope it will answer your question.
    Regards,
    Venkat

  • Validation Error - can't fix the field and continue?

    I have created a validation test (field must be numeric). That works fine, if the field is NOT numeric, the error appears like it should and the field is zeroed. However, I can't seem to be able to fix the error (ie: enter a numeric value) and successfully add or change the record.
    Am I missing something?
    Thanks in advance.
    Deb

    Hi Daniel
    If you have multiple display fields in a lookup table then there is an extra step you need to perform in the Import Manager:
    Once you have mapped to both of the destination display fields, right click on a field in the "Source Hierarchy" list and choose "Create Compound Field" -> (in this scenario it will be your "Issue storage locations" object.)
    Once you have created the compound field, the Import Manager will create a new field named "Issue storage locations" and map it to the lookup table. You can then perform value mapping on this new compound field.
    If the object for which you want to create a compound field is disabled (greyed out) then you have not mapped to all of its display fields.
    HTH,
    Mark

  • Order Import Failed in OM : Log Validation failed for the field - Ship To

    Problem in Order Management
    When i tried to do Order import in Source Org logfiles shows the Message :Validation failed for the field - Ship To, Please if anyone have a solution of this.
    Thanks in advance.
    Regards,
    Rajesh Verma
    Senior Consultant- Oracle Apps.
    COLT

    perhaps you might want to try populating customer_id instead of name to make sure that there is no error on typing customer name.
    primary ship-to and bill-to must exist under this customer. During order import, if ship-to is not specified then import will fetch primary ST of customer.
    This is what we use to populate interface table -with mininum of data.
    INSERT INTO oe_headers_iface_all
    (orig_sys_document_ref,order_source_id,org_id
    ,order_type_id,payment_term_id, shipping_method_code, freight_terms_code
    ,customer_po_number,salesrep_id
    ,sold_to_org_id, ship_to_org_id,invoice_to_org_id,sold_to_contact_id
    ,booked_flag
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code, order_category
    ,attribute5,tp_attribute4,xml_message_id,xml_transaction_type_code
    ,request_id, error_flag)
    INSERT INTO oe_lines_iface_all
    (order_source_id, orig_sys_document_ref, orig_sys_line_ref,orig_sys_shipment_ref
    ,inventory_item,item_type_code,line_type_id
    ,top_model_line_ref,link_to_line_ref,component_sequence_id,component_code,option_flag
    ,ordered_quantity
    ,order_quantity_uom,salesrep_id
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code,cust_model_serial_number,line_category_code
    ,context,attribute6
    ,reference_type, reference_line_id, reference_header_id
    ,return_context, return_attribute1, return_attribute2
    ,return_reason_code
    ,tp_attribute1,tp_attribute2,tp_attribute3,tp_attribute4,tp_attribute5
    ,request_id,error_flag)

  • Validation failed for the field - Bill To Contact, Ship To Contact

    Hi,
    When I am trying to Import / enter order for a specific customer, i am getting the error.
    VALIDATION FAILED FOR THE FIELD - BILL TO CONTACT
    VALIDATION FAILED FOR THE FIELD - SHIP TO CONTACT
    Has anyone got this error earlier? If you know the resolution, please update me on this.

    Hi,
    I am getting following error when I an adding one customer address to another customer through Order Import Program. By populating 3 table values
    1. OE_CUSTOMER_INFO_IFACE_ALL
    2. OE_HEADERS_IFACE_ALL
    3. OE_LINES_IFACE_ALL
    Error Message:
    Duplicate SHIP_TO ADDRESS found for IC_804810. Please correct the data.
    Duplicate BILL_TO ADDRESS found for IC_804810. Please correct the data.
    But its working fine when I am giving New address for existing customer.
    Please help me on this....
    Thanks,
    Oracle Support.

  • Parts Requirement Create Order Error:Validation Failed for the field - Shipping Method DHL

    Trying to create Parts Requirement.
    Error message on clicking "Create Order" button: "Validation Failed for the field - Shipping Method DHL"
    Please suggest the Setup that needs to be done for this.

    Kinck
    The same script worked for me in vision (R12.1). You may have issues with your defaulting of a number of attributes that you are not passing in the API (like price list, line type and so on). You may want to check them.
    Thanks
    Nagamohan

  • How to handle "Validation failed for the field - Tax code" issue?

    We had mass uplaod the order that create on Mar with tax code effective date on Apr. Now we would like return on this order  and getting error of "Validation failed for the field - Tax code". How to handle this issue?

    Hi
    You will have to check if the Tax_Code of RMA being received is the same as the one in the related sales order.
    If not you will need to use the same tax_code.
    Refer below document : Doc ID 1584338.1

  • Not validating against LOV if the field is not null

    hi all,
    i am using form6i.
    i have two fields called p_code,p_doc.
    p_code is optional and p_doc is mandatory. Both the fields is having LOV. Based on the p_code, p_doc should be filtered.
    both fileds i have given validate_from_list true.
    if user entered some values and processed after that without clearing the fields(p_doc) if user enters the data p_code the values in the LOV for p_doc is filtering(refreshing) but the value is not validate against the LOV.
    that means
    p_code p_doc
    aa 123
    bb 456
    first time for the code 'aa' the p_doc value was 123. now again user entered bb so that in the lov p_doc 456 is present but in the item still 123 is there. If user press the ENTER or TAB the cursor is going to next field with out valudating the value in the p_doc(old value is 123 but it should replace by 456) but is not showing any error also.
    if my requirement is not clear.please let me know.
    Thanks..

    Because the value in P_DOC is not getting validate. How about trying the below code in WHEN-VALIDATE-ITEM trigger of P_CODE
    :P_DOC:=:P_DOC;-Ammad

Maybe you are looking for

  • How can i see clip name?

    i can only see the length of a clip. can i see the name of the clip file as well?

  • To get the User status of the Production Order

    Dear all, I have a  requiement to get the user status of the production order, This is just below the Status of the Production Order, I was able to get the Status of the Production order using the Function Module ( REL MSPT PRC ) etc Can any body ple

  • Mac mini expansion Qs (Boot camp and Firewire target disc)

    Hi folks, I'm getting a new Mac mini, mainly because I need more RAM for music projects. I am planning to use my existing Mac Mini as a firewire target disc. This old mini was a partition (about 10GB) that runs Windoze. Now, when I hook the new Mini

  • Logical DS using RDF/XML schema?

    Hi, Does ALDSP 2.5 support creation of a logical data source using an RDF/XML schema? Any pointers to this would be really helpful. Thanks, Vidya

  • Hyperlinked images thin line in iExplorer

    When I tested my website it worked fine in Firefox and Chrome, but not in iExplorer. Hyperlinked images got a  thin purple line around them. Does anyone know how to remove that? It'd be very helpful! Thanks in advance!