Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Mon Nov 23, 2009 8:42 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ]  Bookmark and Share
Author Message
 Post subject: Text Field Problems
PostPosted: Thu May 14, 2009 2:17 pm 
Offline

Joined: Thu May 14, 2009 1:56 pm
Posts: 1
Hi All, first time poster. Thanks in advance for any help.

I've coded a function that runs on click on a text field which is meant for an IP address. The function makes sure that user enters only digits and dots or backspaces, and no more than two dots in a row or more than 3 digits in a row, etc.

There are two problem with this function: 1. It's impossible to use ctrl+v to paste in the field (it is possible to paste with right click and paste or via the edit->paste command)
2. if I select the entire text, it's impossible to write over it without deleting it first.

So, how can enable ctrl+v, and how can allow writing over the text?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley