Validations not working in F-58

Hi all,
I am trying to activate a validation for the document header (call point 1) for transaction F-58 (Outgoing payment + print) to ensure that people post documents using the correct document type in the header (which is my main objective).
Validations work for e.g. FB01, but F-58 seems to ignore the validations I create. Does anyone have a similar experience/explanation/solution?
Thanks!

Hi
Try to use the following step
IF
(  ( Transaction code = 'FB60' OR Transaction code = 'F-43' OR  Transaction code = 'F-48' ) AND "not or i think
   ( Document Type = 'KR' OR Document Type = 'KZ'  ) AND
    Account Type = 'K'  )
OR
( ( Transaction code 'FBZ2'  OR Transaction code = 'F-02' ) AND 
        document Type = 'SA' )
OR
( Transaction code 'F-58' AND document Type 'KZ' ) .
Regards

Similar Messages

  • Client Side Javascript Validation not Working in Struts 1.x version

    hi,
    I'm following the steps provioded in the below link for Javascript Client side validation but still it is not working.I'm struggling to get this work.
    [http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/|http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/]
    "The framework automatically generates the browser specific JavaScript and validate the data only at the client side."From the above statement i undertstand that framework itself generates the javascript function for validating the field mentioned in validations.xml file so that we dont have to explicitly write a javascript function for
    validating the fields
    (or)
    Do we need to call an explicit function
    Please need help on this.
    I have followed all the steps mentioned on the above link but Client Side Javascript Validation not Working in Struts 1.x version....
    Thanks and Regards,
    Deepak

    Hi,
    Please find my steps below....still getting an error.
    2> which version of commons-validation.jar needs to be downloaded ...Link please
        downloaded the latest commons-validation.jar and placed in lib.refreshed the project,and did a build.
        3> which DTD name to be specified in "validator-rules.xml" which is in accordance to commons-validator.jar file.
    validator-rules.xml ::
    <!DOCTYPE form-validation PUBLIC
              "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
              "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">validation.xml:
    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
    "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
    i did as u said and im gettiong the below errorNov 5, 2009 4:33:08 PM org.apache.struts.validator.ValidatorPlugIn initResources
    SEVERE: Invalid byte 2 of 2-byte UTF-8 sequence.
    org.apache.commons.digester.xmlrules.XmlLoadException: Invalid byte 2 of 2-byte UTF-8 sequence.
         at org.apache.commons.digester.xmlrules.FromXmlRuleSet.addRuleInstances(FromXmlRuleSet.java:139)
         at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1610)
         at org.apache.commons.digester.xmlrules.DigesterLoader.createDigester(DigesterLoader.java:89)
         at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:122)
         at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:238)
         at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:181)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1036)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:455)
         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    Need help forum members.....
    Please reply to my question 1  which has been asked before as belowDo i need to write explicit javascript function for validation in Struts (or) struts generates the javascript function by itself.??? Please explain with an example....
    Edited by: Deepak_A_L on Nov 5, 2009 4:37 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Validation not working when clearing an open item

    Hi SAP Gurus,
    We have a interesting scenario to discuss with you. We are using Legal Dunning Procedure so once legal action is intiated against the customer notifications are sent to the legal department if payments are received.
    Unfortunately this can happen only during the next dunning run which of course can occur in varying time intrevals. Therefore we need a validation to occur if a payment is received from a customer against whom legal action has been initiated.
    We tried using the following fields Date of the legal dunning proceedings, Dunning block, Dunning key, Dunning level but are not able to get the validation to work when attempting to clear the open item. These all work when trying to post a new document but fail when trying to clear a open item. Points will be given for helpful answers.
    Regards,
    Siva

    this is the radio button
    <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                                                     label="#{bindings.Gender1.label}"
                                                     required="#{bindings.Gender1.hints.mandatory}"
                                                     shortDesc="#{bindings.Gender1.hints.tooltip}"
                                                     id="sor5">
                <f:selectItems value="#{bindings.Gender1.items}" id="si7"/>
              </af:selectOneRadio>
    i use this sample
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

  • Validation not working during Mass Change of Vendor Line Items

    Hi All,
    I created validation for Reference Key 1 field of Vendor line items, in this validation i used customized user exit.
    Whenever i select multiple line items in FBL1N for mass change & try to put a unauthenticated value system gives error as per Validation only for 1 st item but it not work for subsequent items & put the unauthenticated value in subsequent line items.
    I am not able to understand why Validation is working only for 1st line item during mass change & not for subsequent line items.
    Please provide your suggestions in resolving this issue.
    Thanks
    sandeep

    Hello Sandeep,
    I understand your issue. First check if the changes as per the SAP Note 640908 (https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=640908) is available in your system.
    Actually, Mass changes call FB02 in background and at this stage Validation gets activated and hence, the control doesn't go back for the next item changes. You can test this by deactivating the Validation and then the mass changes will me fine.
    I hope this explains the behaviour.
    Thanks and regards,
    Suresh Jayanthi.

  • XML Validation Not Working.

    Hi Dear Experts.
    I have an scenario Proxy to JDBC - Dual Stack , on Receiver Agreement I checked the option Validation by Integration Engine . I made a test in Test Message on NWA Task and the validation is fine. However when I sent the message from ABAP Proxy the validation is not working.
    Can you help me?
    Regards.

    Can you see your xsd in NWA??
    NWA → Cache Monitoring → Mapping Runtime.
    or
    PIMON → Monitoring → Mapping Runtime → Cache Monitor
    @Sarojkanta Parida : IN PI 7.4 version we dont need to place xsd in any location, We just need to select Schema Validation option in Sender/Receiver Agreement, and it will be activated.
    Regards
    Osman

  • Validation not working on Qualified Field!!!! is this Normal!!!

    Hi All,
    I have an Integer field in the Qualified table.
    Name-> Non Qualifier -> Type Text
    Code -> Qualifier -> type Integer
    Now, i need to write a  validation which throws error If user enters a number whose length is  less than 4 or greater than 4.
    The business requirement is User should enter Exactly 4 Numeric values. Not less and not more.
    As integer type field done not control Field length i have written a validation.
    I have written a validation..
    IF(IS_NULL(MAINLOOKUP.Code),1,IF(LEN(MAINLOOKUP.Code)<4 , 0 ))
    But this is not working.
    this works for a Normal Integer field which is in Main table, But this is not working when Code field is in Qualified table!!!
    Is this the normal Behaviour of MDM??
    Or am i missing something!!!
    Experts please provide your suggestions.
    Note: i changed the Code field to Text and made length as 4 in field property, But this is not controlling if user keys in only 2 values.
    So written the above validation on text field as well, But it does not work.
    Kind Regards
    Eva

    Hello Eva
    Ok
    Just imagine
    you have some record in your main table with some QLUT
    Qlut contain next fields
    item_name - type text
    item_value - type integer qualified = yes
    and list of values
    q1
    q2
    q3
    q4
    your main table contain next fields
    name-text
    Qlut->your Qlut
    qlut_code->text
    qlut_value_>text
    For qlut_code create assignment like Qlut.code
    For qlut_value create assignment like Qlut.value
    add some records to main table like this:
    name=test1
    in qlut select next:
    item name =Q1
    item value=1
    item name =Q2
    item value=2
    item name =Q3
    item value=3
    and another one record in main like this:
    name=test2
    in qlut select next:
    item name =Q1
    item value=1
    item name =Q3
    item value=3
    item name =Q4
    item value=4
    item name =Q3
    item value=33
    select both records and run both assignments
    If your assignments is correct
    In first main record you have got
    qlut_code=3:Q1;Q2;Q3
    qlut_value_>3:1;2;3
    for second main record you have got
    qlut_code=4:Q1;Q3;Q4;Q3
    qlut_value_>4:1;3;4;33
    Then you can use records values from qlut_code and qlut_value for validation
    This is work fine.
    I hope, you have got my point
    Regards
    Kanstantsin Chernichenka
    Edited by: kanstantsin_ch on Oct 6, 2011 1:35 PM

  • Item Level Validation Not Working As Supposed To...

    Hi All,
    I have an item validation type: SQL(Not Exist) that checks whether the value in the id number field exists in the database when Create button is clicked. If the id number exists in the database then an error message is displayed in line with the field & the transaction doesn't go through; however, when this happens Apply Changes & Delete button appear & Create button dissapear. It's as if the record has already been inserted. I would like this validation to work like the Not Null validations.
    I repeated this process several times without success & now I can't even create a new user or update & delete existing ones - I get the error:
    ORA-06550: line 1, column 7: PLS-00428: an INTO clause is expected in this SELECT statement
    ORA-2015: User ID number already exists in the database.NB:The second message is the one I use whenever there's duplicates so, it's oracle reserved message. Any help is highly appreciated.
    Regards
    Kamo

    The buttons probably have conditions to appear if a certain item is not null. You can set this item to null as part of the validation, e.g.,
    :P1_X := null;
    ...but to do that you'd need to change the validation type to PL/SQL Function Returning Boolean and code the "not exists" logic into the PL/SQL block.
    Scott

  • Validation not working when application is in portal

    hi i have a stuation where my unique validation are working when i run application as standalone but when i put application in portal is working ,am adding my application in portal by creating ADF JAR and aadd the jar in my portal,am in jdeveloper 11.1.1.6.0

    am doing validation in entity level
    <validation:UniqueKeyValidationBean
        Name="UamOrganisations_Rule_0"
        ResId=".model.entities.UamOrganisations_Rule_0"
        KeyName="AltKey">
        <validation:OnAttributes>
          <validation:Item
            Value="Organisationname"/>
        </validation:OnAttributes>
      </validation:UniqueKeyValidationBean>
    is still not working even if i set immediate=true
    <af:inputText value="#{bindings.Organisationname.inputValue}"
                                      simple="true"
                                      columns="20"
                                      maximumLength="#{bindings.Organisationname.hints.precision}"
                                      shortDesc="#{bindings.Organisationname.hints.tooltip}"
                                      id="it1" autoSubmit="true" required="true"
                                      immediate="true">
                          <f:validator binding="#{bindings.Organisationname.validator}"/>
                        </af:inputText>

  • Validation not Working in WBS Element

    Dear Team,
    I have created a Validation at WBS element level like this:-
    Prerequisite
    PROJ-PROFL = 'ZPSSNR'
    Check
    PRPS-POSID : 1-6 := PROJ-PSPID : 1-6:
    Error:
    WBS ID doesn't start with Project ID
    My Project ID "SN-001"
    Now when I tried create 1st Level WBS element ( which is Identical to Project ID), it is working fine but in 2nd  level onwards it raised erorr. For example, I tried to create WBS at 2nd Level like "SN-001-CIV" then system throw error.
    Kindly help me to resolve the issue.
    Regards
    Soumen Das

    Hi,
    For your case Use the data as below it would work fine for all the level WBS.
    Prerequisitie:
    PROJ-PROFL = 'Your project profile' AND PRPS-STUFE >= '1'
    Check:
    PRPS-POSID :1-5: = PROJ-PSPID :1-5:
    Message:
    Your required message number.
    Note in Check i am asking to use 1:5 because the special symbols should not be considered.
    Now your validation should work fine.
    Regards,
    Pradeep

  • Spry validation not working in latest FF or Chrome

    Hello,
    A simple Spry validation script that we're using is not working in the latest editions of Firefox or Chrome. (However it is working in IE).  Meaning, it doesn't validate the form elements as it's supposed to (like missing email address) except for in IE. I can't seem to crack this one. Please have a look at the page:
    http://www.golfturf.rutgers.edu/lp/Copy%20of%203-week-turf-short-course-lp1.asp
    Any help would be appreciated. Thank you.

    Arnout,
    Thank you for your input and for catching that folder pointing issue. However I fixed that and it still didn't remedy the issue. I would update the the latest Spry but I'm not sure that's needed because I have another page using the same Spry where the validation is working perfect in all browsers:
    http://www.golfturf.rutgers.edu/ppc-turf-form.html
    Everything looks the same.
    Can you offer any more advice?
    Thank you,

  • Spry Validations not working javascript:Spry.Widget.Form.destroyAll() in popup

    iam using spry to validate controls in a popup.in that
    validations are working fine but the problem is when we click
    cancel button also thse validations are firing...
    i am using
    javascript:Spry.Widget.Form.destroyAll() to destroy
    validations...but it is not working.
    when we click on cancel button how to destroy the validations
    as well as hide the popup...
    can anyone help me...

    Thanks! (While I'm REALLY not comfortable with code yet (working on it :-) I atleast understood that it was a PHP issue (yay).
    Studied the code in the examples in the book. And added:
    <pre>
    <?php if ($_POST) {print_r($_POST);} ?>
    </pre>
    It worked.  (I'm local testing, with no connection to a database yet. Just trying to get the basic pages to work first.)
    Hopefully the more I work on all of this, the more I'll begin to "get it"! And I'm almost up to the Chapter on PHP. So, I'm hoping to will become clearer as I read on.
    Thanks for the help in pointing me in the right direction!!!
    -- Jami

  • Validation not working for FK01

    Hi Guys,
    I have written a validation using GGB0 where in i want to restrict a user for using the transaction code in FK01.
    I have given the prerequisite as below
    SYST-UNAME = 'SRIKANTHD' AND SYST-TCODE = 'FK01'
    and Check = False
    Then give an error message.
    But somehow this validation is not working and i have also activated this in OB28.
    Any ideas will be helpful.
    Thanks,
    Srikanth.

    Dear Srikanth,
    You can choose the button Local Object instead of Save and this information will be ignored.
    Then you will receive one screen to insert the enhancement, insert please SAPMF02K.
    Then click on button Components and then one little screen will ask you to save. Click yes and you will see another screen with Function exit                  EXIT_SAPMF02K_001 fulfilled already.
    Double click on EXIT_SAPMF02K_001 and the system will create the program and after that you should include your own code there.
    I hope it resolves your inquiry.
    Best Regards,
    Vanessa.

  • PHP email form with Validation - not working

    Hello;
    I am new to using php. I usually use coldfusion or asp but this site requires me to write in php. I have a form I am trying to get to work and right now.. it doesn't do anyhting but remember what you put in the fields. It doesn't want to send, and it won't execute the validation script for the fields that are required. Can anyone help me make this work? I'm confused and a definate newbie to PHP.
    Here is my code:
    <?php    
                  $PHP_SELF = $_SERVER['PHP_SELF'];   
                  $errName    = "";   
                  $errEmail    = "";
                  $errPhone    = "";        
                  if(isset($_POST['submit'])) {        
                          if($_POST["ac"]=="login"){            
                        $FORMOK = TRUE;    // $FORMOK acts as a flag. If you enter any of the conditionals below,                             // it gets set to FALSE, and the e-mail will not be sent.
                        // First Name           
                        if(preg_match("/^[a-zA-Z -]+$/", $_POST["name"]) === 0) {               
                            $errName = '<div class="errtext">Please enter you name.</div>';               
                            $FORMOK = FALSE;           
                        // Email           
                    if(preg_match("/^[a-zA-Z]\w+(\.\w+)*\@\w+(\.[0-9a-zA-Z]+)*\.[a-zA-Z]{2,4}$/", $_POST["email"]) === 0) {                                                    $errEmail = '<div class="errtext">Please enter a valid email.</div>';               
                            $FORMOK = FALSE;           
                        // Phone           
                        if(preg_match("/^[a-zA-Z -]+$/", $_POST["phone"]) === 0) {               
                            $errPhone = '<div class="errtext">Please enter your phone number.</div>';               
                            $FORMOK = FALSE;           
                        if($FORMOK) {               
                                $to = "[email protected]";  
                                $subject = "my. - Contact Form";                  
                                $name_field = $_POST['name'];               
                                $email_field = $_POST['email'];               
                                $phone_field = $_POST['phone'];
                                $city_field = $_POST['city'];
                                $state_field = $_POST['state'];               
                                $message = $_POST['comment'];                
                                $message = "               
                                Name: $name_field               
                                Email: $email_field
                                Phone: $phone_field   
                                City: $city_field   
                                State: $state_field               
                                Message: $message";                
                                $headers  = 'MIME-Version: 1.0' . "\r\n";               
                                $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";                
                                // Additional headers               
                                $headers .= 'To: <[email protected]>' . "\r\n";               
                                $headers .= '[From] <$email_field>' . "\r\n";                
                                // Mail it               
                                mail($to, $subject, $message, $headers);                
                                header("Location: thankyou.php")
                                // I have no idea what these next 3 lines are for. You may just want to get rid of them.                   
    ini_set("sendmail_from","[Send from]");
    ini_set("SMTP","[mail server]");
    mail($to, $subject, $message, $headers);
                                } else {               
                                echo "Error!";              
                        ?>
    <form method="post" action="<?php $PHP_SELF ?>" id="commentForm">
    <input name="name" size="40" value="<?php echo $_POST["name"]; ?>" type="text">
                         <?php  if(isset($errName)) echo $errName; ?>
    <input name="email" size="40" value="<?php echo $_POST["email"]; ?>"  type="text">
            <?php  if(isset($errEmail)) echo $errEmail; ?>
    <input name="phone" size="40" value="<?php echo $_POST["phone"]; ?>" type="text" id="phone">
            <?php  if(isset($errPhone)) echo $errPhone; ?>
    <input name="city" size="40" value="<?php echo $_POST["city"]; ?>" type="text" id="city">
    <input name="state" size="40" value="<?php echo $_POST["state"]; ?>" type="text" id="state">
    <textarea name="comment" cols="30" rows="10" id="comment"><?php echo $_POST["comment"]; ?></textarea>
    <input type="submit" value="Submit" name="submit" class="contact-submit" />
    </form>
    It seems pretty simple.. but it's not working at all. I would also like this page to submit to it's self, and when it actually does send an email, to just make the form disappear and replace it with the thank you text instead of sending you to another page. I also do not need to use an smtp server, it goes directly to the network server when sent.
    I'm really sorry to ask all of this, I'm trying to learn this language and need to make this work.
    Thank you for anyones help in advance.

    .oO(BarryGBrown)
    > I have a php file which generates an email from a form
    in a website I have
    >designed. I just want to make some areas of the final
    generated email in bold
    >text. I know if people have plain text only selected in
    their email client they
    >won't see the bold text, but at least it will reach a
    certain percentage of
    >users.
    You can't do bold text in a normal email. Plain text is just
    that -
    plain text. For anything more you need HTML. _If_ you should
    need it.
    Usually plain text serves pretty well and is the most
    efficient way.
    > the line in question is -
    >
    > $body ="Booking request details from website:\n\n";
    >
    > I have tried putting  and ,
    syntax is used in some forum software, but besides that it
    has
    no meaning whatsoever.
    >inside the inverted commas, outside
    >etc, plus tried different declarations within the
    <head>, nothing works! What
    >am I doing wrong?
    You would have to create an entire HTML email with all the
    required
    headers and boundaries. Quite difficult to do by hand with
    PHP's mail()
    function.
    > I am a beginner with this php stuff, please be kind!
    Then you should start simple with plain text. There are some
    classes out
    there which make it easy to generate text and HTML emails
    (phpmailer for
    example), but you should be familiar with PHP coding if you
    want to use
    them.
    Micha

  • Spry select menu validation not working for all menus

    This is VERY strange...I have two menus which show depending on the selection in another menu.  The other, or main, menu has the spry validation working fine.  So does the validation for one of the other 'child' menus.  But the other child menu validation does not work, despite the fact that the code is nearly identical for both except for the spry ids and select ids (of course).  You can see the form working at:
    https://registrations.ucc.usyd.edu.au/profile.php
    If you select, say, Arts faculty from the faculty menu, then you will get another menu for schools.  Validation works for these when the submit button is pressed.  However, if you select 'Not Faculty' from the faculty menu another menu will show instead of the school menu.  This is the menu that is not validating.
    I have attached my php page for the code in this form.
    The same problem exists for other menus that are in hidden divs further down the page.
    Any help appreciated!!!!

    Your key is the "suitcase fusion for a font manager" line.
    There is a bug where you won't be able to create a button if you have a bad font, or a duplicate font, installed.
    First try shutting off all of the fonts you have open with Suitcase, and see if that helps. If so, open one suitcase at a time until you figure out which font is the culprit.
    If shutting off all but the basic System fonts does not help, you might have to reinstall your system, or somehow update your core System fonts. I don't know how to do that, but there was a recent article at http://www.tidbits.com/ that discussed fonts and their maintenance. But ultimately it's a font problem.

  • Feedback form validation not working

    Hi all,
    My feedback form i am put form validation its not working, please help me,
    my entire code is given below
    <?php
              /* ========================= CODE WILL EXECUTE WHEN FORM WILL SUBMIT =====================*/
                        if($_GET["formFilledStatus"]=="t")
                                  $name = $_GET['txtName'];
                                  $email = $_GET['txtEmail'];
                                  $phone          =          $_GET['txtPhone'];
                                  $dateofappoitment          =          $_GET['txtDOA'];
                                  $timeofappoitment          =          $_GET['txtTA'];
                                  $userRequirement = $_GET['txtSuggestion'];
                                  $to= "[email protected]";
                                  $subject = "FEEDBACK & ENQUIRY FORM";
                                  $message = "<BR><B> User Name:- </B>".$name."<BR><BR><B> Email:- </B>".$email."<BR><BR><B> Phone:- </B>".$phone."<BR><BR><B>Date of Appoitment:-</B><BR>".$dateofappoitment."<BR><BR><B> Time of Appoitment:- </B>".$timeofappoitment."<BR><BR>                                <B> Address:- </B>".$userRequirement;
                                  $headers  = "MIME-Version: 1.0\r\n";
                                  $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
                                  $headers .= "From:".$email;
                                  // Additional headers
                                  //$headers .= 'Bcc: [email protected]' . "\r\n";
                                  $mailStatus=mail($to, $subject, $message, $headers);
                        /* ========================= END CODE =====================*/
    ?>
    <script language="javascript">
    function isEmail(email)
                        if(email.indexOf("@") != "-1" && email.indexOf(".") != "-1")
                        return true;
                        else
                        return false;
              function validate()
                        if(document.enquiryForm.txtName.value=="")
                                  alert("Name required!");
                                  document.enquiryForm.txtName.focus();
                                  return false;
                        if(document.enquiryForm.txtPhone.value=="")
                                  alert("Please Enter your Phone!");
                                  document.enquiryForm.txtPhone.focus();
                                  return false;
                        if(document.enquiryForm.txtDOA.value=="")
                                  alert("Please Select your date of appoitment!");
                                  document.enquiryForm.txtDOA.focus();
                                  return false;
                        if(document.enquiryForm.txtTA.value=="")
                                  alert("Please Enter time of appoitment!");
                                  document.enquiryForm.txtTA.focus();
                                  return false;
                        if(document.enquiryForm.txtSuggestion.value=="")
                                  alert("Please Enter your address!");
                                  document.enquiryForm.txtSuggestion.focus();
                                  return false;
    </SCRIPT>
    <style type="text/css">
    <!--
    .home_page_font {
              font-family: Verdana, Arial, Helvetica, sans-serif;
              font-size: 11px;
              font-style: normal;
              line-height: normal;
              font-weight: bold;
              font-variant: normal;
              text-transform: none;
              color: #333333;
              text-align: justify;
    .home_page_font1 {          font-family: Verdana, Arial, Helvetica, sans-serif;
              font-size: 11.6px;
              font-style: normal;
              line-height: normal;
              font-weight: normal;
              font-variant: normal;
              text-transform: none;
              color: #333333;
              text-align: justify;
    .home_page_font1 {          font-family: Verdana, Arial, Helvetica, sans-serif;
              font-size: 11px;
              font-style: normal;
              line-height: normal;
              font-weight: normal;
              font-variant: normal;
              text-transform: none;
              color: #868d98;
              text-align: justify;
    .style6 {color: #000000}
    -->
    </style>
            <FORM ACTION="" METHOD="GET" NAME="enquiryForm1" ONSUBMIT=" return validate()">
                        <INPUT TYPE="HIDDEN" NAME="formFilledStatus" VALUE="t">
                   <DIV ALIGN="LEFT">
            <TABLE WIDTH="100%" BORDER="0" ALIGN="CENTER" CELLPADDING="3" CELLSPACING="0" BORDERCOLOR="#F1D6D6" class="home_page_font1" STYLE="border-collapse:collapse;">
            <?php
                        /* ============ CODE IF MAIL SUCCESSFULLY SENT ====================== */
                        if($mailStatus)
                        ?>
                  <TR>
                <TD COLSPAN="2" HEIGHT="25">
                <DIV class="c-text1" ALIGN="CENTER"><b>
                <h3 class="style6">Your Enquiry Has Been Successfully Sent.<b></h3>
                </DIV></TD>
              </TR>
                          <?
                          /*================== CODE END ====================================== */
    ?>
                          <TR>
                <TD COLSPAN="2" HEIGHT="25">
                <DIV class="home_page_font" ALIGN="CENTER">
                  <div align="left">Suggestion &amp; Feedback Form</div>
                </DIV></TD>
              </TR>
              <TR>
                <TD class="power-com1"><FONT COLOR="#FF0000">* </FONT> <STRONG>Your
                Name :</STRONG></TD>
                <TD><INPUT NAME="txtName" SIZE="35" MAXLENGTH="48" VALUE="" class="txtfld"></TD>
              </TR>
              <TR>
                <TD class="power-com1"> </TD>
                <TD> </TD>
              </TR>
              <TR>
                <TD class="power-com1"><STRONG>Your
                E-Mail : </STRONG></TD>
                <TD><INPUT NAME="txtEmail" MAXLENGTH="48" SIZE="35" VALUE="" class="txtfld"></TD>
              </TR>
              <TR>
                <TD class="power-com1"> </TD>
                <TD> </TD>
              </TR>
              <TR>
                <TD class="power-com1"><FONT COLOR="#FF0000">* </FONT><STRONG>Phone/Mobile
                :</STRONG><br>(Include Country/Area Code)</TD>
                <TD><INPUT TYPE="TEXT" NAME="txtPhone" SIZE="22" MAXLENGTH="60" VALUE="" class="txtfld"></TD>
              </TR>
              <TR>
                <TD class="power-com1"> </TD>
                <TD> </TD>
              </TR>
              <TR>
                <TD class="power-com1"><STRONG><font color="#FF0000">*</font>Date of Appoitment :</STRONG><br>(Include Country/
                Area Code)</TD>
                <TD><INPUT TYPE="TEXT" NAME="txtDOA" SIZE="22" MAXLENGTH="60" VALUE="" class="txtfld" id="txtDOA"></TD>
              </TR>
              <TR>
                <TD class="power-com1"> </TD>
                <TD> </TD>
              </TR>
              <TR>
                <TD class="power-com1"><STRONG><font color="#FF0000">*</font>Time of Appoitment : </STRONG></TD>
                <TD><INPUT NAME="txtTA" SIZE="35" VALUE="" class="txtfld" id="txtTA"></TD>
              </TR>
              <TR>
                <TD class="power-com1"> </TD>
                <TD> </TD>
              </TR>
              <TR>
                <TD VALIGN="TOP" class="power-com1"> </TD>
                <TD> </TD>
              </TR>
              <TR>
                <TD VALIGN="TOP" class="power-com1"><FONT COLOR="#FF0000">* </FONT> <STRONG>Address</STRONG></TD>
                <TD><TEXTAREA NAME="txtSuggestion" ROWS="3" COLS="29" WRAP="Virtual" class="txtfld"></TEXTAREA></TD>
              </TR>
              <TR>
                <TD COLSPAN="2">
                <CENTER><INPUT TYPE="SUBMIT" NAME="" VALUE="Submit Query">
                <INPUT TYPE="RESET" NAME="Reset1"></CENTER></TD>
              </TR>
            </TABLE>
              </DIV></FORM>

    Rather than reinventing the wheel, I tend to use SpryValidation widgets to validate the form using JavaScript. However, to ensure that no validation is untouched, you also need to validate the inputs using serverside script.
    The example that you have shown is valiadtion in JavaScript. This means that anyone with JS turned off will bypass your validation.
    Gramps

  • Spry validation not working in IE9

    I am using DW CS5.5 and have a form on a PHP page and have set spry validation for 2 text fields and a textarea.
    Also using CAPTCHA on the form.
    The 2 text fields are a simple required validation and the textarea is required plus a max character validation
    It works in Firefox, Chrome, Safari, Opera, and IE Compatibility View, but does not work in IE9.
    The CAPTCHA works in IE9 and all other browsers but can't get the spry validation to work.
    Here is the page
    http://www.fandapartyrentals.com/testimonials.php

    altruistic gramps wrote:
    It is up to you, you could remove the counter; personally I would leave it there because once the focus has moved from the text area, the number of (remaining) words will show.
    Another solution is to force IE8 standards document mode as in
    <head>
      <!-- Mimic Internet Explorer 8 -->
      <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
      <title>My webpage</title>
    </head>
    The problem with the above is that the rendering will also follow IE8 mode.
    Gramps
    Thanks for your help,
    I used the meta tag to emulate IE8 and it works as needed.

Maybe you are looking for

  • [svn] 3936: Added flag to force the creation of a displayObject for a GraphicElement

    Revision: 3936 Author: [email protected] Date: 2008-10-28 17:27:07 -0700 (Tue, 28 Oct 2008) Log Message: Added flag to force the creation of a displayObject for a GraphicElement SDK-17818 - calling getBitmapData on a GraphicElement that shares it's d

  • Current DateTime in Database polling 'WHERE Clause'

    Hi, I am trying to explore the usage of polling option with Database adapter in SOA Suite 11g. I am doing a sample process which will poll the data from a database table which has 2 fields, one is ID and the other one is UpdatedDate which is of type

  • Why won't my Iphone 4s stay paired in my 2013 Hyundai Elantra?

    Thanks for helping me. I am new to this. We also have the same problem with our other Iphone 4 in a 2013 Hyundai Accent. Other people seem to have the same issues. Is there a fix????? Thanks.

  • Using List to Swap Images

    Hi, I had a quick questiong I am fairly new to Dreamweaver and was wondering if anyone knows of any tutorials that show how to use a List to swap an image in the middle of the screen. For example I want to have a list with different tile colors that

  • Latch to switch boolean conversion, or toggling flip flop in labview

    I'm a labview newbie, and i've been scratching my head about a particular problem. I want to use a joystick (11button, 3 axis) to operate 2 PI microscope stages in tandem. I am thinking about the best solution to this problem:  the joystick buttons p