Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
How can i validate input to stop users from add special characters like html code or any code for security wise
example:
Discussion posts and replies are publicly visible
hi mohamed,
can you please explain more about your scenario? The information are super limited.Where does somebody entering what kind of information for what purpuse exactly?
Are you talking about sail forms?
I need to prevent end user to write inputs contains tags like <script>ssl</script> on paragraph or text box , need to ignore any
tags for security wise
do you want to prevent the user from entering or do you want to clean the inserted text?Validation vs formating inserted text
Any one can be common without revisit all text and paragraph components
"without revisit all text and paragraph components "what do you mean by that? I just try to understand the requirements.The user shouldn't have to check his entries? or the designer shouldn't check his implementation for all textfields?
Mohamed Kassem said:Any one can be common without revisit all text and paragraph components
Unless you've already implemented some sort of universal text validation and/or text cleanup rule that you've used in your text fields everywhere, then i believe there isn't a solution that won't require you to go around to all your existing text fields and add it.
One technique i've seen in use that sort of gets around this is, wrapping each different component (i.e. the text field) in its own component wrapper interface, i.e. "MYSYSTEM_Component_textField()", and then only using that on other forms instead of the vanilla a!textField(). That way when a universal change is required, it can just be added to the wrapper instead of needing to edit the potential hundreds of uses elsewhere. Of course, this method has certain drawbacks as well, but in this situation would be handy.
thank you so much I will try