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
4 replies
Subscribers
7 subscribers
Views
2737 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Portal Form
mohammedi
Certified Lead Developer
over 8 years ago
Hi All,
I have worked with Tempo forms, i need edit a portal form to add a validation on number of characters in a field.
I was able to achive giving a message saying you have crossed the allowed limit, but i want to add by how much they have exceeded.
For ex:-If character limit is 20 if user enters 25 character i want you show a message you have exceeded the limit by 5 characters.
I couldn't get the entered value in validation message as window api doesn't work nor it is saving into the activity class parameter used to save in the form.
Appreciate your help.
OriginalPostID-231190
Discussion posts and replies are publicly visible
Parents
0
reginaldm377
over 8 years ago
Since I haven't dealt with portal forms, I'm not sure how implementing the logic makes it difficult, but maybe you could have something like this?
if(
len(local!test) > 20,
"You have exceeded the limit by " & len(local!test) - 20 & " characters.",
{}
)
I hope this helps, but if not, give me your information or possibly snapshots of your interface.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
reginaldm377
over 8 years ago
Since I haven't dealt with portal forms, I'm not sure how implementing the logic makes it difficult, but maybe you could have something like this?
if(
len(local!test) > 20,
"You have exceeded the limit by " & len(local!test) - 20 & " characters.",
{}
)
I hope this helps, but if not, give me your information or possibly snapshots of your interface.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data