specific letters not appearing is not in the e-mail form

I created an email form with the code found in the Adobe cookbooks below. Everything works fine except that there are some letters that I can't type. These letters are d, f, h, k, o, p, q, r, v, w, x, y, z. Where in the code below fix that? Thanks for your help!

/*************************************    
Buttons      
**************************************/

sendbtn.buttonMode = true;

sendbtn.addEventListener(MouseEvent.CLICK, submit);

resetbtn.buttonMode = true;

resetbtn.addEventListener(MouseEvent.CLICK, reset);

/*************************************       
Variables needed       
**************************************/ 

var timer:Timer; var varLoad:URLLoader = new URLLoader;

var urlRequest:URLRequest = new URLRequest( "mail.php" );

urlRequest.method = URLRequestMethod.POST;

/*************************************
Functions
**************************************/

function init():void{

//Set all fields to empty

yourName.text = "";

fromEmail.text = "";

yourSubject.text = "";

YourMsg.text = "";

}

function submit(e:MouseEvent):void{

//Check to see if any of the fields are empty

if( yourName.text == "" || fromEmail.text == "" ||
yourSubject.text == "" ||YourMsg.text == "" ) { valid.text = " 
All fields need to be filled.";

}

//Check if you're using a valid email address

else if( !checkEmail(fromEmail.text) )

{ valid.text = "
Enter a valid email address"; }


else { valid.text = "
Sending over the internet...";

var emailData:String = "
name=" + yourName.text + "&
from=" + fromEmail.text + "&
subject=" + yourSubject.text + "&
msg=" + YourMsg.text;

var urlVars:URLVariables = new URLVariables(emailData);
urlVars.dataFormat = URLLoaderDataFormat.TEXT;
urlRequest.data = urlVars; varLoad.load( urlRequest );
varLoad.addEventListener(Event.COMPLETE, thankYou );
}
}
function reset(e:MouseEvent):void{
init(); //call the initial clear function
}
function checkEmail(s:String):Boolean {

//This tests for correct email address

var p:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/; var
r:Object = p.exec(s);
if( r == null ) {
return false;

}

return true;

}

function thankYou(e:Event):void {
var loader:URLLoader =
URLLoader(e.target);
var sent = new
URLVariables(loader.data).sentStatus; if( sent == "yes" )
{
valid.text = "
Thanks for your email!"; timer = new Timer(500);
timer.addEventListener(TimerEvent.TIMER, msgSent);
timer.start();
}
else {
valid.text = "
Oh no! Something is wrong! Try again..."; }

}

function msgSent(te:TimerEvent):void {
if( timer.currentCount >= 10 ) { init();
timer.removeEventListener(TimerEvent.TIMER, msgSent);

}

}

What the police integrate you in the text entry fields? Is a full cast to the police? It works well if you use it in a static text field?

Tags: Adobe Animate

Similar Questions

  • Can not get the e-mail form

    Hi again, everyone.

    I tried to set up a registration form with a "mailto:" submit so that I can have the registration information sent to me. I checked several books and followed the instructions on the Web sites of three or four and still can't make it work.

    I've implemented the "mailto:" option in the form code and clicking the Submit button opens a new message with the "to:" and "object:" fields informed correctly, but shape is not fixed and is sent a blank message.

    I don't know if it's important, but I'm on Firefox for mail.

    Thank you in advance for your help!

    --
    Keith

    Hi again, Murray!

    Quote:
    Posted by: newsgroup user
    There are only two ways to process the form data-

    1. use mailto:[email protected] as the action of the form
    2 use a script method on the server side

    Method 1 is quite simple and is also the less reliable.

    I see that now. Many of the disadvantages that you mentioned were things I wasn't aware of. I'm definitely convinced!

    Quote:
    Method 2 is the preferred method, because it eliminates the problems of method
    1, but it means that you treat the server somehow (ASP script,
    CF, PHP, perl, etc.).

    You would have to decide which of these methods is best for your needs,
    But if that's the method 2, then start by asking your host that they provide for the form
    the treatment.

    I'm working on finding a site that will provide what I need. Thank you very much!

  • On my ipad, addresses in the e-mail of sellers are appearing in my favorite app of cards.  I can't remove them as I can with other recent in the cards.  How can I stop this from happening?  I'm not typed the e-mail address link.

    On my ipad, addresses in the e-mail of sellers are appearing in my favorite app of cards.  I can't remove them as I can with other recent in the cards.  How can I stop this from happening?  I'm not typed the e-mail address link.

    Maps - tap the box down a drop of addresses

    Under recent - click Favorites

    At the bottom, click on Favorites and remove addresses from this point of view - shot from right to left

  • Windows 7 search returns results from Outlook 2013, but links to the message will not open the e-mail message.

    Windows 7 search returns results from Outlook 2013, but links to the message will not open the e-mail message.  Other results such as Excel or Word work.  When you click on the result of the e-mail, the small window at the bottom of the page displays only the title of the email but no information such as the type of file or the date that you would see with other types of file returned.

    Hi Houston,

    Please refer to the article:

    Open the troubleshooter for search and indexing

    http://Windows.Microsoft.com/en-in/Windows7/open-the-search-and-indexing-Troubleshooter

     
    For outlook, try built-in archiving option to facilitate the research for you. Please see the description and functionality of AutoArchive in Outlook from the link below.
    http://support.Microsoft.com/kb/830119
     
    Let us know the result. If the problem is still not resolved, we will be happy to help you further.
  • Where are the ARCHIVES, SENT, DRAFTS, files? Not in the profile/mail

    Try to pass my profile to a new computer. ARCHIVE, DRAFTS, SENT, have thousands of emails, but are not in the folder/Mail / / Profile. So where are they hidden, and how to get them in the new computer? What a Royal PIA. Spent almost all the day blow up with this process.

    Just do not post in this forum in a day or two you are difficult to move your profile because you have it in fragments with absolute path names. You choose to use absolute paths to store your data, you're on your own.

    Oh my mistake you already did that. Three questions in two days around this decision you have made and then forgotten.

  • I get red letters (in From: and to: on the response mail.) Nowhere else in the email. Why is this happening?

    Outlook express 6 red letters

    I get red letters (in From: and to: on the response mail.) Nowhere else in the email. Why is this happening? Is the email from another source? In some emails from the same sender.

    You have a message rule that does this?  Check tools | Message rules and you can set up rules to messages of color from different people.  But it's in the list of messages and not the message itself.  She is in the messages of itself, then it could be HTML coloring was applied.

    Steve

  • Can not verify the e-mail password

    When I try to send an email, I wonder to give the password, what I'm doing.  However, the password is not recognized, and system reports "cannot verify password" in red. Any ideas?

    Thank you.

    Hello

    I have several email accounts (Google, @me.com etc.)

    All are set to open a session when I start the application.

    I can check if the incoming and outgoing server involved are logged in the Menu window > connection doctor.

    Could you explain further how to configure e-mail account in the E-mail so that it asks for a password for sending?

    This can help someone who knew better than me to suggest a Mail solution.

    21:36 Tuesday. August 23, 2016

     iMac 2.5 Ghz i5 2011 (El Capitan)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     iPhone and iPad (2)

  • e-mail account working do not mistake the e-mail server for this account does not

    One of my Gmail account does not not via Thunderbird. He worked for until our days. Get them an error message saying
    "The current operation on the Inbox doesn't have to succeed. The e-mail server of the account... responded: unknown command 34
    the e-mail server for this account in not responding do not, the unknown command...)

    I delete this email account and re-created with the same problem. The unknown command is different everytime I try to get new messages...

    See if that helps.
    https://productforums.Google.com/Forum/#! subject/gmail/KB-HRs8VGsg

    In any case, it looks more like a problem of Google, so you can also ask in a forum of Google.

  • El capitan, do not recognize the e-mail passwords

    Updated at El Capitan and now Mac mail now is not recognize my password by e-mail. Does anyone have a solution? I just changed my password Apple ID but nothing works I try.

    I'm having a similar problem. I was trying to send a Mail using my iCloud account. Requested mail pswd to other email accounts. Typed in it and I saw spinning gear that he was checking the it. Would not accept. Said that he could not check it. Mail then put my email in the Outbox.

    Closed the Mail and reopend it. Tried to send again the Outbox. New Mail asked for the pswd to other email accounts. Typed in again and got the same results.

    Check the account information for the two e-mail accounts. People with disabilities were there.

    Tried to send the pswd to the other e-mail account again and again requested Mail.

    Finally, I am connected to my iCloud online account to write and send e-mail from here. No problem.

    Do not understand what is happening here!

    Why Mail a pswd on an account that I'm not even trying to send emails from?

    With the 2011 MB air. 10.11.5 OSX

  • I do not have the same mail :(

    Hey so this is my problem, the change in my email on my desk and now CC asks me to verify my account, but I can't do that because this email does not exist anymore, and I can not enter the preferences of my log, what can I do!

    A few changes/Verify account https://forums.adobe.com/thread/1465499 links that can help

    -e-mail https://forums.adobe.com/thread/1446019

    or

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • contacts will not open the e-mail program

    On my DroidX when I open a contact and select the e-mail address he opens my email software (k9 mail) so that I can send a message.

    On my Xoom when I try exactly the same the screen just turns gray and hangs until I got hit again.

    Does anyone have an idea what is happening here?

    could be the bug of screen refresh. Try turning 90 degrees when it fades and see if you get a popup.

  • What is the e-mail form are looking for in the line of pre-fixed position Cc?

    A lot of forums, when they provide an email pro - forma, have 3 fields to fill out. In the middle of the three is the prefix of 'Cc', I don't know what that seeks, and put an end to all attempts to find out into dead ends unrelated to the query.
    'Cc' looking in its content

    Hi, if you want the email to go to an address, simply fill in the field.

    If you want a copy of the email to go to someone else as well, also provide their address in the CC (carbon copy) field - note that the original (in the field) recipient is notified that a copy has been sent to someone else.

    If you want to send a copy to someone else without knowing this about the original recipient, enter its address in the BCC (blind carbon copy) field.

    Hope that answers your question.

  • Add the date/time of sending of the e-mail form

    Is it possible to add the date and time, a form is sent in the e-mail subject or body when the sender clicks a button to send email? So what I want to do, is when they click the send e-mail button, the subject could say 'Submit form' 16/02/15 at 09:27.

    Research further and was able to reach my goal with a bit of JavaScript.

  • 'Compose SMS' blackBerry smartphones appearing is not on the e-mail options

    When I go to the application of message and click the menu button, "SMS Composer" does not appear in the list. I am able to receive text messages, but I can't answer for them either. Can someone help me?

    You are on a BES or using a BIS Service?

    If your are on a BES (receipt of professional emails on your device), the administrator can block the ability to send sms messages.

    Who stopped at the option to "compose sms".

    Silly question because she should have been the first thing that you did, but you pulled the battery with it SWITCHED ON and NOT connected to anything?

  • Thunderbird, re - install can not find the e-mail accounts in the previous drive C:\

    QUESTION; Where should I go from here?

    STORY:
    My C:\ drive (!.) TB) began to balk when after that I got a little more than 800 GB stored on it. My tech told me that the case of the machine would hold two internal HDs. We bought an extra 1 TB HD and it installed Windows essential, all the drivers and my regular backup utility so that we can make an immediate reflection of the drive on an external hard drive.

    Two internal parts carry Windows 7 64 bit, and by changing the Boot Setup, I can boot from either - no errors or red flags.

    I downloaded TB 31.0, installed on the new disc. then copied it to App Data and Application Data including all files in TB from the old HD (2 Windows user accounts) to discrete files on an external drive. From there on, I copied them into the appropriate folders for the two users on the new HD. Thunderbird will otherwise not them, even if I used each solution and tip, I learned with TB on a dozen years. I worked on number of days following, checked several similar articles on the forum and do not see a solution. (And my tech has never wanted to learn something about Tbird; nor has he had to in the past.)

    I just uninstalled Thunderbird 31.0 and deleted content under TB in App Data records (2) and (2) the Application data on the new drive C:\. I first of all confirmed that all previous data is available on the old HD and that the copy on the external drive is complete and accurate - and without any locking Windows security. Local settings on both old-reader/users folders were locked and could never access, but some TB related files were there in the past.

    What should I do? (1) install an older version of Thunderbird and hope I can marry the old files in? or (2) what can suggest you?

    Thanks in advance. EDJ.

    I solved the problem with a drawer 3 rd (not the best) solution. I put all the profiles of previous TB (with all mail folders) side; then configure new TB accounts access to Gmail and Yahoo mail.
    Once I drained all accumulated mail servers, I'll go through the old records (under the old profiles) and carefully, one at a time, move the folders that I need to keep the local folders account. That method appeared in an another related posts; practical, easy and he killed me.

Maybe you are looking for

  • Can I use an air2 iPad to sync the music on my iPod nano?

    Can I use an air2 iPad to sync the music on my iPod nano? Is ther a clot that I can use, lightning to USB, this music of sync word for my iPod nano 7th generation.

  • or HOW the signal to timer front door stop in while loop?

    Good afternoon Could someone please help. I have a project that is very basic. It performs replication of the mastermind game in labview2009 VI. I have managed to do work, but as soon as all the conditions are true my last or door sends the signal fo

  • unreadable disk

    Original CD for win xp is more readable have produced key which can make

  • WinHlp32.exe KB917607 error: the following updates were not installed.

    Original title: WinHlp32.exe for Windows 7 I have Windows 7, 64 Bit and downloaded the WinHlp32.exe - Windows6 version. 1-KB917607-x 64.msu. During the initialization of the installation, all right. When he moved, he said "the following updates were

  • Cannot read the files Works! from other sources.

    I have a Windows 7 computer and that you have installed Microsoft Works Suite 2006.  When I receive a file Works from another source, I can't open the file. He has a box that stands up and say: work could not open the selected project.  The file is p