the_oliver Posted July 18, 2007 Share Posted July 18, 2007 Hello, I was wondering if it is possible to stop people from using copy and paste to fill a text feild? Thanks! Link to comment https://forums.phpfreaks.com/topic/60546-stopping-pasting-into-a-textfeild/ Share on other sites More sharing options...
ToonMariner Posted July 18, 2007 Share Posted July 18, 2007 not with anything that can't be easily by passed with just a little browser knowledge.... Don't bother validating/restricting things client side - by all means implement it as it makes the user experience that much more pleasant - but DON'T rely on it... Link to comment https://forums.phpfreaks.com/topic/60546-stopping-pasting-into-a-textfeild/#findComment-301261 Share on other sites More sharing options...
Oldiesmann Posted July 18, 2007 Share Posted July 18, 2007 No matter what you do, there will always be a way around it, and it will only annoy and frustrate your users. Link to comment https://forums.phpfreaks.com/topic/60546-stopping-pasting-into-a-textfeild/#findComment-301336 Share on other sites More sharing options...
the_oliver Posted July 18, 2007 Author Share Posted July 18, 2007 Its not realy a security thing. I just would need them to type into the feild rather then pasting in. So as to avoid strange charictors creaping in! - Ta! Link to comment https://forums.phpfreaks.com/topic/60546-stopping-pasting-into-a-textfeild/#findComment-301456 Share on other sites More sharing options...
ToonMariner Posted July 18, 2007 Share Posted July 18, 2007 use htmlentities to encode the 'strange characters' Link to comment https://forums.phpfreaks.com/topic/60546-stopping-pasting-into-a-textfeild/#findComment-301588 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.