Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
5 subscribers
Views
2069 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I need to be able to check a text variable for HTML tags when our Users copy and
sswilliams
over 8 years ago
I need to be able to check a text variable for HTML tags when our Users copy and paste text into a form. I want to be able to 'strip' the HTML tags from the text variable if a User does a copy an paste, else just store the data in the text variable. I have used the following expressions and none of them seem to work:
if(contains(pv!projectDescription,"SPAN"),striphtml(pv!projectDescription),pv!projectDescription)
if(like(pv!projectDescription,"SPAN*"),striphtml(pv!projectDescription),pv!projectDescription)
if(find(pv!projectDescription,"SPAN")>0,striphtml(pv!projectDescription),pv!projectDescription)
Is there a way to check a text variable for HTML tags and strip the tags so that the data will display without the tags in the up coming forms?
OriginalPostID-204473
OriginalPostID-204473
Discussion posts and replies are publicly visible
Parents
0
Mike Schmitt
Certified Lead Developer
over 8 years ago
I think you may just need to manually check for whatever HTML tags you disallow and strip them out manually using normal text functions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Mike Schmitt
Certified Lead Developer
over 8 years ago
I think you may just need to manually check for whatever HTML tags you disallow and strip them out manually using normal text functions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data