Prevent pasting html and xml code

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
rpierce
Veteran Member
Posts: 285
Joined: 2018-11-26 13:55
Location: Washington State

Prevent pasting html and xml code

Post by rpierce » 2025-01-20 16:30

Hello Appgini Community,

Does anyone have a way to prevent users from pasting html, xml code into rich text fields?

Ray

rpierce
Veteran Member
Posts: 285
Joined: 2018-11-26 13:55
Location: Washington State

Re: Prevent pasting html and xml code

Post by rpierce » 2025-01-22 18:57

Anyone? I need a way to strip the extra code when users paste content into a rich text field. I can strip the tags in a php document. Is there a js means of doing it in the app?

User avatar
Marcelo Vitoria
Veteran Member
Posts: 92
Joined: 2016-10-11 12:08

Re: Prevent pasting html and xml code

Post by Marcelo Vitoria » 2025-01-24 15:41

Marcelo Vitoria
Coding since 1982 ! :geek:
Basic Sinclar - Clipper - Visual Foxpro - VB6 - PHP
AppGini 24.18 - AdminLTE - SPM
https://www.workspaceservices.com.br/eng

Post Reply