onSubmit and validation question

It's my first time posting here and I'm new to CF. I took and passed a course of figleaf on Cold Fusion and I have some other information programming.

The question that I can't resolve has to do with onSubmit. Here is a very basic code straight out of my Fast Track class to see...

<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
"< html xmlns =" http://www.w3.org/1999/xhtml "> "
< head >
< meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
< title > insert artist form < /title >
< / head >

< body >

< h2 > insert an artist < / h2 >

< cfform name = "insArtist" >

First name:
< cfinput type = "text" name = "FirstName" maxlength = "20" required = "Yes" message = "enter a name of artist." validateat = "EEP" / > < br / >

First name:
< cfinput type = "text" name = "LastName" maxlength = "20" required = "Yes" message = "enter a name of a last artist." validateat = "onsubmit" / > < br / >

< cfinput type = "submit" name = "Insert" value = "Insert" artist / >

< / cfform >

< / body >
< / html >

When I leave the fields empty the EEP message is launched.

If I take the first name and try to check the last name only I can click as much as I love the button submit, but the alert never comes up with the message "Enter an artist family name."

I've set up a system using XP SP3 and the same problem happens on Firefox 3.0.3 or IE 7.

I use CFEclipse, Apache and CF8. I have virtual hosts put in place for my sandbox.

Please let me know if any other information is needed.

Thanks for your help.

Dave

Thanks JR "Bob" Dobbs you me headed in the right direction.

The question was how I had set up my virtual directories. I'm new to web development, that I did not understand how the scripts directory was accessed. I have corrected this problem, with the help of the boss by adding the following to my for apache http.conf file.

# "C:/Program Files / Apache Software Foundation/Apache2.2/cgi-bin" should be replaced by everything that your ScriptAlias
# CGI directory exists, if you have set up.
#

AllowOverride None
None of the options
Order allow, deny
Allow all the


AllowOverride All
Order allow, deny
Allow all the

Tags: ColdFusion

Similar Questions

  • Did someone knows a way I can delete the fonts of all WIN XP and then download a CLEAN game and validated?

    Did someone knows a way I can delete the fonts of all WIN XP and then download a CLEAN game and validated?

    Validater fonts Microsoft can manage only a small subset at a time without crashing, and I prefer nuke batch and start over.
    Win XP Pro SP3, Office 2003 PRO.
    And relocation of the disk / repair / restoration clean them...

    What is the problem with your fonts?

    I have very few problems of fonts in my notes...

    I took a this auditor of fonts and I don't know what that is supposed to do, but it takes too much time everything he does, so I just stopped after several minutes while it digested 2 files.   It also seems to be unsupported.

    I compressed to the top of my fonts folder and put it on my SkyDrive, but I don't know too much about the operation of the fonts with XP and think that they must be "installed" by clicking on the file and choose to install the fonts.

    I have NO idea if this zipped upward file will help you or not, but I would be sure to make a copy of what you have before overwriting things.  If things go haywire, I might have to leave town for a few days until things cool off.

    One thing is for sure... we don't know even what it is, or anything on your system.  It is because the MS Answers forum ask all system information when a new question is requested (which is doubly certain).

    I downloaded a copy of my zipped folder fonts on my SkyDrive (everyone has a SkyDrive for file sharing).

    Here is the link to my SkyDrive and you can get the file you need it (fonts.zip).

    http://CID-6a7e789cab1d6f39.SkyDrive.live.com/redir.aspx?RESID=6A7E789CAB1D6F39! 311

    When you see the files available for download, you will not see the file extension (.exe, .dll, .cpl, .sys, .zip etc), but when download you them they will have the right extension.

    When you download the file (especially if you use Internet Explorer), when you get a chance to save the file, it cannot save the file with an extension (for example, .exe, .dll, .cpl, .sys, .zip) then you will need to manually add the extension appropriate to the file when you download the file before you save it.

    You can download the file without the extension, and then rename the file to add the appropriate extension.

    Rotsa ruck and we inform!

  • HP Simplepass and validity sensor Versions

    Hello

    I recently had trouble with the digital simplepass and validity of hp. What are the latest version which are compatible with others and my computer?

    It's an Australian Pc by the way
    Product name: HP ENVY m6 (m6-1117mx) laptop

    Product number: C7E77PA #ABG

    8.1 Windows 64-bit

    Thanks for your help!

    Hi Cookie,

    I don't like upgrades.  I had so much trouble with them.

    You are the only first posting engine error, thank you for this.  It actually helps.

    Have you installed the following from the Support Page of your computer?

    Driver v9.4.0.1026 and Intel Chipset Installation Utility sp63640

    I agree that other people have the same problem - on a large number of these systems on which people have the worst problems, operating systems are indeed updated.

    ============================================================================

    As to the original question; I work around it.

    The answer is, as I understand it:

    • HP SimplePass 2011 / 2012 V5.3.1.7 (the most recent of the 'old' versions still in use)

    > Driver 4.3.118

    • HP SimplePass 2011 V5.4.0.402 - buggy and not recommended
    • HP SimplePass V5.4.0.620 (from AuthenTec) - is no longer available

    NOTE: None of the above versions work with newer versions of browsers Firefox or Chrome

    • HP SimplePass V6.0.100.257, V6.0.100.272 - obsolete, while 272 is always used and works for these books for which it was originally planned.
    • HP SimplePass V6.0.100.276 latest version, series 6 AuthenTec - available at HP

    > Validity sensor Driver 4.3.205.0 (or later / more recent)

    The latest version of series 6, if already installed AND that if he worked previously with Chrome, can still work with Chrome IF a particular solution is used AND of workaround is installed before the original Extension nonfunctional is removed from Chrome.  Confusing?  Yes.

    Series 8 HP SimplePass, the Softex version that now comes with new HP laptops, works with Windows 7 to Windows 8.x - when it works at all.  (Personal observation).  Series 8 requires Internet Explorer.  Series 8 worked for about three weeks with Chrome Google stomped on it.  Series 8 HP SimplePass seems to work with 4.3.205.0 drivers and newer.

    ===========================================================================

    Click on the Thumbs - Up Kudos to show that you appreciate the help and time of our Experts.

    Although I strive to reflect best practices of HP, I do not work for HP.

    Click on accept as Solution when the answer is a good solution or workaround!

  • Microsoft Silverlight, it is a safe program and valid Microsoft?

    Original title: two Programs from Microsoft I am not as information indicating if I remove them

    In my list of programs, I came across a program called Microsoft Silverlight that wouldn't uninstall.  Is it a safe program and valid Microsoft

    Same question for Microsoft.net framework 4.5.1

    Hi Jerry,

    Welcome to the Microsoft community.

    Microsoft Silverlight is a safe program, which was created by Microsoft. The same for Microsoft.net framework 4.5.1 they are both safe programs, there is no need to remove them!

    Answer please if you need help.

    See you soon,.

    Leo

  • Help with conditional display and Validation

    Version 4.1.1.00.23

    Hello

    I'm having a difficult time with a conditional display and validation, I hope someone can help with.

    Requirements:

    When (Datepicker) Start Date or the end Date (Datepicker) change can display the reason for change (select list) and change Description (Textbox)
    If the page is saved without entering a reason change display an error message of validation that the reason for the change cannot be empty (NULL)

    What I tried

    Create a dynamic Action on the Start Date

    Event: Change

    Selection type: Article (s)

    Items (s): P51_START_DATE

    Condition: no

    Real Action Section:

    Action: Show

    Fire on Page load: Checked

    Display all the elements of the page on the same line: NO.

    Section of the elements concerned:

    Selection type: Article (s)

    Product (s): P51_CHANGE_REASON, P51_CHANGE_DESC

    I also created a dynamic Action with similar settings for the P51_END_DATE.

    I created a Validation for the P51_CHANGE_REASON as a function return error text:

    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    
    
    

    The question

    I tried to create another dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields during the loading of the page, but when the date fields are changed and the validation is fired the P51_CHANGE_REASON and the P51_CHANGE_DESC are hidden again.

    There are two buttons to send the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will present the page and creates a branch to the previous page (which is a relationship with the EDIT buttons to change recording).

    I can not loading the dynamic Action page for fires DO NOT when validation is triggered.

    I hope it is clear and if not what information can I provide?

    Thank you

    Joe

    Which the condition is failing and what browser? I tested it in Firefox and it works as it should. Can you confirm that?

  • Backup and recovery question

    Hi all


    I have created a script as, when the database is running I moved all the controlfiles to another location. But still the database operates smoothly. Then, I create a table and inserted some values and validation. Now the question is what happens to the status of SNA even when controlfile is not available? What is the importance of the control file? point of control and command of newspaper is happening but where it is updated? Also, when I moved back to the database control files it works very well ireespective all changes not updated in these controlfiles system!


    Response appreciated, thanks in advance.



    Kind regards

    KT

    Hi Oraclekt,

    First of all, even if you have moved the contorlfiles you wouldn't get no matter what mistake coz you have not restarted your database. Its up and running. You would have got the error if the database is restarted. The same thing occurs even if you would have lost all the log files and your database is running. But once when you restart your database then alone, you would get to know the errors.

    Secondly, commenting on the SNA #, the SNA # has nothing to do with the location of the controlfiles. Its stored in the data dictionary views.

    If you restart your database and you will get to know the effect of your controlfiles moving.

  • I recently dropped my laptop and it is weird, one day he int open up to 4 start times and sometimes it shows me a folder and a question mark in the interface and sometimes asked to reset my password, what are the steps to take?

    I recently dropped my laptop and it is weird, one day he int open up to 4 start times and sometimes it shows me a folder and a question mark in the interface and sometimes asked to reset my password, what are the steps to take?

    Anything can be corrupted on your MacBook Pro, but from what you say, it seems that the cable drive/SSD/flash memory/SATA hard was seriously damaged. Him "question mark" means that your Mac is unable to find any bootable device, meaning that it does not yet detect your OS X drive.

    You should make a backup of your files (if you can still do it) and take the Mac at the Apple Store or dealer to get a diagnosis. There may be several damaged parts.

  • How to recover the forgotten password if you have forgotten your password for the alternative account and the question secret

    Hi, I am unable to access my account of * address email is removed from the privacy *. I really need to return as soon as possible because I have a lot of important issues and contacts inside...

    Thank you!

    View all Windows Live and Hotmail questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • Kindly unblock my account that I don't remember my email and Security Question.

    Kindly unblock my account that I don't remember my email and Security Question.

    I received important emails in the account. He has been blocked it for a month now.

    Kindly unblock as soon as POSSIBLE.

    I'll be very grateful.

    Thank you.

    Hello

    If you are referring to a Hotmail account, read this

    I'm sorry, but we cannot help with hotmail problems in Microsoft answers Feedback Forum you send to

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

  • I forgot my password and secret question

    I firgot my password and my question secret, help me please

    Hi TUNCAYTUNCAY,

    ·          You are Ref Err by Windows password or password any program?

    See the link below to learn more about Microsoft support for forgotten passwords.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-security/keeping-passwords-secure-Microsoft-policy-on/024dd682-b3a4-4EA8-8E71-8e4892092a5e

  • WinXPsysytem: The upgrade and have questions

    Have a dell e521 that I train and some questions.  Have already updated to 3 GB of memory on x 86 operating system.  Bios version active what 1.1.6 4/7/2007.  Have checked Dells site and they offer a version of bios 1.1.11 released on 04/09/2007.  Having checked their previous versions and mine is not yet in there.  Don't know if I should go with the 1.1.11 version or stick with what is on mine, any suggestions?  Also, I put in a 500 GB seagate HDD.  Have a 80 GB drive there now which is pretty maxed out.  Playing with the idea to put xp pro on the 80 GB and using the programs and storage 500 GB.  I would like to know if it's a good idea or not!  Could use pointers and how much others who have more experience I have of course on my best options for installation.  for performance and features.  Thank you in advance, Ron.

    It's sad to say, you should probably have spent your money on a new computer rather than on the RAM and a new hard drive.  Windows XP (you posted in a forum of Windows XP, that's what I assume you have) will be supported is no longer starting in April 2014. This means no more security updates and therefore increases the vulnerability to malware.

    That said, your system now-updated can probably support Windows 7. You must run the Windows 7 Upgrade Advisor to check the remaining material.

    As you say, Dell does not list the intervening versions of BIOS with 1.1.4, 1.1.10, so unless someone at Dell or in the Dell forums can tell you what "improvements" in your version or with your version 1.1.10, you have no way of determining that. Based on omissions, I think there were only minor changes in these versions.

    Normally, I would leave the BIOS alone.  Note, however, that Dell "recommends" 1.1.10 be installed because
    The update contains improvements or changes that will keep your system current and compatible with other system modules (firmware, BIOS, drivers and software) software.
    If you want to stick with XP, I would leave the BIOS alone. If you want to install Windows 7 (assuming that there are Windows 7 drivers for all your hardware), I would Setup 1.1.11.  Be sure to read and follow instructions carefully.

    BTW, it's a little surprising that you only have a 80 GB drive.  CNET review of the Dimension E521 said he came with a 320 GB drive.

  • How can I change my HTTPS thing, so it isn't always pop up and ask questions about the sites Web secure when I play some games?

    Feel free to change the title

    How can I change my HTTPS thing, so it isn't always pop up and ask questions about the sites Web secure when I play some games?

    You're talking about Facebook?

    Try the gyration of the Secure Browsing

    http://www.Facebook.com/help?page=1079

  • How do you get access to your computer when you forgot your password and hint question

    My mother did not use his computer for a while and forgot his password and hint question. Is there anyway to get into the computer without them? She has a Toshiba laptop with Windows Vista installed on it.  Thank you.

    Hello

    I'm sorry, but the strategy of microsoft in these forums is that without assistance will be given about lost or forgotten passwords

    read the policy at the link below

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/keeping-passwords-secure-Microsoft-policy-on/a5839e41-b80e-48c9-9d46-414bc8a8d9d4

    I suggest you reinstall vista

  • Problem with stored procedure and validation

    I have the following stored procedure:

    create or replace PROCEDURE SOME_PROC)

    /*

    Some settings

    */

    ) AS

    NUMBER of errors

    BEGIN

    errors: = FN_CHECK_BUSINESS_RULE_1 (/ * some args * /);

    if(Errors > 0) then

    raise_application_error (ERR_CONSTANTS. SOME_ERROR_NUMBER, ERR_CONSTANTS. SOME_ERROR_MESSAGE);

    end if;

    INSERT INTO une_table (/ * columns * /) VALUES (/ * values * /);

    END SOME_PROC;

    Because the business rule 1 is placed inside the stored procedure I can't check it out without calling the stored procedure.

    I need to call the stored procedure 10 times with a different set of parameters and validation of the changes only after all calls to the stored procedure

    are successful. I want to show the user all the errors that occurred during the stored procedure calls. If for a first example of stored procedure call

    succeeds and a second failure no data has to be stored in a database.

    How to prevent the stored procedure for insert lines until I call the method commit of ApplicationModule?

    Thanks in advance.

    No, other users only see the lines until you commit. The search term is the transaction isolation level. Tom Kite write a paper on this here ask Tom: on transaction isolation levels. This article gives some samples, according to theory, and you should read it.

    Timo

  • Drag and drop question - Desktop and USB

    Hello!!

    I have an Asus laptop that I bought in September with Windows 8 is installed. I saw drag and drop questions on desktop lately, and I'll provide you with a full run down of what past:

    1. this particular case, I wanted to save my mobile by copying and pasting all the files from my phone to a USB (USB Kingston).

    2. I selected all files, right click to copy, open the folder that I made in the USB for my phone content and do a right-click Paste.

    3. nothing's happened, Explorer seems to have frozen, so I opened the Task Manager and press end task, all closed and restarted my laptop.

    4. I have excluded that my phone was the issue. I was able to create a folder on my desktop and copy and paste all of the content of my phone in the folder on my desktop.

    5. I tried to copy and paste / drag and drop an image from my office to the flash drive. Explorer Windows freezes on the rise again.

    6. I tried another flash drive. Explorer Windows froze again.

    Apparently I'm unable to copy files ON a USB key, which makes the backup and backup of things a headache because Windows Explorer stops working every time.

    I am the only user of this laptop, and I don't know what is happening or what to do. Any help would be appreciated. Windows 8.1 upgrade would solve this problem?

    Hi Karthik,

    1. There is no error message.

    2. I tried earlier drag - move my documents to my flash drive and it works perfectly.

    I just tried again to drag and drop from my office to my flash drive and for some reason, it works again.

    I don't think that was with my flash drives, but with Windows Explorer itself. Nevertheless, it seems to have fixed itself somehow. Thank you very much for your help!

Maybe you are looking for

  • Win 7 Explorer missing column headers

    Hello I noticed recently that my Win7 Explorer no longer displays the column headings. I know that Win7 now only display in 'details' but nothing there either. I tried to reset the folder options - no luck. I see when I googled the problem that other

  • Uninstall old updates

    Hello My laptop runs Windows Vista and it seems that whenever I download updates, it consumes space on my hard drive. I checked and there are too many updates installed on my laptop. Because I frequently download updates, - is it ok to uninstall the

  • Activate XP PRO on a clean hard disk

    I installed a disk drive hard vacuum on an old Toshiba Tecra 9 has and did not have the original Windows installation CD. So I installed XP pro with an old drive I had laying around the disk of XP SP2 installation integrated with Microsoft XP SP3 dow

  • Recovery recovery information

    It is more a matter of Windows than a pc, but, I bought a HP Pavilion g7-1269nr of Aaron, and the recovery folder is empty. they have the laptop named Aaron and I don't want theres stuff. I know how to rename a PC and remove programs; I just want to

  • Request user name and password when you try to load Windows 7

    We try to load Windows 7 on our office - he was moving along and then stopped to ask username and password - we have never set a user name and password on our machine and can't go back or forward, the machine is blocked.  What do we do?